Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css" integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>Vite + React</title>
</head>
<body>
Expand Down
11 changes: 8 additions & 3 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
import "./App.css";

import React from "react";
import Home from "./pages/Home/Home";
// import Home from "./pages/Home/Home";
import { Navbar } from "./components/Navbar/Navbar";
import Maintenance from "./pages/Maintenance/Maintenance";

const App = () => {
return (
<Home />
// <Maintenance/>
<>
{/* <Home /> */}
<Navbar />
<Maintenance/>
</>
);
};

Expand Down
4 changes: 2 additions & 2 deletions src/components/Navbar/Navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ li {
} */

.navbar {
height: 70px;
height: 10vh;
display: flex;
justify-content: center;
align-items: center;
Expand Down Expand Up @@ -106,7 +106,7 @@ li {
.nav-menu{
flex-direction: column;
position: fixed;
top:70px;
top:10vh;
right: -100%;
gap:0;
background-color: rgb(45, 45, 45);
Expand Down
155 changes: 155 additions & 0 deletions src/pages/Maintenance/Maintenance.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
.main {
position: absolute;
width: 100vw;
height: 90vh;
text-align: center;
background: rgb(19, 16, 16);
background: linear-gradient(180deg, rgba(19, 16, 16, 1) 1%, rgba(45, 44, 45, 0.9640231092436975) 96%);
padding: 10vh 0;
}

.section1 {
font-size: 70px;
line-height: 70px;
font-weight: bold;
}

p {
padding-top: 30px;
padding-bottom: 20px;
font-size: 11px;
letter-spacing: 7px;
}

.mbar {
margin: 0 auto;
width: 32vw;
height: 1.4vh;
display: flex;
}
.red{
width: 9vw;
height: 1.4vh;
background-color:red;
}
.white{
width: 32vw;
height: 1.4vh;
background-color: white;
}

.range {
width: 32vw;
margin: 2px auto;
display: flex;
justify-content: space-between;
}

.notify {
margin: 40px
}

.notify a {

background-color: rgb(3, 82, 179);
color: white;
font-weight: 500;
padding: 8px 25px;
}

.notify a:hover {
background-color: rgb(1, 230, 255);
color: black;
}

.social {
width: 25vw;
margin: 0 auto;
margin-top: 80px;
display: flex;
justify-content: space-between;
}

.social a {
border-radius: 50%;
border: 2px solid white;
font-size: 18px;
padding: 10px 15px;

}

.social a:hover {
background-color: rgb(210, 0, 0);
}

@media(max-width:961px){
.range {
width: 50vw;
}.mbar {
width: 50vw;
}
.social {
width: 40vw;
}
.red{
width: 10vw;
}
.white{
width: 50vw;
}
}

@media(max-width:595px){
.section1{
font-size: 55px;
line-height: 55px;
}
p {
font-size: 11px;
letter-spacing: 5px;
}

.range {
width: 55vw;
}.mbar {
width: 55vw;
}
.social {
width: 65vw;
}
.red{
width: 12vw;
}
.white{
width: 55vw;
}
}
@media(max-width:455px){
.section1{
font-size: 42px;
line-height: 44px;
}
p {
font-size: 11px;
letter-spacing: 5px;
}

.range {
width: 70vw;
}.mbar {
width: 70vw;
}
.social {
width: 65vw;
margin: 0 auto;
margin-top: 80px;
display: flex;
justify-content: space-around;
}
}
@media(max-width:340px){
.section1{
font-size: 30px;
line-height: 32px;
}
}
36 changes: 35 additions & 1 deletion src/pages/Maintenance/Maintenance.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,41 @@
import React from "react";
import "./Maintenance.css"

const Maintenance = () => {
return <div>Maintenance</div>;
return (
<>
<div className="main ">

<div className="section1">
UNDER <br />
CONSTRUCTION
</div>

<div className="section2">
<p>SITE NEARLY READY</p>
<div className="mbar">
<div className="red"></div>
<div className="white"></div>
</div>
<div className="range">
<div>0%</div>
<div>100%</div>
</div>
<div className="notify">
<a href="#">Notify Me!</a>
</div>
</div>

<div className="social">
<a href="#"><i className="fa fa-brands fa-facebook-f">&nbsp;</i></a>
<a href="#"><i className="fa fa-brands fa-linkedin-in"></i></a>
<a href="#"><i className="fa fa-brands fa-instagram"></i></a>
<a href="#"><i className="fa fa-brands fa-twitter"></i></a>
</div>

</div>
</>
)
};

export default Maintenance;