-
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
1 parent
0636655
commit c152972
Showing
6 changed files
with
83 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,7 @@ | |
] | ||
}, | ||
"devDependencies": { | ||
"react-scripts": "^5.0.1" | ||
"react-scripts": "^5.0.1", | ||
"tailwindcss": "^3.3.5" | ||
} | ||
} |
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,62 @@ | ||
import React from 'react'; | ||
import capLogo from './Images/logo.svg' | ||
import rightimg from './Images/Right-img.svg' | ||
const menuLinks = [ | ||
{ name: "How it works", link: "#works" }, | ||
{ name: "Features", link: "#features" }, | ||
{ name: "About Us", link: "#about" }, | ||
{ name: "Login", link: "#loginpage" }, | ||
]; | ||
const Navbar = () => { | ||
return ( | ||
<> | ||
<nav> | ||
<div className="flex items-center justify-between"> | ||
<div className="mx-7"> | ||
<img src={capLogo} ></img> | ||
|
||
</div> | ||
<div> | ||
<ul className="flex items-center gap-1 py-2 text-lg"> | ||
{menuLinks?.map((menu, i) => ( | ||
<li key={i} className="px-6 hover:text-[#FCC822]"> | ||
<a href={menu?.link}>{menu?.name}</a> | ||
</li> | ||
))} | ||
</ul> | ||
</div> | ||
<div | ||
|
||
> | ||
|
||
</div> | ||
<div> | ||
|
||
</div> | ||
</div> | ||
</nav> | ||
<div className='main'> | ||
<div className='container'> | ||
|
||
<h4 className="text-4xl font-bold"> | ||
Learn <span className="text-cyan-600"> | ||
<br/></span> | ||
<span>New concepts | ||
</span><br/> | ||
for each question | ||
</h4> | ||
<p>We help you prepare for exams and quizes</p> | ||
<div className='Btn-container'> | ||
<button className='mt-8 w-28 h-12 bg-[#FCC822]'>Start Solving</button> | ||
<img src={rightimg}></img> | ||
|
||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
</> | ||
); | ||
} | ||
|
||
export default Navbar; |
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,11 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
module.exports = { | ||
content: [ | ||
"./src/**/*.{js,jsx,ts,tsx}", | ||
], | ||
theme: { | ||
extend: {}, | ||
}, | ||
plugins: [], | ||
} | ||
|