-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
54 changed files
with
2,885 additions
and
1,626 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
## Blogi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
import { Authors, allAuthors } from 'contentlayer/generated' | ||
import { MDXLayoutRenderer } from 'pliny/mdx-components' | ||
import type { Authors } from 'contentlayer/generated' | ||
import AuthorLayout from '@/layouts/AuthorLayout' | ||
import { coreContent } from 'pliny/utils/contentlayer' | ||
import { genPageMetadata } from 'app/seo' | ||
import { allAuthors } from 'contentlayer/generated' | ||
import { MDXLayoutRenderer } from 'pliny/mdx-components' | ||
import { coreContent } from 'pliny/utils/contentlayer' | ||
|
||
export const metadata = genPageMetadata({ title: 'About' }) | ||
|
||
export default function Page() { | ||
const author = allAuthors.find((p) => p.slug === 'default') as Authors | ||
const author = allAuthors.find(p => p.slug === 'default') as Authors | ||
const mainContent = coreContent(author) | ||
|
||
return ( | ||
<> | ||
<AuthorLayout content={mainContent}> | ||
<MDXLayoutRenderer code={author.body.code} /> | ||
</AuthorLayout> | ||
</> | ||
|
||
<AuthorLayout content={mainContent}> | ||
<MDXLayoutRenderer code={author.body.code} /> | ||
</AuthorLayout> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
import { NewsletterAPI } from 'pliny/newsletter' | ||
import siteMetadata from '@/data/siteMetadata' | ||
import { NewsletterAPI } from 'pliny/newsletter' | ||
|
||
const handler = NewsletterAPI({ | ||
// @ts-ignore | ||
provider: siteMetadata.newsletter.provider, | ||
provider: siteMetadata.newsletter!.provider, | ||
}) | ||
|
||
export { handler as GET, handler as POST } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
import projectsData from '@/data/projectsData' | ||
import Card from '@/components/Card' | ||
import projectsData from '@/data/projectsData' | ||
import { genPageMetadata } from 'app/seo' | ||
|
||
export const metadata = genPageMetadata({ title: 'Projects' }) | ||
|
||
export default function Projects() { | ||
return ( | ||
<> | ||
<div className="divide-y divide-gray-200 dark:divide-gray-700"> | ||
<div className="space-y-2 pb-8 pt-6 md:space-y-5"> | ||
<h1 className="text-3xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl sm:leading-10 md:text-6xl md:leading-14"> | ||
Projects | ||
</h1> | ||
<p className="text-lg leading-7 text-gray-500 dark:text-gray-400"> | ||
Showcase your projects with a hero image (16 x 9) | ||
</p> | ||
</div> | ||
<div className="container py-12"> | ||
<div className="-m-4 flex flex-wrap"> | ||
{projectsData.map((d) => ( | ||
<Card | ||
key={d.title} | ||
title={d.title} | ||
description={d.description} | ||
imgSrc={d.imgSrc} | ||
href={d.href} | ||
/> | ||
))} | ||
</div> | ||
|
||
<div className="divide-y divide-gray-200 dark:divide-gray-700"> | ||
<div className="space-y-2 pb-8 pt-6 md:space-y-5"> | ||
<h1 className="text-3xl font-extrabold leading-9 tracking-tight text-gray-900 dark:text-gray-100 sm:text-4xl sm:leading-10 md:text-6xl md:leading-14"> | ||
Projects | ||
</h1> | ||
<p className="text-lg leading-7 text-gray-500 dark:text-gray-400"> | ||
Showcase your projects with a hero image (16 x 9) | ||
</p> | ||
</div> | ||
<div className="container py-12"> | ||
<div className="-m-4 flex flex-wrap"> | ||
{projectsData.map(d => ( | ||
<Card | ||
key={d.title} | ||
title={d.title} | ||
description={d.description} | ||
imgSrc={d.imgSrc} | ||
href={d.href} | ||
/> | ||
))} | ||
</div> | ||
</div> | ||
</> | ||
</div> | ||
|
||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.