Skip to content

Commit

Permalink
SCSS installed
Browse files Browse the repository at this point in the history
  • Loading branch information
kingsleyokonkwo committed Apr 2, 2023
1 parent f4aee3f commit 676b780
Show file tree
Hide file tree
Showing 155 changed files with 4,669 additions and 4,805 deletions.
149 changes: 68 additions & 81 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"react-icons": "^4.4.0",
"react-router-dom": "^6.4.2",
"react-scripts": "5.0.1",
"sass": "^1.60.0",
"web-vitals": "^2.1.4"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
Vote,
AddProject,
} from "./pages";
import classes from "./App.module.css";
import classes from "./App.module.scss";

function App() {
const [activeMenu, setActiveMenu] = useState(true);
Expand Down
50 changes: 0 additions & 50 deletions src/App.module.css

This file was deleted.

47 changes: 47 additions & 0 deletions src/App.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
.container {
display: flex;
}

.body {
width: 100%;
overflow: hidden;
}

/* Created an animated css class */
.animated_padding_in {
padding-left: 292px;
transition: all 2s ease-out;
}
.animated_padding_out {
padding-left: 0;
transition: all 0.5s ease-out;
}

.sidebar {
background: #2C3137;
padding: 24px 18px;
width: 256px;
height: 100vh;
position: fixed;
}

.navbar {
width: 100%;
max-width: 1440px;
z-index: 10;
}



//MEDIA QUERY FOR 1024px
@media screen and (max-width: 1024px) {
.sidebar {
box-sizing: border-box;
width: 96px;
padding: 24px 4px;
}
.animated_padding_in {
padding-left: 96px;
transition: all .2s ease-out;
}
}
2 changes: 1 addition & 1 deletion src/components/AdSuggestion/AdSuggestionForms/Form.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import Button from "../../UI/Button/Button";
import classes from './Form.module.css'
import classes from './Form.module.scss'

export default function Form(props) {
return (
Expand Down
40 changes: 0 additions & 40 deletions src/components/AdSuggestion/AdSuggestionForms/Form.module.css

This file was deleted.

42 changes: 42 additions & 0 deletions src/components/AdSuggestion/AdSuggestionForms/Form.module.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
$color_1: #fff;
$color_2: #2793ff;
$background-color_1: #2c3137;

form {
width: 389px;
}

.formInput {
display: flex;
flex-direction: column;
}

.cryptoinput {
padding: 16px;
border-radius: 8px;
color: $color_1;
font-size: 16px;
font-weight: 500;
outline: none;
border: solid 1px #35373e;
background-color: $background-color_1;
margin-top: 8px;
margin-bottom: 24px;
}

label {
font-size: 18px;
font-weight: normal;
color: $color_1;
p {
margin: 0;
}
}

.label__url {
font-size: 14px;
span {
font-weight: bold;
color: $color_2;
}
}
2 changes: 1 addition & 1 deletion src/components/AdSuggestion/AdSuggestionForms/IcoForm.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Button from "../../UI/Button/Button";
import classes from './Form.module.css'
import classes from './Form.module.scss'

export default function CryptoForm() {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState } from "react";
import classes from "./SuggestAds.module.css";
import classes from "./SuggestAds.module.scss";
import arrowback from "../../../../data/arrow-left.png";
import CryptoForm from "../CryptoForm";
import IcoForm from "../IcoForm";
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
.suggestAd__container {
margin: 50px;

.suggestAd__span {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 35px;
img {
cursor: pointer;
}
h3 {
font-weight: 800;
font-size: 32px;
}
}

.projectType {
margin: 0;
font-weight: 600;
font-size: 18px;
margin-bottom: 16px;
}

.suggestAd__buttons {
display: flex;
gap: 8px;
margin-bottom: 77px;
}
}


::-webkit-calendar-picker-indicator {
filter: invert(2);
}


//MEDIA QUERY FOR 1024px
@media screen and (max-width: 1024px) {
.suggestAd__span {
img {
height: 26.67px;
width: 26.67px;
}
h3 {
font-size: 24px;
}
}

.suggestAd-buttons {
gap: 12px;
margin-bottom: 44px;
button {
font-size: 16px;
padding: 12px 16px;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import classes from "./AddSuggestionStatus.module.css";
import classes from "./AddSuggestionStatus.module.scss";
import arrowback from "../../../data/arrow-left.png";
import { suggestionStatus } from "../../../data/data";
import { NavLink } from "react-router-dom";
Expand Down
Loading

0 comments on commit 676b780

Please sign in to comment.