-
-
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.
- Loading branch information
Showing
12 changed files
with
193 additions
and
73 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
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 |
---|---|---|
@@ -1,5 +1,16 @@ | ||
|
||
body { | ||
background-color: aliceblue; | ||
background: #000; | ||
scrollbar-width: none; | ||
} | ||
|
||
body::-webkit-scrollbar { | ||
display: none; | ||
|
||
} | ||
|
||
|
||
|
||
.right{ | ||
display: none; | ||
} |
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,45 @@ | ||
import { useState } from 'react'; | ||
import { Link } from 'react-router-dom'; | ||
|
||
/* eslint-disable react/button-has-type */ | ||
export default function Landing({ onProjectTypeChange }) { | ||
const [projectType, setProjectType] = useState(null); | ||
|
||
const handleSelection = (type) => { | ||
setProjectType(type); | ||
onProjectTypeChange(type); // Call the function passed from the parent component | ||
}; | ||
|
||
return ( | ||
<div | ||
className=" text-center p-6 w-[80%] my-[100px] h-[600px] mx-auto flex flex-col justify-center items-center border-dashed border border-[#876EE6] m-auto rounded-3xl" | ||
style={{ fontFamily: 'Gilroy', background: 'rgba(255, 255, 255, 0.08)' }} | ||
> | ||
<h1 className="text-4xl mb-6 text-white ">Select Project Type</h1> | ||
<div className="flex gap-5"> | ||
<Link | ||
to="/flow" | ||
onClick={() => handleSelection(1)} | ||
className=" text-white py-2 px-5 text-lg" | ||
style={{ | ||
borderRadius: '20px', | ||
background: 'linear-gradient(90deg, #876EE6 0%, #3E5FAA 100%)', | ||
}} | ||
> | ||
Make Nodes Myself | ||
</Link> | ||
<Link | ||
to="/flow" | ||
onClick={() => handleSelection(0)} | ||
className=" text-white py-2 px-5 text-lg" | ||
style={{ | ||
borderRadius: '20px', | ||
background: 'linear-gradient(90deg, #876EE6 0%, #3E5FAA 100%)', | ||
}} | ||
> | ||
Use PreMade Nodes | ||
</Link> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
function Theme() { | ||
return ( | ||
<> | ||
<div | ||
style={{ | ||
top: '-50%', | ||
left: '0%', | ||
zIndex: '-1', | ||
borderRadius: '1431px', | ||
background: 'rgba(62, 95, 170, 0.25)', | ||
filter: 'blur(250px)', | ||
}} | ||
className="absolute h-full w-full overflow-hidden" | ||
/> | ||
|
||
<div | ||
style={{ | ||
bottom: '0%', | ||
left: '20%', | ||
zIndex: '-1', | ||
borderRadius: '665px', | ||
background: 'rgba(36, 0, 136, 0.22)', | ||
filter: 'blur(250px)', | ||
}} | ||
className="absolute h-64 w-9/12 overflow-hidden" | ||
/> | ||
</> | ||
); | ||
} | ||
|
||
export default Theme; |