Skip to content

Commit ca7bcbd

Browse files
committed
feat: delete unused files and make ui more clean
1 parent 7fe4196 commit ca7bcbd

25 files changed

+114
-1176
lines changed

β€Žsrc/components/common/footer.tsxβ€Ž

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

β€Žsrc/components/common/header.tsxβ€Ž

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

β€Žsrc/components/footer.tsxβ€Ž

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { Heart } from '@/components/icons/heart'
2+
3+
export const Footer = () => {
4+
return (
5+
<footer className='absolute bottom-0 left-0 w-full p-6'>
6+
<div className='flex items-center space-x-3 text-gray-400'>
7+
<div className='h-6 w-6 opacity-50'>
8+
<Heart />
9+
</div>
10+
<p className='text-sm'>crafted with care and dedication.</p>
11+
</div>
12+
</footer>
13+
)
14+
}

β€Žsrc/components/header.tsxβ€Ž

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
import Link from 'next/link'
2+
import { Github } from 'lucide-react'
3+
4+
import { Kinotio } from '@/components/icons/kinotio'
5+
import { Discord } from '@/components/icons/discord'
6+
7+
import { DATA } from '@/data'
8+
9+
export const Header = () => {
10+
return (
11+
<header className='fixed top-0 left-0 right-0 z-10 bg-opacity-90 backdrop-blur-sm'>
12+
<div className='container mx-auto px-4 py-4 flex items-center justify-between'>
13+
<Link href='/' className='flex items-center space-x-2'>
14+
<Kinotio width={150} height={100} />
15+
</Link>
16+
<nav className='flex items-center space-x-6'>
17+
<Link href='/docs' className='text-gray-300 hover:text-white transition-colors'>
18+
Docs
19+
</Link>
20+
<Link
21+
href={DATA.social_url.discord}
22+
className='text-gray-300 hover:text-white transition-colors'
23+
>
24+
<Discord className='h-6 w-6' />
25+
<span className='sr-only'>Discord</span>
26+
</Link>
27+
<Link
28+
href={DATA.social_url.github}
29+
className='text-gray-300 hover:text-white transition-colors'
30+
>
31+
<Github className='h-6 w-6' />
32+
<span className='sr-only'>GitHub</span>
33+
</Link>
34+
</nav>
35+
</div>
36+
</header>
37+
)
38+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
export const Discord = (props: React.ComponentProps<'svg'>): React.ReactElement => {
2+
return (
3+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 127.14 96.36' {...props}>
4+
<path
5+
fill='currentColor'
6+
d='M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z'
7+
/>
8+
</svg>
9+
)
10+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export const Heart = (props: React.ComponentProps<'svg'>): React.ReactElement => {
2+
return (
3+
<svg viewBox='0 0 24 24' fill='currentColor' {...props}>
4+
<path d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z' />
5+
</svg>
6+
)
7+
}

β€Žsrc/components/sections/faq.tsxβ€Ž

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

β€Žsrc/components/sections/hero.tsxβ€Ž

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

0 commit comments

Comments
Β (0)