Skip to content

Commit

Permalink
feat: integration
Browse files Browse the repository at this point in the history
  • Loading branch information
LeleDallas committed Aug 2, 2023
1 parent a38c8ca commit 01eb816
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 1 deletion.
30 changes: 30 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import { useState } from 'react'
import Navbar from './navigator/Navbar'
import About from './screens/About'
import Aside from './navigator/Aside'
import Resume from './screens/Resume'
import { ActiveNav } from './types'
import Contact from './screens/Contact'
import Blog from './screens/Blog'
import Portfolio from './screens/Portfolio'

function App() {

const [active, setActive] = useState<ActiveNav>("About")

return (
<main>
<Aside />
<div className="main-content">
<Navbar active={active} setActive={setActive} />
<About active={active} />
<Resume active={active} />
<Contact active={active} />
<Blog active={active} />
<Portfolio active={active} />
</div>
</main>
)
}

export default App
12 changes: 11 additions & 1 deletion src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
--light-gray: hsl(0, 0%, 84%);
--light-gray-70: hsla(0, 0%, 84%, 0.7);
--bittersweet-shimmer: hsl(0, 43%, 51%);

/**
* typography
*/
Expand Down Expand Up @@ -458,6 +457,10 @@ main {
color: var(--light-gray);
}

.iconHover{
color: var(--light-gray);
}

/*-----------------------------------*\
#NAVBAR
\*-----------------------------------*/
Expand Down Expand Up @@ -1578,7 +1581,10 @@ textarea.form-input::-webkit-resizer {
}

.testimonials-avatar-box img {
height: 80px;
width: 80px;
object-fit: scale-down;
padding: 10px;
}

.testimonials-item-title {
Expand Down Expand Up @@ -2113,4 +2119,8 @@ textarea.form-input::-webkit-resizer {
max-width: 700px;
}

}

.icon {
color: var(--vegas-gold);
}

0 comments on commit 01eb816

Please sign in to comment.