src directory

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

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

@ -1,5 +1,5 @@
import Page from "@components/Page"; import Page from "src/components/Page";
import Layout from "@components/Layout"; import Layout from "src/components/Layout";
const NotFound = () => ( const NotFound = () => (
<Page title="Page not found" description="This page either doesn't exist or has been deleted"> <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 { ThemeProvider } from "next-themes";
import "../styles/milligram.min.css"; import "@styles/milligram.min.css";
import "../styles/raleway.css"; import "@styles/raleway.css";
import "../styles/sass/index.scss"; import "@styles/sass/index.scss";
function App({ Component, pageProps }) { function App({ Component, pageProps }) {
return ( return (

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

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

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

Loading…
Cancel
Save