+
))}
-
+
);
}
-
diff --git a/src/app/blog/posts/corebooting-my-thinkpad.mdx b/src/app/blog/posts/corebooting-my-thinkpad.mdx
new file mode 100644
index 0000000..fd17e6a
--- /dev/null
+++ b/src/app/blog/posts/corebooting-my-thinkpad.mdx
@@ -0,0 +1,66 @@
+---
+title: "I corebooted my T440p, here's how I did it."
+author: "Timothy Pidashev"
+date: "2024/06/05"
+description: "This is a sample MDX file."
+tags: ["coreboot", "t440p", "dgpu"]
+---
+
+# Heading 1
+
+## Heading 2
+
+### Heading 3
+
+#### Heading 4
+
+##### Heading 5
+
+###### Heading 6
+
+*Italic Text*
+
+_Italic Text_
+
+**Bold Text**
+
+__Bold Text__
+
+* Bullet List
+ * Item 1
+ * Item 2
+ * Subitem 1
+ * Subitem 2
+
+1. Numbered List
+ 1. Item 1
+ 2. Item 2
+ - Subitem 1
+ - Subitem 2
+
+[Link Text](https://example.com)
+
+
+
+> Blockquote
+>
+> Lorem ipsum dolor sit amet, consectetur adipiscing elit.
+
+`Inline Code`
+
+| Table Header 1 | Table Header 2 |
+|----------------|----------------|
+| Table Row 1 | Table Row 1 |
+| Table Row 2 | Table Row 2 |
+
+Superscript Text
+
+Subscript Text
+
+Highlighted Text
+
+Underlined Text
+
+Strikethrough Text
+
+Abbreviation
diff --git a/src/app/blog/posts/my-perfect-dev-environment.mdx b/src/app/blog/posts/my-perfect-dev-environment.mdx
new file mode 100644
index 0000000..82e3077
--- /dev/null
+++ b/src/app/blog/posts/my-perfect-dev-environment.mdx
@@ -0,0 +1,9 @@
+---
+title: "My perfect development environment."
+author: "Timothy Pidashev"
+date: "2024/06/07"
+description: "This is another sample mdx file."
+tags: ["dwl", "wayland", "gruvbox"]
+---
+
+# FDSLKJFLKSFJL
diff --git a/src/app/blog/posts/ssg.mdx b/src/app/blog/posts/ssg.mdx
deleted file mode 100644
index 8276fcb..0000000
--- a/src/app/blog/posts/ssg.mdx
+++ /dev/null
@@ -1,74 +0,0 @@
----
-title: 'When to Use Static Generation v.s. Server-side Rendering'
-author: "Timothy Pidashev"
-date: '2020-01-02'
----
-
-We recommend using **Static Generation** (with and without data) whenever possible because your page can be built once and served by CDN, which makes it much faster than having a server render the page on every request.
-
-You can use Static Generation for many types of pages, including:
-
-- Marketing pages
-- Blog posts
-- E-commerce product listings
-- Help and documentation
-
-```jsx
-import React, { useState } from 'react';
-
-function Counter() {
- const [count, setCount] = useState(0);
-
- const increment = () => {
- setCount(count + 1);
- };
-
- const decrement = () => {
- setCount(count - 1);
- };
-
- return (
-
-
Count: {count}
-
-
-
- );
-}
-
-export default Counter;
-```
-You should ask yourself: "Can I pre-render this page **ahead** of a user's request?" If the answer is yes, then you should choose Static Generation.
-
-On the other hand, Static Generation is **not** a good idea if you cannot pre-render a page ahead of a user's request. Maybe your page shows frequently updated data, and the page content changes on every request.
-
-In that case, you can use **Server-Side Rendering**. It will be slower, but the pre-rendered page will always be up-to-date. Or you can skip pre-rendering and use client-side JavaScript to populate data.
-
-```jsx
- const [count, setCount] = useState(0);
-
- const increment = () => {
- setCount(count + 1);
- };
-
- const decrement = () => {
- setCount(count - 1);
- };
-
- return (
-
-
Count: {count}
-
-
-
- );
-}
-
-export default Counter;
-```
-You should ask yourself: "Can I pre-render this page **ahead** of a user's request?" If the answer is yes, then you should choose Static Generation.
-
-On the other hand, Static Generation is **not** a good idea if you cannot pre-render a page ahead of a user's request. Maybe your page shows frequently updated data, and the page content changes on every request.
-
-In that case, you can use **Server-Side Rendering**. It will be slower, but the pre-rendered page will always be up-to-date. Or you can skip pre-rendering and use client-side JavaScript to populate data.
-
diff --git a/src/components/footer/content.jsx b/src/components/footer/content.jsx
index d207ccf..68dc8aa 100644
--- a/src/components/footer/content.jsx
+++ b/src/components/footer/content.jsx
@@ -2,13 +2,15 @@
import Link from "next/link";
import { motion } from "framer-motion";
+import ThemeToggle from "@/components/ui/theme-toggle";
const Items = [
- { id: 0, href: "https://add-later", label: "Contact", color: "green" },
- { id: 1, href: "https://github.com/timmypidashev", label: "Github", color: "yellow" },
- { id: 3, href: "https://linkedin.com/in/timothy-pidashev-9055922a7", label: "Linkedin", color: "blue" },
- { id: 4, href: "https://instagram.com/timmypidashev", label: "Instagram", color: "purple" },
- { id: 5, href: "https://github.com/timmypidashev/web", label: "Source", color: "aqua" },
+ { id: 0, href: "https://add-later", label: "Contact", color: "green", component: false },
+ { id: 1, href: "https://github.com/timmypidashev", label: "Github", color: "yellow", component: false },
+ { id: 3, href: "https://linkedin.com/in/timothy-pidashev-9055922a7", label: "Linkedin", color: "blue", component: false },
+ { id: 4, href: "https://instagram.com/timmypidashev", label: "Instagram", color: "purple", component: false },
+ { id: 5, href: "https://github.com/timmypidashev/web", label: "Source", color: "aqua", component: false },
+ { id: 6, color: "foreground", component: true },
];
const ItemColors = {
@@ -49,7 +51,11 @@ function Content() {
inline-block
${ItemColors[item.color]} dark:${ItemColors[item.color]}
`}>
- {item.label}
+ {item.component ? (
+
+ ) : (
+ {item.label}
+ )}
))}
diff --git a/src/components/footer/index.jsx b/src/components/footer/index.jsx
index 3ef6220..e925e31 100644
--- a/src/components/footer/index.jsx
+++ b/src/components/footer/index.jsx
@@ -1,4 +1,3 @@
-import Container from "@/components/ui/container";
import Content from "@/components/footer/content";
function Footer() {
diff --git a/src/components/ui/container.jsx b/src/components/ui/container.jsx
index 51067e2..b552239 100644
--- a/src/components/ui/container.jsx
+++ b/src/components/ui/container.jsx
@@ -2,7 +2,7 @@ import React from "react";
const Container = ({ children }) => {
return (
-