-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b418101
commit b1413af
Showing
17 changed files
with
481 additions
and
293 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
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 |
---|---|---|
|
@@ -22,4 +22,3 @@ export async function GET(req) { | |
); | ||
} | ||
} | ||
|
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,8 +1,6 @@ | ||
import React from 'react' | ||
import BracketForm from '../../../components/BracketForm' | ||
import React from "react"; | ||
import BracketForm from "../../../components/BracketForm"; | ||
|
||
export default function Page() { | ||
return ( | ||
<BracketForm /> | ||
) | ||
return <BracketForm />; | ||
} |
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,20 +1,23 @@ | ||
import TournamentBracket from "../../components/TournamentBracket"; | ||
import React from "react" | ||
import React from "react"; | ||
import BracketList from "../../components/BracketList"; | ||
import { buttonVariants } from "../../components/ui/button" | ||
import { buttonVariants } from "../../components/ui/button"; | ||
import Link from "next/link"; | ||
|
||
const BracketPage = () => { | ||
return ( | ||
<div className="min-h-[70vh] px-7"> | ||
<div className="border-b pb-4 px-4 flex"> | ||
<Link href="/bracket/create" className={`ml-auto ${buttonVariants({ variant: "default" })}`}> | ||
Create a bracket | ||
</Link> | ||
</div> | ||
<BracketList /> | ||
</div> | ||
); | ||
return ( | ||
<div className="min-h-[70vh] px-7"> | ||
<div className="border-b pb-4 px-4 flex"> | ||
<Link | ||
href="/bracket/create" | ||
className={`ml-auto ${buttonVariants({ variant: "default" })}`} | ||
> | ||
Create a bracket | ||
</Link> | ||
</div> | ||
<BracketList /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default BracketPage; |
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,83 +1,13 @@ | ||
"use client"; | ||
|
||
import { Card, CardContent } from "../../@/components/ui/card"; | ||
import { Input } from "../../@/components/ui/input"; | ||
import { Label } from "../../@/components/ui/label"; | ||
import { Textarea } from "../../@/components/ui/textarea"; | ||
import { Button } from "../../@/components/ui/button"; | ||
|
||
const contactdetails = [ | ||
{ | ||
title: "Email", | ||
content: "[email protected]", | ||
}, | ||
{ | ||
title: "Phone", | ||
content: "+1 (800) 123 XX21", | ||
}, | ||
{ | ||
title: "Support", | ||
content: "[email protected]", | ||
}, | ||
]; | ||
import ContactLeftComp from "../../components/Contatct/Contact-left"; | ||
import ContactRightComp from "../../components/Contatct/Contact-right"; | ||
|
||
export default function ContactPage() { | ||
return ( | ||
<div className="min-h-[70vh] grid md:grid-cols-2 gap-10 items-center justify-center pt-10 px-10 lg:px-[5%] xl:px-[15%] transition-all"> | ||
<div className="flex flex-col items-start gap-10"> | ||
<div className="flex flex-col gap-4"> | ||
<h1 className="text-4xl font-medium tracking-tight transition-all"> | ||
Contact us | ||
</h1> | ||
|
||
<h6 className="text-foreground/80 max-w-md tracking-tight"> | ||
We are always looking for ways to improve our products and services. | ||
Contact us and let us know how we can help you. | ||
</h6> | ||
</div> | ||
|
||
<div className="flex flex-col gap-4"> | ||
{contactdetails.map((item, idx) => ( | ||
<div key={idx} className=""> | ||
<h1 className="">{item.title}</h1> | ||
<p className="text-sm text-foreground/80">{item.content}</p> | ||
</div> | ||
))} | ||
</div> | ||
</div> | ||
|
||
<div className="w-full flex flex-col items-center lg:p-10"> | ||
<Card className="w-full p-5"> | ||
<CardContent className="w-full md:py-5"> | ||
<form className="flex flex-col gap-10"> | ||
<div> | ||
<Label>Full Name</Label> | ||
|
||
<Input className="mt-2" /> | ||
</div> | ||
|
||
<div> | ||
<Label>Email Address</Label> | ||
|
||
<Input className="mt-2" /> | ||
</div> | ||
|
||
<div> | ||
<Label>Message</Label> | ||
|
||
<Textarea rows={3} className="mt-2" /> | ||
</div> | ||
|
||
<Button | ||
// variant="outline" | ||
className="w-1/3" | ||
> | ||
Submit | ||
</Button> | ||
</form> | ||
</CardContent> | ||
</Card> | ||
</div> | ||
<div className=" w-11/12 mx-auto border border-neutral-700 rounded-sm flex flex-row justify-evenly md:max-w-7xl"> | ||
<ContactLeftComp className={"hidden sm:block md:w-1/2"} /> | ||
<ContactRightComp className={"w-full md:w-1/2"} /> | ||
</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
Oops, something went wrong.