-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from hubcio2115/feat/homepage
Created Homepage
- Loading branch information
Showing
11 changed files
with
139 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,57 @@ | ||
import Image from "next/image"; | ||
|
||
import Footer from "~/components/footer"; | ||
import Navbar from "~/components/navbar"; | ||
import PremiumPricingCard from "~/components/premiumPricingCard"; | ||
import StandardPricingCard from "~/components/standardPricingCard"; | ||
|
||
export default function Home() { | ||
return ( | ||
<div className="flex min-h-screen flex-col gap-4"> | ||
<div className="flex min-h-screen flex-col"> | ||
<Navbar /> | ||
|
||
<div className="mx-auto flex gap-10"> | ||
<div className="bg-[url('/wiggle.svg')] py-24"> | ||
<div className="mx-auto flex max-w-3xl flex-col gap-4"> | ||
<h1 className="text-center text-4xl font-semibold"> | ||
Colaborate with your editors on your uploads without the stress of | ||
bad actors. | ||
</h1> | ||
|
||
<p className="text-center text-xl"> | ||
A Git like colaboration platform for YouTubers and Freelance Video | ||
Editors. | ||
</p> | ||
</div> | ||
</div> | ||
|
||
<div className="flex justify-center gap-32 py-24"> | ||
<div className="my-auto flex max-w-3xl flex-col gap-4"> | ||
<h1 className="text-center text-4xl font-semibold"> | ||
No longer you have to trade security over funcitonality and | ||
flexibility. | ||
</h1> | ||
|
||
<p className="text-center text-xl"> | ||
YouTube gives too much access to the editors event at the minimal | ||
access rights! | ||
</p> | ||
</div> | ||
|
||
<div className="max-w-3xl"> | ||
<Image | ||
src="/img/invite_google_modal.png" | ||
width={1200} | ||
height={1200} | ||
alt="youtube invite modal" | ||
/> | ||
</div> | ||
</div> | ||
|
||
<div className="min-w-screen mt-10 flex justify-center gap-10 bg-[url('/wiggle.svg')] py-24 "> | ||
<StandardPricingCard /> | ||
<PremiumPricingCard /> | ||
</div> | ||
<Footer /> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { Monitor, Moon, Sun } from "lucide-react"; | ||
|
||
import { Toggle } from "./ui/toggle"; | ||
|
||
export default function Footer() { | ||
return ( | ||
<nav className="flex items-center justify-between border-t border-slate-300 bg-slate-200 p-2"> | ||
<h1 className="text-l font-bold text-gray-900"> | ||
©2023 <span className="text-fuchsia-900">Edit</span> | ||
thing | ||
</h1> | ||
<div className="mr-3 flex"> | ||
<Toggle size="sm" className="mr-1"> | ||
<Moon size={16} /> | ||
</Toggle> | ||
<Toggle size="sm" className="mr-1"> | ||
<Sun size={16} /> | ||
</Toggle> | ||
<Toggle size="sm" className="mr-1"> | ||
<Monitor size={16} /> | ||
</Toggle> | ||
</div> | ||
</nav> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
"use client"; | ||
|
||
import * as TogglePrimitive from "@radix-ui/react-toggle"; | ||
import { type VariantProps, cva } from "class-variance-authority"; | ||
import { | ||
type ComponentPropsWithoutRef, | ||
type ElementRef, | ||
forwardRef, | ||
} from "react"; | ||
|
||
import { cn } from "~/lib/utils"; | ||
|
||
const toggleVariants = cva( | ||
"inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground", | ||
{ | ||
variants: { | ||
variant: { | ||
default: "bg-transparent", | ||
outline: | ||
"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground", | ||
}, | ||
size: { | ||
default: "h-10 px-3", | ||
sm: "h-9 px-2.5", | ||
lg: "h-11 px-5", | ||
}, | ||
}, | ||
defaultVariants: { | ||
variant: "default", | ||
size: "default", | ||
}, | ||
}, | ||
); | ||
|
||
const Toggle = forwardRef< | ||
ElementRef<typeof TogglePrimitive.Root>, | ||
ComponentPropsWithoutRef<typeof TogglePrimitive.Root> & | ||
VariantProps<typeof toggleVariants> | ||
>(({ className, variant, size, ...props }, ref) => ( | ||
<TogglePrimitive.Root | ||
ref={ref} | ||
className={cn(toggleVariants({ variant, size, className }))} | ||
{...props} | ||
/> | ||
)); | ||
|
||
Toggle.displayName = TogglePrimitive.Root.displayName; | ||
|
||
export { Toggle, toggleVariants }; |