Skip to content

Commit

Permalink
Merge pull request #9 from infinitedim/feat/2.0
Browse files Browse the repository at this point in the history
feat: change navbar style
  • Loading branch information
infinitedim authored Jul 19, 2023
2 parents 6b78ca4 + e65f653 commit 8061648
Show file tree
Hide file tree
Showing 40 changed files with 232 additions and 1,278 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
},
"dependencies": {
"@vercel/analytics": "^1.0.1",
"class-variance-authority": "^0.6.1",
"clsx": "^1.2.1",
"framer-motion": "^10.12.10",
"next": "13.2.4",
Expand Down
9 changes: 9 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 0 additions & 41 deletions src/app/(about)/about/layout.tsx

This file was deleted.

7 changes: 0 additions & 7 deletions src/app/(about)/about/page.tsx

This file was deleted.

41 changes: 0 additions & 41 deletions src/app/(contact)/contact/layout.tsx

This file was deleted.

122 changes: 0 additions & 122 deletions src/app/(contact)/contact/page.tsx

This file was deleted.

40 changes: 0 additions & 40 deletions src/app/(projects)/project/layout.tsx

This file was deleted.

40 changes: 0 additions & 40 deletions src/app/(projects)/project/page.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/app/[...notfound]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const metadata: Metadata = {
"404 not found",
"404 page",
],
authors: [{ name: "infinitedim", url: "https://infinitedim.vercel.app" }],
authors: [{ name: "infinitedim", url: "https://infinitedim.site" }],
creator: "infinitedim",
viewport: { width: "device-width", initialScale: 1 },
};
Expand Down
7 changes: 3 additions & 4 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import localFont from "next/font/local";
import type { ReactNode } from "react";
import { Analytics } from "@vercel/analytics/react";
import { Navbar, ProgressBar } from "@/components";
import { Header } from "@/components";
import { cn } from "@/utils";
import "@total-typescript/ts-reset";
import "@/styles/globals.css";
Expand Down Expand Up @@ -72,7 +72,7 @@ export default function RootLayout({ children }: { children: ReactNode }) {
>
<body
className={cn(
"relative mx-auto max-w-7xl overflow-x-hidden bg-custom-white-900 text-mood-gray antialiased",
"bg-custom-white-900 relative mx-auto max-w-7xl overflow-x-hidden text-mood-gray antialiased",
)}
>
<a
Expand All @@ -81,8 +81,7 @@ export default function RootLayout({ children }: { children: ReactNode }) {
>
Skip To Content
</a>
<ProgressBar />
<Navbar />
<Header />
<main
className="antialiased focus:outline-none mt-10"
id="main-content"
Expand Down
8 changes: 6 additions & 2 deletions src/app/not-found.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@ import "@total-typescript/ts-reset";

export default function NotFound() {
return (
<div className="container flex flex-col items-center justify-center h-[80vh]">
<div className="container flex flex-col items-center justify-center h-[60vh]">
<Heading
as="h1"
className="text-3xl md:text-4xl lg:text-5xl font-black"
title="Not Found"
>
Error
</Heading>
<Heading className="text-2xl md:text-3xl lg:text-4xl font-extrabold">
<Heading
as="h2"
className="text-2xl md:text-3xl lg:text-4xl font-extrabold"
>
404 Page Not Found
</Heading>
</div>
Expand Down
Loading

1 comment on commit 8061648

@vercel
Copy link

@vercel vercel bot commented on 8061648 Jul 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.