Skip to content

Commit 8505c12

Browse files
authored
docs: Change logo asset clean, support light mode (#4)
1 parent e2ae98f commit 8505c12

12 files changed

+16
-9
lines changed
26 KB
Loading
141 KB
Loading

docs/public/apple-touch-icon.png

23.2 KB
Loading

docs/public/favicon-16x16.png

705 Bytes
Loading

docs/public/favicon-32x32.png

1.73 KB
Loading

docs/public/favicon.ico

15 KB
Binary file not shown.

docs/public/logo.png

397 KB
Loading

docs/public/site.webmanifest

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}

docs/src/components/HomePage.tsx

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,17 @@ export const HomePage = ({
1515
return (
1616
<div className="pb-20 mx-auto max-w-[70rem]">
1717
<div className="flex flex-col items-center justify-center gap-12 pt-16 text-center">
18-
<Image src="/logo.png" alt="" width={200} height={200} className="-mb-4" />
18+
<Image src="/logo.png" alt="" width={200} height={200} className="-mb-8" />
1919
<div className="flex flex-col items-center gap-4">
2020
<div className="relative text-6xl font-bold">
2121
<span>{title}</span>
2222
</div>
2323
<p className="text-3xl">{description}</p>
2424
</div>
2525
<Link href="/docs/overview">
26-
<span className="inline-block rounded-xl bg-gray-800 px-10 py-3 text-xl font-bold">{buttonText}</span>
26+
<span className="inline-block rounded-xl nx-bg-gray-200 dark:nx-bg-neutral-800 px-10 py-3 text-xl font-bold">
27+
{buttonText}
28+
</span>
2729
</Link>
2830
</div>
2931
<div className="flex flex-col items-start justify-between gap-8 md:flex-row mt-28">

docs/src/components/Keyword.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export function Keyword({ children: keyword }: { children: keyof typeof keywords
2929
data-tooltip-content={keywords[keyword][router.locale as 'ko' | 'en']}
3030
data-tooltip-place="top"
3131
data-tooltip-delay-show={300}
32-
className="keyword-tooltip font-bold bg-transparent text-white underline underline-offset-4 decoration-4 decoration-slate-600 cursor-help"
32+
className="keyword-tooltip font-bold bg-transparent text-current underline underline-offset-4 decoration-[3px] decoration-slate-600 cursor-help"
3333
>
3434
{keyword}
3535
</mark>

docs/src/pages/index.ko.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "@use-funnel"
2+
title: "@use-funnel: 강력하고 안전한 단계별 상태 관리 라이브러리"
33
---
44

55
import { HomePage } from '@/components'

docs/theme.config.tsx

+9-5
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,15 @@ const config: DocsThemeConfig = {
2323
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
2424
<meta property="og:title" content={title || '@use-funnel'} />
2525
<meta property="og:url" content={url} />
26-
<meta property="og:description" content={frontMatter.description || '@use-funnel'} />
26+
<meta
27+
property="og:description"
28+
content={
29+
frontMatter.description ||
30+
(locale === 'ko'
31+
? '강력하고 안전한 단계별 상태 관리 라이브러리'
32+
: 'Powerful and safe step-by-step state management library')
33+
}
34+
/>
2735
<meta property="og:image" content="/logo.png" />
2836
<link rel="icon" href="/favicon.ico" type="image/ico" />
2937
</>
@@ -78,10 +86,6 @@ const config: DocsThemeConfig = {
7886
footer: {
7987
text: 'MIT 2024 © Viva Republica, Inc.',
8088
},
81-
darkMode: false,
82-
nextThemes: {
83-
forcedTheme: 'dark',
84-
},
8589
};
8690

8791
export default config;

0 commit comments

Comments
 (0)