-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: DeviousLab <deviouslab@gmail.com>
- Loading branch information
1 parent
1f3f489
commit 79e690a
Showing
7 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import React from 'react' | ||
|
||
const Navigation = ({ active }) => { | ||
return ( | ||
<div className="app__navigation"> | ||
{['home', 'about', 'skills', 'work', 'testimonials', 'contact'].map((item, index) => ( | ||
<a | ||
href={`#${item}`} | ||
key={item+index} | ||
className="app__navigation-dot" | ||
style={active === item ? { backgroundColor: '#313bac' } : {}} | ||
/> | ||
))} | ||
</div> | ||
) | ||
} | ||
|
||
export default Navigation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import React from 'react' | ||
import { BsTwitter, BsInstagram } from 'react-icons/bs' | ||
import { FaFacebookF } from 'react-icons/fa' | ||
|
||
const SocialMedia = () => { | ||
return ( | ||
<div className="app__social"> | ||
<div> | ||
<BsTwitter /> | ||
</div> | ||
<div> | ||
<BsInstagram /> | ||
</div> | ||
<div> | ||
<FaFacebookF /> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default SocialMedia |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export { default as Navigation } from './Navigation'; | ||
export { default as SocialMedia } from './SocialMedia'; | ||
export { default as Navbar } from '../components/Navbar/Navbar'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import React from 'react' | ||
import { Navigation, SocialMedia } from '../components' | ||
|
||
const AppWrap = (Component, idName, classNames) => function HOC() { | ||
return ( | ||
<div id={idName} className={`app__container ${classNames}`}> | ||
<SocialMedia /> | ||
<div className="app__wrapper app__flex"> | ||
<Component /> | ||
|
||
<div className="copyright"> | ||
<p className="p-text">©2022 MICAEL</p> | ||
<p className="p-text">All rights reserved</p> | ||
</div> | ||
</div> | ||
<Navigation active={idName} /> | ||
</div> | ||
) | ||
} | ||
|
||
export default AppWrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as AppWrap } from './AppWrap'; |