Skip to content

Commit 2f446cf

Browse files
authored
feat: design qa (#37)
* feat: delete article * feat: author name * feat: thumbnail * feat: dark mode * feat: header only main page * feat: detail * feat: delete header
1 parent 4244a1f commit 2f446cf

File tree

16 files changed

+29
-116
lines changed

16 files changed

+29
-116
lines changed

app/_components/blog/index.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ export default async function BlogList() {
88
// const tags = [...new Set(allTags)].filter((tag) => tag !== undefined);
99

1010
return (
11-
<div className="pt-20 min-h-screen bg-black px-4">
11+
<div className="pt-20 min-h-screen bg-white dark:bg-black px-4">
1212
<div className="max-w-2xl mx-auto flex-col gap-6 flex">
13-
<h1 className="text-3xl text-white font-oceanic">Blog</h1>
13+
<h1 className="text-3xl dark:text-white text-gray-900 font-oceanic">Blog</h1>
1414

1515
{/* Todo: Category Tag */}
1616
{/* <div className="flex w-full flex-wrap gap-2">
@@ -24,20 +24,21 @@ export default async function BlogList() {
2424
const { title, date, tags, author } = frontMatter;
2525
return (
2626
<Link
27-
href={`/blog/${route}`}
27+
href={`/blog${route}`}
28+
target="_blank"
2829
key={route}
29-
className="group flex w-full hover:bg-white/20 duration-300 transition-all cursor-pointer flex-col gap-2 rounded-xl border-gray-700 p-4"
30+
className="group flex w-full hover:bg-black/10 dark:hover:bg-white/20 duration-300 transition-all cursor-pointer flex-col gap-2 rounded-xl border-gray-700 p-4"
3031
>
31-
<h1 className="h-16 text-2xl font-medium text-zinc-50">
32+
<h1 className="h-16 text-2xl font-medium text-zinc-800 dark:text-zinc-50">
3233
{title}
3334
</h1>
3435
<div className="flex w-full items-center justify-between">
35-
<div className="flex gap-1 text-base text-gray-300">
36+
<div className="flex gap-1 text-base text-gray-400 dark:text-gray-300">
3637
<p>{date}</p>
3738
<p></p>
3839
<p>{author}</p>
3940
</div>
40-
<div className="w-fit rounded-full bg-gray-800 px-2 py-1 text-xs text-gray-400 border-[0.5px] border-gray-600">
41+
<div className="w-fit rounded-full bg-gray-100 dark:bg-gray-800 px-2 py-1 text-xs text-gray-400 border-[0.5px] border-gray-300 dark:border-gray-600">
4142
# {tags}
4243
</div>
4344
</div>

app/_components/home/LatestArticles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default async function LatestArticles() {
1414
<div className="mx-auto flex w-full max-w-[1440px] flex-col gap-10 px-4 py-40 md:max-h-screen md:px-10">
1515
<div className="flex items-center justify-between">
1616
<h3 className="text-[32px] text-[#071414]">Latest articles</h3>
17-
<Link href="/blog" className="flex items-center gap-7 text-[#002424]">
17+
<Link href="/blog" target="_blank" className="flex items-center gap-7 text-[#002424]">
1818
View All <ArrowRightIcon size={24} />
1919
</Link>
2020
</div>

app/_components/home/Roadmap.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ export default function Roadmap() {
2828
</Link>
2929
</div>
3030

31-
<div className="flex w-full flex-col gap-4 drop-shadow-[0_0_100px_rgba(134,255,217,0.40)] md:w-auto">
31+
<div className="flex w-full max-w-[646px] flex-col gap-4 drop-shadow-[0_0_100px_rgba(134,255,217,0.40)] md:w-auto">
3232
{ROADMAP.map(({ title, keywords, className, itemClassName }) => (
3333
<div
3434
key={title}
3535
className={`flex w-full flex-row gap-2 rounded-2xl p-3.5 md:w-[646px] md:rounded-[20px] overflow-scroll ${className}`}
3636
>
37-
<h3 className="flex items-center flex-1 justify-center text-center text-lg md:text-[22px] whitespace-pre-line">
37+
<h3 className="flex items-center min-w-32 flex-1 justify-center text-center text-lg md:text-[22px] whitespace-pre-line">
3838
{title}
3939
</h3>
4040
<div className="flex flex-row gap-2">

app/blog/[[...mdxPath]]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default async function BlogDetailPage(props: any) {
2828
if (Object.keys(params).length === 0) return <BlogList />;
2929

3030
return (
31-
<Layout nextThemes={{ forcedTheme: "dark" }}>
31+
<Layout>
3232
<div className="pt-20">
3333
<Wrapper toc={toc} metadata={filteredMetadata}>
3434
<MDXContent {...props} params={params} />

app/layout.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import { Head } from "nextra/components";
33
import type { Metadata } from "next";
44
import Footer from "./_components/layout/Footer";
5-
import Header from "./_components/layout/Header";
65
import ToastProvider from "./_providers/ToastProvider";
76
import "./globals.css";
87

@@ -21,7 +20,6 @@ export default function RootLayout({
2120
<html lang="en" suppressHydrationWarning>
2221
<Head />
2322
<body>
24-
<Header />
2523
<main>{children}</main>
2624
<Footer />
2725
<ToastProvider />

app/page.tsx

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,21 @@ import Roadmap from "./_components/home/Roadmap";
55
import Service from "./_components/home/Service";
66
import OpenSource from "./_components/home/OpenSource";
77
import Banner from "./_components/common/Banner";
8+
import Header from "./_components/layout/Header";
89

910
export default function Home() {
1011
return (
11-
<div className="flex flex-col items-center bg-white">
12-
<Welcome />
13-
<HowItWorks />
14-
<Service />
15-
<OpenSource />
16-
<Roadmap />
17-
<LatestArticles />
18-
<Banner />
19-
</div>
12+
<>
13+
<Header />
14+
<div className="flex flex-col items-center bg-white">
15+
<Welcome />
16+
<HowItWorks />
17+
<Service />
18+
<OpenSource />
19+
<Roadmap />
20+
<LatestArticles />
21+
<Banner />
22+
</div>
23+
</>
2024
);
2125
}

content/come-and-join-us-in-the-playground.mdx

Lines changed: 0 additions & 34 deletions
This file was deleted.

content/meet-our-new-member.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Meet Our New member : User Interview Agent"
33
date: "2025-03-28"
44
tags:
55
- Team News
6-
author: Owen Seo
6+
author: Owen
77
thumbnail: "/contents/meet-our-new-member/thumbnail.png"
88
---
99

@@ -31,7 +31,7 @@ But what if we could leverage AI technology to bring the conversational depth an
3131

3232
<hr />
3333

34-
Real Thoughts Emerge Through Conversations
34+
# Real Thoughts Emerge Through Conversations
3535

3636
<video controls>
3737
<source src="/contents/meet-our-new-member/3.mp4" type="video/mp4" />
@@ -59,7 +59,7 @@ Of course, due to the nature of Large Language Models (LLMs), prompts are not re
5959

6060
<hr />
6161

62-
Organizing Insights Through AI Agents
62+
# Organizing Insights Through AI Agents
6363

6464
<video controls>
6565
<source src="/contents/meet-our-new-member/5.mp4" type="video/mp4" />

content/the-journey-of-building-a-cs-refund-agent.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: The Journey of Building a CS Refund Agent
33
date: "2025-03-28"
44
tags:
55
- Team News
6-
author: Leo Ko
6+
author: Leo
77
thumbnail: "/contents/the-journey-of-building-a-cs-refund-agent/thumbnail.png"
88
---
99

content/welcome-to-open-labs-for-business-ai-agents.mdx

Lines changed: 0 additions & 56 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Loading
Binary file not shown.

0 commit comments

Comments
 (0)