parent
85b3627d4a
commit
417c79da0e
11 changed files with 10515 additions and 10802 deletions
@ -1,38 +0,0 @@ |
||||
.App { |
||||
text-align: center; |
||||
} |
||||
|
||||
.App-logo { |
||||
height: 40vmin; |
||||
pointer-events: none; |
||||
} |
||||
|
||||
@media (prefers-reduced-motion: no-preference) { |
||||
.App-logo { |
||||
animation: App-logo-spin infinite 20s linear; |
||||
} |
||||
} |
||||
|
||||
.App-header { |
||||
background-color: #282c34; |
||||
min-height: 100vh; |
||||
display: flex; |
||||
flex-direction: column; |
||||
align-items: center; |
||||
justify-content: center; |
||||
font-size: calc(10px + 2vmin); |
||||
color: white; |
||||
} |
||||
|
||||
.App-link { |
||||
color: #61dafb; |
||||
} |
||||
|
||||
@keyframes App-logo-spin { |
||||
from { |
||||
transform: rotate(0deg); |
||||
} |
||||
to { |
||||
transform: rotate(360deg); |
||||
} |
||||
} |
@ -0,0 +1,2 @@ |
||||
@import './constants/colors.scss'; |
||||
@import './components/Navbar/index.scss'; |
@ -0,0 +1,25 @@ |
||||
import React from "react"; |
||||
|
||||
export default function Navbar() { |
||||
return ( |
||||
<div className="flex flex-row fixed left-0 top-0 justify-between w-screen px-4 bg-transparent backdrop-filter backdrop-blur-md"> |
||||
<div className="flex flex-row"> |
||||
<li></li> |
||||
|
||||
</div> |
||||
<div> |
||||
|
||||
</div> |
||||
</div> |
||||
); |
||||
} |
||||
|
||||
Navbar.defaultProps = { |
||||
list : [ |
||||
{ |
||||
link : '/products', |
||||
|
||||
} |
||||
], |
||||
} |
||||
|
@ -0,0 +1 @@ |
||||
$primary : #235A90; |
@ -0,0 +1,15 @@ |
||||
import React from "react"; |
||||
import { BrowserRouter, Routes, Route } from "react-router-dom"; |
||||
import Home from "./views/Home/index"; |
||||
|
||||
export default function router() { |
||||
return ( |
||||
<BrowserRouter> |
||||
<Routes> |
||||
<Route path="/" element={<Home />} /> |
||||
<Route path="*" element={<main><h1>No matches routes.</h1></main>} /> |
||||
</Routes> |
||||
</BrowserRouter> |
||||
|
||||
); |
||||
} |
@ -0,0 +1,9 @@ |
||||
import React from 'react' |
||||
|
||||
export default function Home() { |
||||
return ( |
||||
<div className="home"> |
||||
|
||||
</div> |
||||
) |
||||
} |
Loading…
Reference in new issue