-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpage.tsx
46 lines (43 loc) · 1.93 KB
/
page.tsx
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
import Output from "@/components/home/Output";
import UserInput from "@/components/home/UserInput";
import AnimatedGradientText from "@/components/magicui/animated-gradient-text";
import { BioProvider } from "@/context/BioContext";
import { ChevronRight, Star } from "lucide-react";
import { Metadata } from "next";
import Link from "next/link";
export const metadata: Metadata = {
title: "AI Twitter Bio Generator Built using Next.js",
description:
"Generate your perfect Twitter bio with the help of AI. Just answer a few questions and let our AI craft a bio that truly represents you.",
};
export default function Home() {
return (
<main className="relative grid grid-cols-1 slg:grid-cols-2 gap-12 px-4 py-12 sm:py-16 sm:px-8 md:px-10 slg:p-16 lg:p-24">
<div className="col-span-full group w-full flx flex-col items-center justify-center space-y-2 sm:space-y-4 mb-4 text-center">
<Link
href="https://github.com/codebucks27/AI-Powered-Twitter-Bio-Generator"
target="_blank"
className=""
>
<AnimatedGradientText className="px-6 py-2 rounded-full">
<Star className="w-6 h-6 fill-yellow-300 text-yellow-400" />
<hr className="mx-2 h-4 w-[1px] bg-gray-300" />
Star on Github
<ChevronRight className="ml-1 size-3 transition-transform duration-300 ease-in-out group-hover:translate-x-0.5" />
</AnimatedGradientText>
</Link>
<h1 className="font-extrabold text-4xl md:text-5xl slg:text-6xl lg:text-7xl text-center w-full lg:w-[90%] uppercase mx-auto pt-4">
CRAFT THE PERFECT TWITTER BIO IN SECONDS!
</h1>
<p className=" text-sm sm:text-base md:text-lg text-accent">
Just answer a few questions, and we'll generate a bio that captures
who you are.
</p>
</div>
<BioProvider>
<UserInput />
<Output />
</BioProvider>
</main>
);
}