src directory

dependabot/npm_and_yarn/typescript-eslint/parser-4.33.0
Guusvanmeerveld 3 years ago
parent 52a2c5f297
commit 259e687281

@ -1,5 +1,6 @@
import { useTheme } from "next-themes";
import { FaMoon, FaSun } from "react-icons/fa";
import { BiMoon } from "react-icons/bi";
import { ImSun } from "react-icons/im";
const Navbar = () => {
const { theme, setTheme } = useTheme();
@ -14,8 +15,8 @@ const Navbar = () => {
<a href="/#contact">Contact</a>
<a href="https://github.com/guusvanmeerveld/portfolio">Source code</a>
<FaMoon onClick={switchTheme} className="dark-switch moon" />
<FaSun onClick={switchTheme} className="dark-switch sun" />
<BiMoon onClick={switchTheme} className="dark-switch moon" />
<ImSun onClick={switchTheme} className="dark-switch sun" />
</div>
</div>
</nav>

@ -1,5 +1,5 @@
import Page from "@components/Page";
import Layout from "@components/Layout";
import Page from "src/components/Page";
import Layout from "src/components/Layout";
const NotFound = () => (
<Page title="Page not found" description="This page either doesn't exist or has been deleted">

@ -1,9 +1,9 @@
import { ThemeProvider } from "next-themes";
import "../styles/milligram.min.css";
import "../styles/raleway.css";
import "@styles/milligram.min.css";
import "@styles/raleway.css";
import "../styles/sass/index.scss";
import "@styles/sass/index.scss";
function App({ Component, pageProps }) {
return (

@ -1,6 +1,6 @@
import Page from "@components/Page";
import { Component } from "react";
import Layout from "@components/Layout";
import { Component } from "react";
class Binas extends Component {
links: string[];

@ -1,5 +1,5 @@
import Page from "@components/Page";
import Layout from "@components/Layout";
import Page from "src/components/Page";
import Layout from "src/components/Layout";
const Thanks = () => (
<Page title="Thanks!" description="Thanks for submitting your contact form!">

@ -2,8 +2,9 @@
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@components/*": ["components/*"],
"@public/*": ["public/*"]
"@components/*": ["src/components/*"],
"@public/*": ["src/public/*"],
"@styles/*": ["src/styles/*"]
},
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],

Loading…
Cancel
Save