diff --git a/app/about/page.tsx b/app/about/page.tsx
deleted file mode 100644
index eb14ddc..0000000
--- a/app/about/page.tsx
+++ /dev/null
@@ -1,3 +0,0 @@
-export default function Page() {
- return <>>
-}
diff --git a/app/archive/page.tsx b/app/archive/page.tsx
deleted file mode 100644
index 513709a..0000000
--- a/app/archive/page.tsx
+++ /dev/null
@@ -1,3 +0,0 @@
-export default function Archives() {
- return <>>;
-}
diff --git a/app/favicon.ico b/app/favicon.ico
deleted file mode 100644
index 718d6fe..0000000
Binary files a/app/favicon.ico and /dev/null differ
diff --git a/app/footer.tsx b/app/footer.tsx
deleted file mode 100644
index 21a7eba..0000000
--- a/app/footer.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-'use client';
-export default function Footer() {
- return (
-
- );
-}
diff --git a/app/navbar.tsx b/app/navbar.tsx
deleted file mode 100644
index adc3796..0000000
--- a/app/navbar.tsx
+++ /dev/null
@@ -1,79 +0,0 @@
-'use client';
-
-import { useEffect, useState } from 'react';
-import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar';
-import { NavigationMenu, NavigationMenuItem, NavigationMenuList } from '@/components/ui/navigation-menu';
-import Link from 'next/link';
-
-const entries: { display_name: string; href: string; }[] = [
- {
- display_name: 'About',
- href: '/about'
- },
- {
- display_name: 'Archive',
- href: '/archive'
- }
-
-];
-export default function Navbar() {
- const [ scrolled, setScrolled ] = useState(false);
-
- useEffect(() => {
- const handleScroll = () => {
- const isScrolled = window.scrollY > 0;
- setScrolled(isScrolled);
- };
-
- window.addEventListener('scroll', handleScroll);
-
- return () => {
- window.removeEventListener('scroll', handleScroll);
- };
- }, []);
-
- return <>
-
-
-
-
-
-
-
-
-
- Tao
-
-
-
-
-
-
-
- { 'Lumither\'s Blog' }
-
-
-
-
-
- {
- entries.map((entry, id) => (
-
-
- { entry.display_name }
-
-
- ))
- }
-
-
-
-
-
- >;
-}
diff --git a/components.json b/components.json
deleted file mode 100644
index 3040da4..0000000
--- a/components.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://ui.shadcn.com/schema.json",
- "style": "new-york",
- "rsc": true,
- "tsx": true,
- "tailwind": {
- "config": "tailwind.config.ts",
- "css": "app/globals.css",
- "baseColor": "slate",
- "cssVariables": true,
- "prefix": ""
- },
- "aliases": {
- "components": "@/components",
- "utils": "@/lib/utils"
- }
-}
\ No newline at end of file
diff --git a/components/theme-provider.tsx b/components/theme-provider.tsx
deleted file mode 100644
index 693b468..0000000
--- a/components/theme-provider.tsx
+++ /dev/null
@@ -1,9 +0,0 @@
-'use client';
-
-import * as React from 'react';
-import { ThemeProvider as NextThemesProvider } from 'next-themes';
-import { type ThemeProviderProps } from 'next-themes/dist/types';
-
-export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
- return { children };
-}
diff --git a/components/ui/avatar.tsx b/components/ui/avatar.tsx
deleted file mode 100644
index 51e507b..0000000
--- a/components/ui/avatar.tsx
+++ /dev/null
@@ -1,50 +0,0 @@
-"use client"
-
-import * as React from "react"
-import * as AvatarPrimitive from "@radix-ui/react-avatar"
-
-import { cn } from "@/lib/utils"
-
-const Avatar = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-))
-Avatar.displayName = AvatarPrimitive.Root.displayName
-
-const AvatarImage = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-))
-AvatarImage.displayName = AvatarPrimitive.Image.displayName
-
-const AvatarFallback = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-))
-AvatarFallback.displayName = AvatarPrimitive.Fallback.displayName
-
-export { Avatar, AvatarImage, AvatarFallback }
diff --git a/components/ui/navigation-menu.tsx b/components/ui/navigation-menu.tsx
deleted file mode 100644
index 5841fb3..0000000
--- a/components/ui/navigation-menu.tsx
+++ /dev/null
@@ -1,128 +0,0 @@
-import * as React from "react"
-import { ChevronDownIcon } from "@radix-ui/react-icons"
-import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu"
-import { cva } from "class-variance-authority"
-
-import { cn } from "@/lib/utils"
-
-const NavigationMenu = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, children, ...props }, ref) => (
-
- {children}
-
-
-))
-NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName
-
-const NavigationMenuList = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-))
-NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName
-
-const NavigationMenuItem = NavigationMenuPrimitive.Item
-
-const navigationMenuTriggerStyle = cva(
- "group inline-flex h-9 w-max items-center justify-center rounded-md bg-background px-4 py-2 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[active]:bg-accent/50 data-[state=open]:bg-accent/50"
-)
-
-const NavigationMenuTrigger = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, children, ...props }, ref) => (
-
- {children}{" "}
-
-
-))
-NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName
-
-const NavigationMenuContent = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-))
-NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName
-
-const NavigationMenuLink = NavigationMenuPrimitive.Link
-
-const NavigationMenuViewport = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-
-
-))
-NavigationMenuViewport.displayName =
- NavigationMenuPrimitive.Viewport.displayName
-
-const NavigationMenuIndicator = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-
-
-))
-NavigationMenuIndicator.displayName =
- NavigationMenuPrimitive.Indicator.displayName
-
-export {
- navigationMenuTriggerStyle,
- NavigationMenu,
- NavigationMenuList,
- NavigationMenuItem,
- NavigationMenuContent,
- NavigationMenuTrigger,
- NavigationMenuLink,
- NavigationMenuIndicator,
- NavigationMenuViewport,
-}
diff --git a/lib/utils.ts b/lib/utils.ts
deleted file mode 100644
index d084cca..0000000
--- a/lib/utils.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import { type ClassValue, clsx } from "clsx"
-import { twMerge } from "tailwind-merge"
-
-export function cn(...inputs: ClassValue[]) {
- return twMerge(clsx(inputs))
-}
diff --git a/package.json b/package.json
index cf89832..f6f0f09 100644
--- a/package.json
+++ b/package.json
@@ -9,27 +9,18 @@
"lint": "next lint"
},
"dependencies": {
- "@radix-ui/react-avatar": "^1.0.4",
- "@radix-ui/react-icons": "^1.3.0",
- "@radix-ui/react-navigation-menu": "^1.1.4",
- "class-variance-authority": "^0.7.0",
- "clsx": "^2.1.0",
- "next": "14.1.3",
- "next-themes": "^0.2.1",
"react": "^18",
"react-dom": "^18",
- "tailwind-merge": "^2.2.1",
- "tailwindcss-animate": "^1.0.7"
+ "next": "14.2.2"
},
"devDependencies": {
"typescript": "^5",
"@types/node": "^20",
"@types/react": "^18",
"@types/react-dom": "^18",
- "autoprefixer": "^10.0.1",
"postcss": "^8",
- "tailwindcss": "^3.3.0",
+ "tailwindcss": "^3.4.1",
"eslint": "^8",
- "eslint-config-next": "14.1.3"
+ "eslint-config-next": "14.2.2"
}
}
diff --git a/postcss.config.js b/postcss.config.js
deleted file mode 100644
index 12a703d..0000000
--- a/postcss.config.js
+++ /dev/null
@@ -1,6 +0,0 @@
-module.exports = {
- plugins: {
- tailwindcss: {},
- autoprefixer: {},
- },
-};
diff --git a/postcss.config.mjs b/postcss.config.mjs
new file mode 100644
index 0000000..1a69fd2
--- /dev/null
+++ b/postcss.config.mjs
@@ -0,0 +1,8 @@
+/** @type {import('postcss-load-config').Config} */
+const config = {
+ plugins: {
+ tailwindcss: {},
+ },
+};
+
+export default config;
diff --git a/public/next.svg b/public/next.svg
deleted file mode 100644
index 5174b28..0000000
--- a/public/next.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/public/vercel.svg b/public/vercel.svg
deleted file mode 100644
index d2f8422..0000000
--- a/public/vercel.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file