Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: search engine optimizations #16

Merged
merged 3 commits into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,28 @@ const lora = Lora({ subsets: ['latin'] });

export const metadata: Metadata = {
title: "Jesse's Digital Garden",
description: 'A collection of expertly built programming projects.',
description: 'An open source web dev portfolio',
openGraph: {
title: "Jesse's Digital Garden",
description: 'An open source web dev portfolio',
url: 'https://digital-garden-steez.vercel.app/',
siteName: "Jesse's Digital Garden",
images: [
{
url: './primry.jpg',
width: 800,
height: 600,
},
{
url: './primary.jpg',
width: 1800,
height: 1600,
alt: 'Image of neon light tubes',
},
],
locale: 'en_US',
type: 'website',
},
};

export default function RootLayout({ children }: { children: React.ReactNode }) {
Expand Down
10 changes: 10 additions & 0 deletions app/robots.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { MetadataRoute } from 'next';

export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: '*',
allow: '/',
},
};
}