-
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.
- Loading branch information
1 parent
9b21cb9
commit feed720
Showing
13 changed files
with
165 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
:root { | ||
--background-gradient: linear-gradient(315deg, #2b4162 0%, #12100e 74%); | ||
} |
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
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,66 @@ | ||
import GithHub_logo from "../assets/GitHub_logo.png"; | ||
import GitHub_mark from "../assets/github-mark.png"; | ||
import { Link } from "react-router-dom"; | ||
|
||
export default function NavBar() { | ||
return ( | ||
<> | ||
<nav className="bg-gray-900 p-4 z-10 fixed top-0 w-full"> | ||
<div className="flex justify-between items-center"> | ||
<Link | ||
to="/" | ||
className="flex-start text-lg font-bold text-white sm:hidden italic" | ||
> | ||
Jr | ||
</Link> | ||
<a | ||
href="/" | ||
className="text-lg font-bold text-white hidden sm:inline italic" | ||
> | ||
Jr Generator | ||
</a> | ||
<ul className="flex space-x-4"> | ||
<li> | ||
<a href="#" className="text-white hover:text-blue-500"> | ||
Home | ||
</a> | ||
</li> | ||
<li> | ||
<a href="#" className="text-white hover:text-blue-500"> | ||
About | ||
</a> | ||
</li> | ||
<li> | ||
<a href="#" className="text-white hover:text-blue-500"> | ||
Services | ||
</a> | ||
</li> | ||
<li> | ||
<a href="#" className="text-white hover:text-blue-500"> | ||
Contact | ||
</a> | ||
</li> | ||
<li> | ||
<div className="flex items-center space-x-2"> | ||
<Link | ||
to="https://github.com/sheninthjr/Automatic-Question-Generator" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<img src={GitHub_mark} alt="GitHub" width="25" height="30" /> | ||
</Link> | ||
<Link | ||
to="https://github.com/sheninthjr/Automatic-Question-Generator" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<img src={GithHub_logo} alt="GitHub" width="50" height="30" /> | ||
</Link> | ||
</div> | ||
</li> | ||
</ul> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,50 @@ | ||
import { Link } from "react-router-dom"; | ||
|
||
export function LandingPage() { | ||
return ( | ||
<div className="mt-40 text-white relative z-10 flex"> | ||
<div className="w-2/3 p-4"> | ||
<div className="flex flex-col space-y-4"> | ||
<div className="text-5xl italic"> | ||
<h1>Automatic Question Paper Generator</h1> | ||
</div> | ||
<div className="text-xl italic space-y-4"> | ||
<p>Upload the Question</p> | ||
<p>Whenever needed, it will be automatically generated</p> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
export function LandingPage(){ | ||
return(<> | ||
hi | ||
</>) | ||
} | ||
<div className="w-1/3 bg-gray-700 p-4 rounded-xl mr-10"> | ||
<h2 className="text-2xl text-white font-bold mb-4 italic">Info</h2> | ||
<form className="flex flex-col space-y-5"> | ||
<div className="flex flex-col space-y-4"> | ||
<p>Do you want to post Question?</p> | ||
<Link to="/post"> | ||
<button className="bg-white border2 border rounded-lg w-20 h-10 text-black"> | ||
POST | ||
</button> | ||
</Link> | ||
</div> | ||
<div className="flex flex-col space-y-4"> | ||
<p>Do you want to Get Question Paper?</p> | ||
<Link to="/get"> | ||
<button className="bg-white border2 border rounded-lg w-20 h-10 text-black"> | ||
GET | ||
</button> | ||
</Link> | ||
</div> | ||
<div className="flex flex-col space-y-4"> | ||
<p>Do you have any Queries?</p> | ||
<Link to="/query"> | ||
<button className="bg-white border2 border rounded-lg w-20 h-10 text-black"> | ||
Query | ||
</button> | ||
</Link> | ||
</div> | ||
<div></div> | ||
</form> | ||
</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
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