fixed gitignore
This commit is contained in:
parent
294387d8d5
commit
ba6218c20b
2 changed files with 34 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -2,7 +2,7 @@
|
|||
_/
|
||||
|
||||
# auto generated files
|
||||
/src/data/
|
||||
/src/data/**
|
||||
!/src/data/NavbarData.tsx
|
||||
/public/img/skills.svg
|
||||
/public/img/projects.svg
|
||||
|
|
33
src/data/NavbarData.tsx
Normal file
33
src/data/NavbarData.tsx
Normal file
|
@ -0,0 +1,33 @@
|
|||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"
|
||||
import {
|
||||
faAddressBook,
|
||||
faHome,
|
||||
faIdCard,
|
||||
} from "@fortawesome/free-solid-svg-icons"
|
||||
|
||||
// item from sidebar data
|
||||
export type Item = {
|
||||
path: string
|
||||
icon: JSX.Element
|
||||
title: string
|
||||
}
|
||||
|
||||
const NavbarData: Array<Item> = [
|
||||
{
|
||||
title: "Home",
|
||||
path: "/",
|
||||
icon: <FontAwesomeIcon icon={faHome} />,
|
||||
},
|
||||
{
|
||||
title: "About",
|
||||
path: "/about",
|
||||
icon: <FontAwesomeIcon icon={faIdCard} />,
|
||||
},
|
||||
{
|
||||
title: "Portfolio",
|
||||
path: "/portfolio",
|
||||
icon: <FontAwesomeIcon icon={faAddressBook} />,
|
||||
},
|
||||
]
|
||||
|
||||
export default NavbarData
|
Loading…
Add table
Add a link
Reference in a new issue