diff --git a/src/app/blog/[slug]/page.tsx b/src/app/blog/[slug]/page.tsx index 837191d..587adb9 100755 --- a/src/app/blog/[slug]/page.tsx +++ b/src/app/blog/[slug]/page.tsx @@ -1,10 +1,12 @@ -import { getPost } from '@/data/blog' -import { DATA } from '@/data/resume' -import { formatDate } from '@/lib/utils' import type { Metadata } from 'next' import { notFound } from 'next/navigation' import { Suspense } from 'react' +import { getPost } from '@/data/blog' +import { DATA } from '@/data/resume' + +import { formatDate } from '@/lib/utils' + export async function generateMetadata({ params, }: { diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index ea0e66e..d4e81ca 100755 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -1,6 +1,8 @@ +import Link from 'next/link' + import BlurFade from '@/components/magicui/blur-fade' + import { getBlogPosts } from '@/data/blog' -import Link from 'next/link' export const metadata = { title: 'Blog', diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 145fa9d..4bfad14 100755 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,11 +1,15 @@ +import './globals.css' + +import type { Metadata } from 'next' +import { Inter as FontSans } from 'next/font/google' + import Navbar from '@/components/navbar' import { ThemeProvider } from '@/components/theme-provider' import { TooltipProvider } from '@/components/ui/tooltip' + import { DATA } from '@/data/resume' + import { cn } from '@/lib/utils' -import type { Metadata } from 'next' -import { Inter as FontSans } from 'next/font/google' -import './globals.css' const fontSans = FontSans({ subsets: ['latin'], diff --git a/src/app/page.tsx b/src/app/page.tsx index 93b1168..e27e87e 100755 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,3 +1,6 @@ +import Link from 'next/link' +import Markdown from 'react-markdown' + import { HackathonCard } from '@/components/hackathon-card' import BlurFade from '@/components/magicui/blur-fade' import BlurFadeText from '@/components/magicui/blur-fade-text' @@ -5,9 +8,8 @@ import { ProjectCard } from '@/components/project-card' import { ResumeCard } from '@/components/resume-card' import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar' import { Badge } from '@/components/ui/badge' + import { DATA } from '@/data/resume' -import Link from 'next/link' -import Markdown from 'react-markdown' const BLUR_FADE_DELAY = 0.04 diff --git a/src/components/hackathon-card.tsx b/src/components/hackathon-card.tsx index 7695d63..6825695 100755 --- a/src/components/hackathon-card.tsx +++ b/src/components/hackathon-card.tsx @@ -1,6 +1,7 @@ +import Link from 'next/link' + import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar' import { Badge } from '@/components/ui/badge' -import Link from 'next/link' interface Props { title: string diff --git a/src/components/magicui/blur-fade-text.tsx b/src/components/magicui/blur-fade-text.tsx index 6eb8f5c..a54928e 100755 --- a/src/components/magicui/blur-fade-text.tsx +++ b/src/components/magicui/blur-fade-text.tsx @@ -1,8 +1,9 @@ 'use client' -import { cn } from '@/lib/utils' -import { AnimatePresence, motion, Variants } from 'framer-motion' import { useMemo } from 'react' +import { AnimatePresence, motion, Variants } from 'framer-motion' + +import { cn } from '@/lib/utils' interface BlurFadeTextProps { text: string diff --git a/src/components/magicui/blur-fade.tsx b/src/components/magicui/blur-fade.tsx index 6462149..a416f6c 100755 --- a/src/components/magicui/blur-fade.tsx +++ b/src/components/magicui/blur-fade.tsx @@ -1,7 +1,7 @@ 'use client' -import { AnimatePresence, motion, useInView, Variants } from 'framer-motion' import { useRef } from 'react' +import { AnimatePresence, motion, useInView, Variants } from 'framer-motion' interface BlurFadeProps { children: React.ReactNode diff --git a/src/components/magicui/dock.tsx b/src/components/magicui/dock.tsx index 5ab39ce..cf4c37e 100755 --- a/src/components/magicui/dock.tsx +++ b/src/components/magicui/dock.tsx @@ -1,9 +1,10 @@ 'use client' -import { cn } from '@/lib/utils' +import React, { PropsWithChildren, useRef } from 'react' import { cva, type VariantProps } from 'class-variance-authority' import { motion, useMotionValue, useSpring, useTransform } from 'framer-motion' -import React, { PropsWithChildren, useRef } from 'react' + +import { cn } from '@/lib/utils' export interface DockProps extends VariantProps { className?: string diff --git a/src/components/mode-toggle.tsx b/src/components/mode-toggle.tsx index 4b35d20..76deaf3 100755 --- a/src/components/mode-toggle.tsx +++ b/src/components/mode-toggle.tsx @@ -1,9 +1,10 @@ 'use client' -import { Button } from '@/components/ui/button' import { MoonIcon, SunIcon } from '@radix-ui/react-icons' import { useTheme } from 'next-themes' +import { Button } from '@/components/ui/button' + export function ModeToggle() { const { theme, setTheme } = useTheme() diff --git a/src/components/navbar.tsx b/src/components/navbar.tsx index 3efa985..9531307 100755 --- a/src/components/navbar.tsx +++ b/src/components/navbar.tsx @@ -1,3 +1,5 @@ +import Link from 'next/link' + import { Dock, DockIcon } from '@/components/magicui/dock' import { ModeToggle } from '@/components/mode-toggle' import { buttonVariants } from '@/components/ui/button' @@ -7,9 +9,10 @@ import { TooltipContent, TooltipTrigger, } from '@/components/ui/tooltip' + import { DATA } from '@/data/resume' + import { cn } from '@/lib/utils' -import Link from 'next/link' export default function Navbar() { return ( diff --git a/src/components/project-card.tsx b/src/components/project-card.tsx index da07cca..90a33ca 100755 --- a/src/components/project-card.tsx +++ b/src/components/project-card.tsx @@ -1,3 +1,7 @@ +import Image from 'next/image' +import Link from 'next/link' +import Markdown from 'react-markdown' + import { Badge } from '@/components/ui/badge' import { Card, @@ -6,10 +10,8 @@ import { CardHeader, CardTitle, } from '@/components/ui/card' + import { cn } from '@/lib/utils' -import Image from 'next/image' -import Link from 'next/link' -import Markdown from 'react-markdown' interface Props { title: string diff --git a/src/components/resume-card.tsx b/src/components/resume-card.tsx index 73b76e8..4e4bb81 100755 --- a/src/components/resume-card.tsx +++ b/src/components/resume-card.tsx @@ -1,14 +1,16 @@ 'use client' -import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar' -import { Badge } from '@/components/ui/badge' -import { Card, CardHeader } from '@/components/ui/card' -import { cn } from '@/lib/utils' import { motion } from 'framer-motion' import { ChevronRightIcon } from 'lucide-react' import Link from 'next/link' import React from 'react' +import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar' +import { Badge } from '@/components/ui/badge' +import { Card, CardHeader } from '@/components/ui/card' + +import { cn } from '@/lib/utils' + interface ResumeCardProps { logoUrl: string altText: string