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
5 changes: 4 additions & 1 deletion client/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@ import CodeEditorPage from "../src/Components/CodeEditor/CodeEditorPage";
import Navbar from "./Components/common/Navbar";
import './Components/Styles/Navbar.css'
import Footer from "./Components/common/Footer";
import close from "./images/close.png";


function App() {
const[showSidebar, setShowSidebar] = useState(false)
return (
<div>
<div className={`sidebar-${showSidebar?'show':'hide'}`}>
<div className="SidebarObject">
<div onClick={()=>setShowSidebar(!showSidebar)} > <span className="close">close</span> </div>
<div onClick={()=>setShowSidebar(!showSidebar)} ><img src={close} className="closeImg" alt="" /> </div>
<div><span className="Home">Home</span></div>
<div><span className="Home">Login</span></div>
<div><span className="Home">Ques</span></div>
</div>
</div>
Expand Down
35 changes: 18 additions & 17 deletions client/src/Components/Styles/LandingPage.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@


.content {
display: flex;
align-items: center;
Expand All @@ -20,44 +18,47 @@
.home {
padding: 10px;
font-size: 1rem;
background:linear-gradient(45deg, transparent, #eb36e2);;
/* background:linear-gradient(45deg, transparent, #eb36e2); */
background-image: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb);
color: #fff;
text-decoration: none;
border: none;
border-radius: 5px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 0 5px rgb(131, 125, 227), 0 0 10px rgb(124, 124, 224);
}
.Login {
padding: 10px;
font-size: 1rem;
background:linear-gradient(45deg, transparent, #ee31c8);
/* background:linear-gradient(45deg, transparent, #ee31c8); */
background-image: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb);
color: #fff;
text-decoration: none;
border: none;
border-radius: 5px;
border-radius: 12px;
box-shadow: 0 0 5px rgb(131, 125, 227), 0 0 10px rgb(124, 124, 224);
}

.home:hover {
background-color: #333;
box-shadow: 0 0 5px rgb(239, 138, 239), 0 0 10px rgb(209, 111, 229),
0 0 25px rgb(226, 104, 237), 0 0 50px rgb(225, 116, 214);
box-shadow: 0 0 5px rgb(80, 76, 134), 0 0 10px rgb(96, 96, 228),
0 0 25px rgb(74, 132, 224);
color: white;
}

.Login:hover {
background-color: #333;
box-shadow: 0 0 5px rgb(209, 107, 227), 0 0 10px rgb(191, 88, 205),
0 0 25px rgb(199, 123, 220), 0 0 50px rgb(157, 75, 180);
box-shadow: 0 0 5px rgb(80, 76, 134), 0 0 10px rgb(96, 96, 228),
0 0 25px rgb(74, 132, 224);
color: white;
}

.start-coding-button {
margin-top: 50px;
padding: 15px 25px;
font-size: 1.5rem;
background-color: #007bff;
/* background-color: #007bff; */
background-image: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb);
color: #fff;
text-decoration: none;
border: none;
Expand All @@ -72,7 +73,7 @@
box-shadow: 0 0 5px rgb(128, 162, 229), 0 0 10px rgb(127, 127, 238),
0 0 25px rgb(123, 123, 220), 0 0 50px rgb(109, 156, 252);
}
.image{
.image {
width: 70rem;
}
.start {
Expand All @@ -81,7 +82,7 @@
align-items: flex-start;
margin-left: 2.5rem;
}
.start > p{
.start > p {
font-size: 3.5rem;
font-weight: bolder;
}
Expand All @@ -100,7 +101,7 @@
}

@media screen and (max-width: 600px) {
.home__txt{
.home__txt {
font-size: 2.3rem;
}
.content {
Expand All @@ -116,7 +117,7 @@
text-align: center;
margin-left: 0;
}
.start > p{
.start > p {
font-size: 2.4rem;
}
.start-coding-button {
Expand Down
6 changes: 6 additions & 0 deletions client/src/Components/Styles/Navbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,9 @@ header{
}
}

.closeImg{
width: 30px;
position: absolute;
top: 40px;
left: 40px;
}