Skip to content

Commit

Permalink
FEAT: homepage done
Browse files Browse the repository at this point in the history
  • Loading branch information
anisharaz committed Aug 15, 2024
1 parent c206037 commit 5667077
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 8 deletions.
34 changes: 34 additions & 0 deletions app/HomePage/HomePage.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
"use client";

import Link from "next/link";

function HomePage() {
return (
<div className="flex flex-col items-center gap-8 pt-20">
<div className="flex flex-col items-center">
<div className="lg:text-6xl md:text-4xl text-2xl text-center p-2">
Create Solana Blink
<span className="text-sky-500 font-bold"> Without Code </span> &
<span className="text-sky-500 font-bold"> Deployment Hassle </span>
</div>
<div className="lg:text-2xl lg:mt-2 md:text-xl text-md max-w-[80%] text-gray-400 text-center">
Create, Edit & and share link any where which can unfurl blink
</div>
</div>
<Link
href={"/dashboard/"}
className="text-white bg-gradient-to-r from-cyan-500 to-blue-500 hover:bg-gradient-to-bl focus:ring-4 focus:outline-none focus:ring-cyan-300 dark:focus:ring-cyan-800 font-medium rounded-lg text-sm px-5 py-2.5 text-center me-2 mb-2"
>
Get Started
</Link>
<video
src="https://static.aaraz.me/preview.mp4"
autoPlay={true}
muted
className="rounded-3xl p-2"
/>
</div>
);
}

export default HomePage;
5 changes: 0 additions & 5 deletions app/HomePage/main.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions app/dashboard/account/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ async function AccountPage() {
<div>
<div className="flex justify-between items-center p-4">
<div>
{user_db?.premium ? (
{/* {user_db?.premium ? (
<div className="text-xl font-bold">Welcome Back !!</div>
) : (
<Button className="text-black bg-gradient-to-tr from-amber-200 to-amber-500 hover:shadow-md hover:shadow-amber-500">
Get Premium
</Button>
)}
)} */}
</div>
<div>
<LogoutButton />
Expand Down
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import HomePage from "./HomePage/main";
import HomePage from "./HomePage/HomePage";

function Root() {
return (
Expand Down

0 comments on commit 5667077

Please sign in to comment.