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
2 changes: 2 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import logo from './logo.svg';
import './App.css';
import 'semantic-ui-css/semantic.min.css'
import './Pages/Contribute/Init/Init.css';
import { BrowserRouter as Router, Route, Switch } from "react-router-dom";
import Home from "./Pages/Home/home";
Expand All @@ -14,6 +15,7 @@ import CIVIL from "./Pages/CIVIL/civil";
import Nomatch from "./Pages/Nomatch/Nomatch";
import Navbar from "./components/Navbar/Navbar"


function App() {
return (
<div>
Expand Down
8 changes: 4 additions & 4 deletions src/Pages/Contribute/Init/Init.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.Init {
background-color: black;
background-color: #282c34;
}
.Input{
background-color:black !important;
background-color:#282c34 !important;
}
.ui.input>input{
border: 1px solid #547CF5 !important;
Expand All @@ -11,12 +11,12 @@
.ui.selection.dropdown{
background:#547CF5 !important;
border: 1px solid #547CF5 !important;
color: black !important;
color: #282c34 !important;
}
.ui.button{
background:#547CF5 !important;
font-weight: bold !important;
color: black !important;
color: #282c34 !important;
}
.ui.card, .ui.cards>.card {
box-shadow: none !important;
Expand Down
8 changes: 4 additions & 4 deletions src/Pages/Contribute/Init/Init.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Init = () => {
const[next, setNext]= useState(false)
return (
<div
style={{backgroundColor:"black"}}
style={{backgroundColor:"#13141C", zIndex:"1", position:"relative" }}
>
<Grid >
<Grid.Row>
Expand All @@ -15,7 +15,7 @@ const Init = () => {
</Grid.Column>
</Grid.Row>
{!next &&
<Grid.Row>
<Grid.Row style={{paddingBottom:0}}>
<Grid.Column style={{marginLeft:"6rem"}}>
<Form>
<div style={{fontFamily:"Sans-serif", color:"white", marginBottom:"0.6rem"}}>Name *</div>
Expand Down Expand Up @@ -57,10 +57,10 @@ const Init = () => {
</Grid.Column>
</Grid.Row>}
{next &&
<Grid.Row>
<Grid.Row >
<Grid.Column style={{marginLeft:"6rem"}}>
<Form>
<div style={{fontFamily:"Sans-serif", color:"white", marginBottom:"0.6rem", marginTop:"4rem"}}>Subject *</div>
<div style={{fontFamily:"Sans-serif", color:"white", marginBottom:"0.6rem"}}>Subject *</div>
<Select
required
placeholder='Choose the subject'
Expand Down
3 changes: 3 additions & 0 deletions src/Pages/Home/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ body{
height: 100%;
margin: 0;
background-color: #13141C;
position: relative;
z-index: 1;

}

p{
Expand Down
5 changes: 4 additions & 1 deletion src/Pages/Home/home.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import React from 'react';
import './home.css';
import Navbar from "../../components/Navbar/Navbar"

function Home(){
return (
<div id="container">
<>
<div id="container" style={{marginLeft:"2rem"}}>
<h1 id="heythere">HEY THERE,</h1>


Expand Down Expand Up @@ -39,6 +41,7 @@ function Home(){


</div>
</>

)
}
Expand Down
4 changes: 3 additions & 1 deletion src/components/Navbar/Navbar.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.nav-bar {
position: absolute;
/* position: absolute; */
height: 100%;
width: 30%;
left: -27%;
Expand All @@ -14,6 +14,8 @@
grid-template-columns: 100% ;
font-family: 'Poppins', sans-serif;
padding-right: 20px;
z-index: 10000;
position: fixed;
}

.nav-bar .navigations {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Navbar/Navbar.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import './Navbar.css';

function Navbar() {
return <div className="nav-bar">
return <div className="nav-bar" fluid>
<div className="navigations">
<div className="subject-links">
<div className="nav-link">
Expand Down