From 2a3e233159d54067dca0d8a1f536bda3c9a813c4 Mon Sep 17 00:00:00 2001
From: Robert S
Date: Tue, 28 Dec 2021 14:51:32 +0100
Subject: [PATCH] Move layout file to layout folder (correctly this time)
Last time I forgot to change the tailwind config, whoops. I also edited my about me page.
---
{components => layout}/layout.js | 4 +--
pages/about.js | 55 ++++++++++++++++++++++----------
pages/contact.js | 2 +-
pages/index.js | 2 +-
pages/work.js | 2 +-
tailwind.config.js | 2 +-
6 files changed, 45 insertions(+), 22 deletions(-)
rename {components => layout}/layout.js (94%)
diff --git a/components/layout.js b/layout/layout.js
similarity index 94%
rename from components/layout.js
rename to layout/layout.js
index 403b317..288da11 100644
--- a/components/layout.js
+++ b/layout/layout.js
@@ -1,6 +1,6 @@
import Head from 'next/head';
-import Navbar from "./navbar";
-import Footer from "./footer";
+import Navbar from "../components/navbar";
+import Footer from "../components/footer";
export default function Layout({
children,
diff --git a/pages/about.js b/pages/about.js
index 0157630..8fafa20 100644
--- a/pages/about.js
+++ b/pages/about.js
@@ -1,4 +1,4 @@
-import Layout from "../components/layout";
+import Layout from "../layout/layout";
import { motion } from "framer-motion";
export default function About() {
@@ -18,24 +18,47 @@ export default function About() {
- I can use the following technologies/frameworks mostly fluently:
+ I can use the following languages fluently:
-
- - HTML, CSS & JS
- - TailwindCSS, Bootstrap, UIkit & Cirrus UI
- - Python
- - Flask & similar frameworks (like Sanic)
- - MySQL, PostgreSQL, MongoDB, Redis
-
+
- And I am currently learning the following technologies/frameworks:
+ I can use the following frameworks and libraries fluently:
-
- - Go
- - Rust
- - React/Next.js
- - Docker
-
+
+
+ Miscellaneous tools that I use:
+
+
+
+ Currently learning:
+
+
diff --git a/pages/contact.js b/pages/contact.js
index 070c36d..7b54dad 100644
--- a/pages/contact.js
+++ b/pages/contact.js
@@ -1,4 +1,4 @@
-import Layout from "../components/layout";
+import Layout from "../layout/layout";
import {motion} from "framer-motion";
export default function Contact() {
diff --git a/pages/index.js b/pages/index.js
index 5ca9e2f..03dd32c 100644
--- a/pages/index.js
+++ b/pages/index.js
@@ -1,4 +1,4 @@
-import Layout from "../components/layout";
+import Layout from "../layout/layout";
import { motion } from "framer-motion";
export default function Home() {
diff --git a/pages/work.js b/pages/work.js
index b181c9b..fdd7e7e 100644
--- a/pages/work.js
+++ b/pages/work.js
@@ -1,4 +1,4 @@
-import Layout from "../components/layout";
+import Layout from "../layout/layout";
import { motion } from "framer-motion";
export default function Work() {
diff --git a/tailwind.config.js b/tailwind.config.js
index 4516f6e..6ef99bf 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -2,7 +2,7 @@ const colors = require('tailwindcss/colors')
module.exports = {
mode: 'jit',
- purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'],
+ purge: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}', './layout/**/*.{js,ts,jsx,tsx}'],
darkMode: false, // or 'media' or 'class'
theme: {
colors: {