diff --git a/components/Contact.tsx b/src/components/Contact.tsx
similarity index 100%
rename from components/Contact.tsx
rename to src/components/Contact.tsx
diff --git a/components/Footer.tsx b/src/components/Footer.tsx
similarity index 100%
rename from components/Footer.tsx
rename to src/components/Footer.tsx
diff --git a/components/Landing.tsx b/src/components/Landing.tsx
similarity index 100%
rename from components/Landing.tsx
rename to src/components/Landing.tsx
diff --git a/components/Layout.tsx b/src/components/Layout.tsx
similarity index 100%
rename from components/Layout.tsx
rename to src/components/Layout.tsx
diff --git a/components/Navbar.tsx b/src/components/Navbar.tsx
similarity index 73%
rename from components/Navbar.tsx
rename to src/components/Navbar.tsx
index 7001545..e0de24a 100644
--- a/components/Navbar.tsx
+++ b/src/components/Navbar.tsx
@@ -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 = () => {
Contact
Source code
-
-
+
+
diff --git a/components/Page.tsx b/src/components/Page.tsx
similarity index 100%
rename from components/Page.tsx
rename to src/components/Page.tsx
diff --git a/components/Projects.tsx b/src/components/Projects.tsx
similarity index 100%
rename from components/Projects.tsx
rename to src/components/Projects.tsx
diff --git a/pages/404.tsx b/src/pages/404.tsx
similarity index 85%
rename from pages/404.tsx
rename to src/pages/404.tsx
index d83cbf5..2d43bf3 100644
--- a/pages/404.tsx
+++ b/src/pages/404.tsx
@@ -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 = () => (
diff --git a/pages/_app.tsx b/src/pages/_app.tsx
similarity index 65%
rename from pages/_app.tsx
rename to src/pages/_app.tsx
index 91f8eee..2b7d59c 100644
--- a/pages/_app.tsx
+++ b/src/pages/_app.tsx
@@ -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 (
diff --git a/pages/_document.tsx b/src/pages/_document.tsx
similarity index 100%
rename from pages/_document.tsx
rename to src/pages/_document.tsx
diff --git a/pages/binas.tsx b/src/pages/binas.tsx
similarity index 100%
rename from pages/binas.tsx
rename to src/pages/binas.tsx
index 642f2a0..4197a30 100644
--- a/pages/binas.tsx
+++ b/src/pages/binas.tsx
@@ -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[];
diff --git a/pages/index.tsx b/src/pages/index.tsx
similarity index 100%
rename from pages/index.tsx
rename to src/pages/index.tsx
diff --git a/pages/thanks.tsx b/src/pages/thanks.tsx
similarity index 85%
rename from pages/thanks.tsx
rename to src/pages/thanks.tsx
index 71768e0..0899f2b 100644
--- a/pages/thanks.tsx
+++ b/src/pages/thanks.tsx
@@ -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 = () => (
diff --git a/styles/milligram.min.css b/src/styles/milligram.min.css
similarity index 100%
rename from styles/milligram.min.css
rename to src/styles/milligram.min.css
diff --git a/styles/raleway.css b/src/styles/raleway.css
similarity index 100%
rename from styles/raleway.css
rename to src/styles/raleway.css
diff --git a/styles/sass/binas.scss b/src/styles/sass/binas.scss
similarity index 100%
rename from styles/sass/binas.scss
rename to src/styles/sass/binas.scss
diff --git a/styles/sass/contact.scss b/src/styles/sass/contact.scss
similarity index 100%
rename from styles/sass/contact.scss
rename to src/styles/sass/contact.scss
diff --git a/styles/sass/footer.scss b/src/styles/sass/footer.scss
similarity index 100%
rename from styles/sass/footer.scss
rename to src/styles/sass/footer.scss
diff --git a/styles/sass/index.scss b/src/styles/sass/index.scss
similarity index 100%
rename from styles/sass/index.scss
rename to src/styles/sass/index.scss
diff --git a/styles/sass/landing.scss b/src/styles/sass/landing.scss
similarity index 100%
rename from styles/sass/landing.scss
rename to src/styles/sass/landing.scss
diff --git a/styles/sass/nav.scss b/src/styles/sass/nav.scss
similarity index 100%
rename from styles/sass/nav.scss
rename to src/styles/sass/nav.scss
diff --git a/styles/sass/page.scss b/src/styles/sass/page.scss
similarity index 100%
rename from styles/sass/page.scss
rename to src/styles/sass/page.scss
diff --git a/styles/sass/project.scss b/src/styles/sass/project.scss
similarity index 100%
rename from styles/sass/project.scss
rename to src/styles/sass/project.scss
diff --git a/styles/sass/upload.scss b/src/styles/sass/upload.scss
similarity index 100%
rename from styles/sass/upload.scss
rename to src/styles/sass/upload.scss
diff --git a/tsconfig.json b/tsconfig.json
index 0ea9a35..491fb5f 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -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"],