-
Notifications
You must be signed in to change notification settings - Fork 3
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
4 changed files
with
117 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import "./styles.css"; | ||
|
||
import Header from "../src/components/header"; | ||
export default function App() { | ||
return ( | ||
<div className="App"> | ||
|
||
<Header /> | ||
</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,30 @@ | ||
import React from "react"; | ||
import "../styles.css"; | ||
function header() { | ||
return ( | ||
<div className="headerMain"> | ||
<img src="https://i.ibb.co/fpgM7Qw/masterji.png" alt="logo"></img> | ||
<h1 className="logoName">E MASTARJI</h1> | ||
<div className="headButtons"> | ||
<ul> | ||
<li> | ||
<button>Home</button> | ||
</li> | ||
<li> | ||
<button>Schedule</button> | ||
</li> | ||
<li> | ||
<button>Live Classes</button> | ||
</li> | ||
<li> | ||
<button>Notes</button> | ||
</li> | ||
</ul> | ||
</div> | ||
<button className="loginBtn">LOGIN</button> | ||
<button className="loginBtn2">SIGN UP</button> | ||
</div> | ||
); | ||
} | ||
|
||
export default header; |
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,4 +1,87 @@ | ||
.App { | ||
font-family: sans-serif; | ||
.headerMain { | ||
width: 1440px; | ||
height: 70px; | ||
background-color: transparent; | ||
display: flex; | ||
align-items: center; | ||
box-shadow: 5px 4px 5px 0.1px grey; | ||
} | ||
.headerMain img { | ||
height: 60px; | ||
margin-left: 20px; | ||
margin-top: 10px; | ||
} | ||
.logoName { | ||
display: inline-block; | ||
margin-top: 10px; | ||
font-size: 1.5em; | ||
margin-block-start: 0px; | ||
margin-block-end: 0em; | ||
margin-inline-start: 10px; | ||
margin-inline-end: 0px; | ||
text-align: center; | ||
font-weight: bold; | ||
} | ||
|
||
.headButtons ul { | ||
display: inline; | ||
list-style-type: disc; | ||
margin-block-start: 1em; | ||
margin-block-end: 1em; | ||
margin-inline-start: 0px; | ||
margin-inline-end: 0px; | ||
padding-inline-start: 0px; | ||
} | ||
.headButtons li { | ||
list-style: none; | ||
background: transparent; | ||
display: inline; | ||
padding-left: 30px; | ||
} | ||
.headButtons button:hover { | ||
color: #f9d923; | ||
} | ||
.headButtons button { | ||
border-style: none; | ||
background-color: transparent; | ||
color: black; | ||
font-weight: 1000; | ||
font-size: large; | ||
} | ||
.headButtons { | ||
margin-left: 350px; | ||
|
||
display: inline; | ||
} | ||
.loginBtn { | ||
border-style: none; | ||
border-radius: 6px; | ||
background-color: #ffd24c; | ||
color: black; | ||
padding: 8px 15px 8px 15px; | ||
font-size: small; | ||
display: inline; | ||
margin-left: 100px; | ||
margin-top: 0px; | ||
} | ||
.loginBtn:hover { | ||
color: white; | ||
font-weight: bolder; | ||
background-color: green; | ||
} | ||
.loginBtn2 { | ||
border-style: none; | ||
border-radius: 6px; | ||
background-color: #ffd24c; | ||
color: black; | ||
padding: 8px 15px 8px 15px; | ||
font-size: small; | ||
display: inline; | ||
margin-left: 10px; | ||
margin-top: 0px; | ||
} | ||
.loginBtn2:hover { | ||
color: white; | ||
font-weight: bolder; | ||
background-color: green; | ||
} |