Solved a little bug
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -23,6 +23,7 @@
|
|||||||
npm-debug.log*
|
npm-debug.log*
|
||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
|
.pnpm-debug.log*
|
||||||
|
|
||||||
# local env files
|
# local env files
|
||||||
.env*.local
|
.env*.local
|
||||||
@@ -33,3 +34,7 @@ yarn-error.log*
|
|||||||
# typescript
|
# typescript
|
||||||
*.tsbuildinfo
|
*.tsbuildinfo
|
||||||
next-env.d.ts
|
next-env.d.ts
|
||||||
|
|
||||||
|
.env
|
||||||
|
.yarn/*
|
||||||
|
.history*
|
||||||
@@ -21,7 +21,7 @@ export default function Navbar({currentPage}: {currentPage: string}) {
|
|||||||
href="/"
|
href="/"
|
||||||
className={clsx(
|
className={clsx(
|
||||||
"hover:border-b-2 hover:border-b-mti-purple-light transition ease-in-out duration-300",
|
"hover:border-b-2 hover:border-b-mti-purple-light transition ease-in-out duration-300",
|
||||||
currentPage === "/" && "",
|
currentPage === "/" && "border-b-2 border-b-mti-purple-light",
|
||||||
)}>
|
)}>
|
||||||
Home
|
Home
|
||||||
</Link>
|
</Link>
|
||||||
@@ -29,7 +29,7 @@ export default function Navbar({currentPage}: {currentPage: string}) {
|
|||||||
href="/services"
|
href="/services"
|
||||||
className={clsx(
|
className={clsx(
|
||||||
"hover:border-b-2 hover:border-b-mti-purple-light transition ease-in-out duration-300",
|
"hover:border-b-2 hover:border-b-mti-purple-light transition ease-in-out duration-300",
|
||||||
currentPage === "/services" && "",
|
currentPage === "/services" && "border-b-2 border-b-mti-purple-light",
|
||||||
)}>
|
)}>
|
||||||
Services
|
Services
|
||||||
</Link>
|
</Link>
|
||||||
@@ -37,7 +37,7 @@ export default function Navbar({currentPage}: {currentPage: string}) {
|
|||||||
href="/about"
|
href="/about"
|
||||||
className={clsx(
|
className={clsx(
|
||||||
"hover:border-b-2 hover:border-b-mti-purple-light transition ease-in-out duration-300",
|
"hover:border-b-2 hover:border-b-mti-purple-light transition ease-in-out duration-300",
|
||||||
currentPage === "/about" && "",
|
currentPage === "/about" && "border-b-2 border-b-mti-purple-light",
|
||||||
)}>
|
)}>
|
||||||
About us
|
About us
|
||||||
</Link>
|
</Link>
|
||||||
@@ -45,7 +45,7 @@ export default function Navbar({currentPage}: {currentPage: string}) {
|
|||||||
href="/history"
|
href="/history"
|
||||||
className={clsx(
|
className={clsx(
|
||||||
"hover:border-b-2 hover:border-b-mti-purple-light transition ease-in-out duration-300",
|
"hover:border-b-2 hover:border-b-mti-purple-light transition ease-in-out duration-300",
|
||||||
currentPage === "/history" && "",
|
currentPage === "/history" && "border-b-2 border-b-mti-purple-light",
|
||||||
)}>
|
)}>
|
||||||
History
|
History
|
||||||
</Link>
|
</Link>
|
||||||
@@ -53,7 +53,7 @@ export default function Navbar({currentPage}: {currentPage: string}) {
|
|||||||
href="/contact"
|
href="/contact"
|
||||||
className={clsx(
|
className={clsx(
|
||||||
"hover:border-b-2 hover:border-b-mti-purple-light transition ease-in-out duration-300",
|
"hover:border-b-2 hover:border-b-mti-purple-light transition ease-in-out duration-300",
|
||||||
currentPage === "/contact" && "",
|
currentPage === "/contact" && "border-b-2 border-b-mti-purple-light",
|
||||||
)}>
|
)}>
|
||||||
Contact
|
Contact
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es5",
|
"target": "es5",
|
||||||
"lib": ["dom", "dom.iterable", "esnext"],
|
"lib": [
|
||||||
|
"dom",
|
||||||
|
"dom.iterable",
|
||||||
|
"esnext"
|
||||||
|
],
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
@@ -19,9 +23,18 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["./src/*"]
|
"@/*": [
|
||||||
|
"./src/*"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
|
"include": [
|
||||||
"exclude": ["node_modules"]
|
"next-env.d.ts",
|
||||||
}
|
"**/*.ts",
|
||||||
|
"**/*.tsx",
|
||||||
|
".next/types/**/*.ts"
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"node_modules"
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user