Skip to content

Commit

Permalink
feat: update SEO stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
mrevanzak committed Aug 1, 2024
1 parent 3cdfbe7 commit 8834fd4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Binary file added apps/web/public/images/og.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions apps/web/src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ export const metadata: Metadata = {
title: siteConfig.title,
description: siteConfig.description,
siteName: siteConfig.title,
images: [`${siteConfig.url}/images/og.jpg`],
images: [`${siteConfig.url}/images/og.png`],
type: "website",
locale: "en_US",
},
twitter: {
card: "summary_large_image",
title: siteConfig.title,
description: siteConfig.description,
images: [`${siteConfig.url}/images/og.jpg`],
images: [`${siteConfig.url}/images/og.png`],
},
authors: [
{
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/constant/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { env } from "@/env";
export const siteConfig = {
title: "Tanya.in",
description:
"Chatbot apps for ITS students to ask for internal campus information.",
"Chatbot apps for ITS students to ask for internal academic information.",
/** Without additional '/' on the end, e.g. https://theodorusclarence.com */
url: env.VERCEL_URL ? `https://${env.VERCEL_URL}` : "http://localhost:3000",
};
2 changes: 1 addition & 1 deletion apps/web/src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ export default auth((req) => {

// Read more: https://nextjs.org/docs/app/building-your-application/routing/middleware#matcher
export const config = {
matcher: ["/((?!api|_next/static|_next/image|favicon).*)"],
matcher: ["/((?!api|_next/static|_next/images|favicon).*)"],
};

0 comments on commit 8834fd4

Please sign in to comment.