-
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 landing page and login/sign up page interface (#3)
* landing page finished but requires performance optimization * Optimized 3D renders for landing and home page, reducing loading time
- Loading branch information
1 parent
2aa08f1
commit c201d95
Showing
26 changed files
with
239 additions
and
126 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,89 @@ | ||
"use client"; | ||
|
||
import Spline from "@splinetool/react-spline"; | ||
import { useState } from "react"; | ||
import Head from "next/head"; | ||
import { Suspense } from "react"; | ||
|
||
const Page = () => { | ||
const [email, setEmail] = useState(""); | ||
const [password, setPassword] = useState(""); | ||
|
||
const handleSubmit = (e: any) => { | ||
e.preventDefault(); | ||
}; | ||
|
||
return ( | ||
<> | ||
<Head> | ||
<link | ||
rel="preconnect" | ||
href="https://prod.spline.design" | ||
crossOrigin="anonymous" | ||
/> | ||
<link | ||
rel="preload" | ||
href="https://draft.spline.design/T7tCI0NsyUBMwcXM/scene.splinecode" | ||
as="fetch" | ||
crossOrigin="anonymous" | ||
/> | ||
</Head> | ||
<div className="bg-black w-screen h-screen"> | ||
<Spline | ||
className="w-screen h-screen fixed" | ||
scene="https://draft.spline.design/T7tCI0NsyUBMwcXM/scene.splinecode" | ||
/> | ||
|
||
<form | ||
onSubmit={handleSubmit} | ||
className="fixed top-48 left-[525px] max-w-md mx-auto p-4" | ||
> | ||
<div className="mb-4"> | ||
<label | ||
htmlFor="email" | ||
className="block text-sm font-medium text-white font-custom" | ||
> | ||
Email: | ||
</label> | ||
<input | ||
type="email" | ||
id="email" | ||
name="email" | ||
value={email} | ||
onChange={(e) => setEmail(e.target.value)} | ||
required | ||
className="mt-1 p-2 block w-fill border border-gray-300 rounded-md shadow-sm text-black font-custom" | ||
/> | ||
</div> | ||
|
||
<div className="mb-4"> | ||
<label | ||
htmlFor="password" | ||
className="block text-sm font-medium text-white font-custom" | ||
> | ||
Password: | ||
</label> | ||
<input | ||
type="password" | ||
id="password" | ||
name="password" | ||
value={password} | ||
onChange={(e) => setPassword(e.target.value)} | ||
required | ||
className="mt-1 p-2 block w-full border border-gray-300 rounded-md shadow-sm text-black font-custom" | ||
/> | ||
</div> | ||
|
||
<button | ||
type="submit" | ||
className="w-full bg-violet-950 text-white p-2 rounded-md hover:bg-purple-300 font-custom" | ||
> | ||
Submit | ||
</button> | ||
</form> | ||
</div> | ||
</> | ||
); | ||
}; | ||
|
||
export default Page; |
Oops, something went wrong.