Skip to content

Commit

Permalink
feat(ui): add /ai (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
duyet authored Jun 23, 2024
2 parents 3e47e99 + 68a55d4 commit 27a1cdb
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 1 deletion.
11 changes: 11 additions & 0 deletions apps/blog/app/ai/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import Header from '@duyet/components/Header';
import * as React from 'react';

export default function Layout({ children }: { children: React.ReactNode }) {
return (
<>
<Header />
{children}
</>
);
}
24 changes: 24 additions & 0 deletions apps/blog/app/ai/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import Container from '@duyet/components/Container';

export const metadata = {
title: 'AI',
description: 'How I use AI.',
};

export default function AI() {
return (
<div className="mb-16 space-y-6 leading-loose">
<Container className="mb-8 max-w-2xl md:mb-16">
<h1 className="my-10 text-6xl font-bold lg:text-7xl">AI</h1>
<p>
None of the contents in my blog was written by an AI tool. I have used
AI for English sentences correction, ChatGPT and Claude 3.
</p>

<p>
I use different LLM tools for coding, mostly Github Copilot + NeoVim.
</p>
</Container>
</div>
);
}
2 changes: 1 addition & 1 deletion packages/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const navigation = {
name: "Rust Tiếng Việt (Book)",
href: "https://rust-tieng-viet.github.io/?utm_source=blog&utm_medium=footer&utm_campaign=rust_tieng_viet",
},
{ name: "pageview.js", href: "https://pageview.duyet.net" },
{ name: "/ai", href: `${BLOG_URL}/ai` },
{ name: "/archives", href: `${BLOG_URL}/archives` },
{ name: "/insights", href: INSIGHTS_URL },
],
Expand Down

3 comments on commit 27a1cdb

@vercel
Copy link

@vercel vercel bot commented on 27a1cdb Jun 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

insights – ./apps/insights

insights-git-master-duyet-team.vercel.app
duyet-insights.vercel.app
insights-duyet-team.vercel.app
insights.duyet.net

@vercel
Copy link

@vercel vercel bot commented on 27a1cdb Jun 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

blog – ./apps/blog

blog-duyet-team.vercel.app
blog-git-master-duyet-team.vercel.app
duyet.vercel.app
blog.duyet.net

@vercel
Copy link

@vercel vercel bot commented on 27a1cdb Jun 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

cv – ./apps/cv

cv-git-master-duyet-team.vercel.app
cv-duyet-team.vercel.app
duyet-cv.vercel.app
cv.duyet.net

Please sign in to comment.