chore: base seo

This commit is contained in:
Aslam H
2024-10-08 16:59:23 +07:00
parent bd1ba3bdba
commit a14dd60dc5
2 changed files with 10 additions and 2 deletions

View File

@@ -15,8 +15,8 @@ export const seo = ({
{ name: "keywords", content: keywords },
{ name: "twitter:title", content: title },
{ name: "twitter:description", content: description },
{ name: "twitter:creator", content: "@tannerlinsley" },
{ name: "twitter:site", content: "@tannerlinsley" },
{ name: "twitter:creator", content: "@LearnAnything_" },
{ name: "twitter:site", content: "@LearnAnything_" },
{ name: "og:type", content: "website" },
{ name: "og:title", content: title },
{ name: "og:description", content: description },

View File

@@ -17,6 +17,7 @@ import {
import * as React from "react"
import { DefaultCatchBoundary } from "~/components/DefaultCatchBoundary.js"
import { NotFound } from "~/components/NotFound.js"
import { seo } from "~/lib/utils/seo"
import appCss from "~/styles/app.css?url"
export const TanStackRouterDevtools =
@@ -55,6 +56,13 @@ export const Route = createRootRouteWithContext<{
name: "viewport",
content: "width=device-width, initial-scale=1",
},
...seo({
title: "Learn Anything",
description:
"Discover and learn about any topic with Learn-Anything. Our free, comprehensive platform connects you to the best resources for every subject. Start learning today!",
keywords:
"learn anything, online learning, free education, educational resources, self-study, knowledge discovery, topic exploration, skill development, lifelong learning",
}),
],
links: () => [
{ rel: "stylesheet", href: appCss },