-
Notifications
You must be signed in to change notification settings - Fork 1
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 #40 from GamerC0der/signupui
Signup Page
- Loading branch information
Showing
10 changed files
with
4,008 additions
and
243 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,13 +1,22 @@ | ||
import Image from "next/image" | ||
import Image from "next/image"; | ||
|
||
export function Title() { | ||
return ( | ||
<div className="flex flex-col items-center text-5xl pt-9"> | ||
<p className="pt-9">your very own</p> | ||
<Image src="logo.svg" alt="logo" width={600} height={600} className="pt-9" /> | ||
<p className="pt-9">to code in</p> | ||
<p className="pt-9 text-lg max-w-[40rem] text-center">hack together games, websites, tools, and more, in a web editor, with all the comforts of local dev. made by hack clubbers, for hack clubbers.</p> | ||
<p className="pt-9 text-2xl font-bold">Coming Soon.</p> | ||
</div> | ||
) | ||
} | ||
return ( | ||
<div className="flex flex-col items-center text-5xl pt-9"> | ||
<p className="pt-9">your very own</p> | ||
<Image | ||
src="logo.svg" | ||
alt="logo" | ||
width={600} | ||
height={600} | ||
className="pt-9" | ||
/> | ||
<p className="pt-9">to code in</p> | ||
<p className="pt-9 text-lg max-w-[40rem] text-center"> | ||
hack together games, websites, tools, and more, in a web editor, with | ||
all the comforts of local dev. made by hack clubbers, for hack clubbers. | ||
</p> | ||
<p className="pt-9 text-2xl font-bold">Coming Soon.</p> | ||
</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 |
---|---|---|
|
@@ -3,5 +3,5 @@ | |
@tailwind utilities; | ||
|
||
:root { | ||
background-color: #0B0A18; | ||
} | ||
background-color: #0b0a18; | ||
} |
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,95 @@ | ||
"use client"; | ||
|
||
import Image from "next/image"; | ||
import { IBM_Plex_Mono } from "next/font/google"; | ||
import DatePicker from "react-datepicker"; | ||
import "react-datepicker/dist/react-datepicker.css"; | ||
import { useState } from "react"; | ||
|
||
const font = IBM_Plex_Mono({ weight: "500", subsets: ["latin"] }); | ||
|
||
export default function Home() { | ||
const [startDate, setStartDate] = useState<Date | null>(null); | ||
|
||
return ( | ||
<div className={`h-screen w-screen ${font.className} flex`}> | ||
<div className="w-1/2 relative"> | ||
<Image | ||
src="/bg.svg" | ||
alt="dots background" | ||
className="w-full h-full object-cover" | ||
fill | ||
/> | ||
</div> | ||
<div className="w-1/2 bg-[#0B0A18] relative flex flex-col items-center justify-center px-8"> | ||
<div className="w-full text-white text-6xl font-semibold mb-8"> | ||
Sign Up | ||
</div> | ||
<div className="w-full flex justify-between mb-8"> | ||
<button className="bg-[#007A5A] text-white py-4 px-12 text-xl rounded-md focus:outline-none transform transition-all duration-300 hover:bg-[#005a42] hover:scale-105 hover:shadow-lg"> | ||
Login with Slack | ||
</button> | ||
<button className="bg-[#333] text-white py-4 px-12 text-xl rounded-md focus:outline-none transform transition-all duration-300 hover:bg-[#444] hover:scale-105 hover:shadow-lg"> | ||
Login with GitHub | ||
</button> | ||
</div> | ||
<div className="w-full flex items-center mb-8"> | ||
<div className="flex-grow h-px bg-white"></div> | ||
<p className="mx-4 text-white"> OR </p> | ||
<div className="flex-grow h-px bg-white"></div> | ||
</div> | ||
<form className="w-full max-w-lg space-y-4"> | ||
<div className="flex items-center space-x-2"> | ||
<p className="text-white text-xl">{">"}</p> | ||
<input | ||
type="text" | ||
id="username" | ||
name="username" | ||
className="w-full p-4 text-white bg-transparent border-2 border-gray-600 rounded-md focus:outline-none focus:ring-2 focus:ring-green-300" | ||
placeholder="Username" | ||
/> | ||
</div> | ||
<div className="flex items-center space-x-2"> | ||
<p className="text-white text-xl">{">"}</p> | ||
<input | ||
type="email" | ||
id="email" | ||
name="email" | ||
className="w-full p-4 text-white bg-transparent border-2 border-gray-600 rounded-md focus:outline-none focus:ring-2 focus:ring-green-300" | ||
placeholder="Email" | ||
/> | ||
</div> | ||
<div className="flex items-center space-x-2"> | ||
<p className="text-white text-xl">{">"}</p> | ||
<input | ||
type="password" | ||
id="password" | ||
name="password" | ||
className="w-full p-4 text-white bg-transparent border-2 border-gray-600 rounded-md focus:outline-none focus:ring-2 focus:ring-green-300" | ||
placeholder="Password" | ||
/> | ||
</div> | ||
<div className="flex items-center space-x-2"> | ||
<p className="text-white text-xl">{">"}</p> | ||
<DatePicker | ||
selected={startDate} | ||
onChange={(date: Date | null) => setStartDate(date)} | ||
className="w-full p-4 text-white bg-transparent border-2 border-gray-600 rounded-md focus:outline-none focus:ring-2 focus:ring-green-300" | ||
placeholderText="Birthdate" | ||
calendarClassName="react-datepicker__calendar" | ||
wrapperClassName="w-full" | ||
popperPlacement="bottom" | ||
/> | ||
</div> | ||
<button | ||
type="submit" | ||
className="w-full bg-green-500 text-white py-3 text-lg rounded-md hover:bg-green-400 focus:outline-none transform transition-all duration-300 hover:scale-105 hover:shadow-lg" | ||
> | ||
Sign Up | ||
</button> | ||
</form> | ||
</div> | ||
<div className="absolute left-1/2 top-0 h-full border-l-4 border-green-800"></div> | ||
</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.