-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathHero.tsx
More file actions
58 lines (53 loc) · 2.05 KB
/
Hero.tsx
File metadata and controls
58 lines (53 loc) · 2.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import { url } from '@/components/utils/URLs';
import { Button } from '../../ui/button';
import { buttonVariants } from '../../ui/button';
import { HeroCards } from './HeroCards';
import { GitHubLogoIcon } from '@radix-ui/react-icons';
import { AnimatedGlow } from '@/components/utils/AnimatedGlow';
export const Hero = () => {
return (
<section className="container grid lg:grid-cols-2 place-items-center py-20 md:py-32 gap-10">
<div className="text-center lg:text-start space-y-6">
<main className="text-5xl md:text-6xl font-bold">
<h1 className="inline">
<span className="inline bg-gradient-to-r from-[#61DAFB] to-[#1fc0f1] text-transparent bg-clip-text">
CCSync
</span>{' '}
- the hosted solution
</h1>{' '}
for syncing with all your{' '}
<h2 className="inline">
<span className="inline bg-gradient-to-r from-[#F596D3] to-[#D247BF] text-transparent bg-clip-text">
Taskwarrior
</span>{' '}
clients
</h2>
</main>
<p className="text-xl text-muted-foreground md:w-10/12 mx-auto lg:mx-0">
Effortlessly sync your tasks across all your TaskWarrior clients
</p>
<div className="space-y-4 md:space-y-0 md:space-x-4">
<a href={url.backendURL + 'auth/oauth'}>
<Button className="w-full md:w-1/3 bg-blue-400 hover:bg-blue-500">
Sign in to get started
</Button>
</a>
<a
href={url.githubRepoURL}
target="_blank"
className={`w-full md:w-1/3 ${buttonVariants({
variant: 'outline',
})}`}
>
Github Repository
<GitHubLogoIcon className="ml-2 w-5 h-5" />
</a>
</div>
</div>
<div className="z-10">
<HeroCards />
</div>
<AnimatedGlow className="absolute top-[200px] w-[300px] h-[400px] lg:w-[400px] lg:h-[400px] md:top-[150px] md:w-[200px] md:h-[300px]" />
</section>
);
};