Skip to content

Commit 9592cbf

Browse files
committed
chore: unconscious commit 🐋
1 parent 8421f06 commit 9592cbf

File tree

6 files changed

+599
-60
lines changed

6 files changed

+599
-60
lines changed

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"fumadocs-ui": "15.7.10",
1616
"lucide-react": "^0.542.0",
1717
"next": "15.5.2",
18+
"ogl": "^1.0.11",
1819
"react": "catalog:",
1920
"react-dom": "catalog:",
2021
"sharp": "^0.34.3"

docs/src/app/[lang]/(home)/page.tsx

Lines changed: 17 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
import {
22
ArrowRight,
33
Code2,
4-
GithubIcon,
54
Layers,
65
MapPin,
76
Package,
87
StarIcon,
98
} from 'lucide-react';
9+
1010
import Image from 'next/image';
1111
import Link from 'next/link';
12-
import { TerminalCodeBlock } from '@/components/terminal-codeblock';
12+
import Prism from '@/lib/components/bits/prism';
13+
import { ResourceCards } from '@/lib/components/resource-cards';
14+
import { TerminalCodeBlock } from '@/lib/components/terminal-codeblock';
1315

1416
const getStarCount = async (): Promise<number | undefined> => {
1517
try {
@@ -61,10 +63,19 @@ export default async function HomePage({
6163

6264
return (
6365
<main className="flex min-h-[calc(100vh-3.5rem)] flex-col">
66+
<div className={'absolute-fill dark:opacity-100 opacity-60'}>
67+
<Prism
68+
animationType={'rotate'}
69+
scale={1}
70+
offset={{ y: 120 }}
71+
noise={0}
72+
hueShift={0.7}
73+
/>
74+
</div>
6475
{/* Hero Section */}
6576
<section className="relative flex flex-col items-center justify-center px-6 py-32 text-center">
6677
<div className="absolute inset-0 -z-10">
67-
<div className="absolute inset-0 bg-gradient-to-b from-green-500/10 via-transparent to-transparent" />
78+
<div className="absolute inset-0 bg-gradient-to-b from-green-500/50 dark:from-green-500/20 via-transparent to-transparent" />
6879
<div className="absolute inset-0 bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] from-green-500/20 via-transparent to-transparent" />
6980
</div>
7081

@@ -73,11 +84,11 @@ export default async function HomePage({
7384
src="/logo.png"
7485
width={200}
7586
height={200}
76-
className="relative z-10 drop-shadow-xl transition-transform duration-300 hover:scale-105 drop-shadow-orange-400 dark:drop-shadow-blue-400"
87+
className="relative z-10 drop-shadow-xl transition-transform duration-300 hover:scale-105 drop-shadow-slate-100 dark:drop-shadow-slate-50"
7788
/>
7889

7990
<h1 className="mb-6 text-5xl font-bold tracking-tight md:text-6xl lg:text-7xl">
80-
<span className="bg-gradient-to-r from-green-600 to-green-500 bg-clip-text text-transparent">
91+
<span className=" dark:text-shadow-neutral-200 dark:text-shadow-lg bg-gradient-to-r from-green-600 to-green-500 bg-clip-text text-transparent">
8192
Naver Map
8293
</span>
8394
<span className="block mt-2 text-2xl text-fd-muted-foreground md:text-3xl lg:text-4xl font-normal">
@@ -229,61 +240,7 @@ export default async function HomePage({
229240
</section>
230241

231242
{/* Resources Section */}
232-
<section className="px-6 py-16">
233-
<div className="mx-auto max-w-6xl">
234-
<h2 className="mb-12 text-center text-3xl font-bold">Explore More</h2>
235-
<div className="grid gap-6 md:grid-cols-2 lg:grid-cols-4">
236-
<Link
237-
href={`/${lang}/docs`}
238-
className="group rounded-lg border border-fd-border bg-fd-card p-6 transition-all hover:border-fd-primary/50 hover:bg-fd-muted/50"
239-
>
240-
<h3 className="font-semibold group-hover:text-fd-primary">
241-
Documentation
242-
</h3>
243-
<p className="text-sm text-fd-muted-foreground">
244-
Complete API reference and guides
245-
</p>
246-
</Link>
247-
<Link
248-
href={`/${lang}/docs/examples`}
249-
className="group rounded-lg border border-fd-border bg-fd-card p-6 transition-all hover:border-fd-primary/50 hover:bg-fd-muted/50"
250-
>
251-
<h3 className="font-semibold group-hover:text-fd-primary">
252-
Examples
253-
</h3>
254-
<p className="text-sm text-fd-muted-foreground">
255-
Sample implementations and demos
256-
</p>
257-
</Link>
258-
<a
259-
href="https://navermaps.github.io/ios-map-sdk/guide-ko/"
260-
target="_blank"
261-
rel="noopener noreferrer"
262-
className="group rounded-lg border border-fd-border bg-fd-card p-6 transition-all hover:border-fd-primary/50 hover:bg-fd-muted/50"
263-
>
264-
<h3 className="font-semibold group-hover:text-fd-primary">
265-
iOS SDK
266-
</h3>
267-
<p className="text-sm text-fd-muted-foreground">
268-
Native iOS documentation
269-
</p>
270-
</a>
271-
<a
272-
href="https://navermaps.github.io/android-map-sdk/guide-ko/"
273-
target="_blank"
274-
rel="noopener noreferrer"
275-
className="group rounded-lg border border-fd-border bg-fd-card p-6 transition-all hover:border-fd-primary/50 hover:bg-fd-muted/50"
276-
>
277-
<h3 className="font-semibold group-hover:text-fd-primary">
278-
Android SDK
279-
</h3>
280-
<p className="text-sm text-fd-muted-foreground">
281-
Native Android documentation
282-
</p>
283-
</a>
284-
</div>
285-
</div>
286-
</section>
243+
<ResourceCards lang={lang} />
287244
</main>
288245
);
289246
}

0 commit comments

Comments
 (0)