Skip to content

Commit

Permalink
added: scss, change: css to scss, new folder structure 'styles'
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelTeida committed Jan 18, 2024
1 parent be6738f commit 1467acc
Show file tree
Hide file tree
Showing 9 changed files with 458 additions and 143 deletions.
167 changes: 162 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.3"
"react-router-dom": "^6.21.3",
"sass": "^1.70.0"
},
"devDependencies": {
"@types/react": "^18.2.43",
Expand Down
42 changes: 0 additions & 42 deletions src/App.css

This file was deleted.

27 changes: 1 addition & 26 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,42 +1,17 @@
import { useState } from 'react'
import reactLogo from './assets/react.svg'
import './App.css'
import './styles/App.scss'
import {Link, Outlet} from "react-router-dom";

function App() {
const [count, setCount] = useState(0)

return (
<>

<div>Hello there ;)</div>
<nav>
<Link to="/NeuraChatAi/">Homepage</Link>
<div></div>
<Link to="/NeuraChatAi/about">About</Link>
</nav>
{<Outlet />}

{/*<div>*/}
{/* <a href="https://vitejs.dev" target="_blank">*/}
{/* <img src={viteLogo} className="logo" alt="Vite logo" />*/}
{/* </a>*/}
{/* <a href="https://react.dev" target="_blank">*/}
{/* <img src={reactLogo} className="logo react" alt="React logo" />*/}
{/* </a>*/}
{/*</div>*/}
{/*<h1>Vite + React</h1>*/}
{/*<div className="card">*/}
{/* <button onClick={() => setCount((count) => count + 1)}>*/}
{/* count is {count}*/}
{/* </button>*/}
{/* <p>*/}
{/* Edit <code>src/App.jsx</code> and save to test HMR*/}
{/* </p>*/}
{/*</div>*/}
{/*<p className="read-the-docs">*/}
{/* Click on the Vite and React logos to learn more*/}
{/*</p>*/}
</>
)
}
Expand Down
Loading

0 comments on commit 1467acc

Please sign in to comment.