Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Added Blog Tab #20

Merged
merged 1 commit into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions app/blog/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
import React from "react";
import Base from "@components/layouts/base";
import ContainerLayout from "@components/layouts/container";
import InProgressImage from "../../public/aboutme-option3.webp";
import Image from "next/image";
import { ChevronLeft } from "lucide-react";
import Button from "@components/ui/button/index";

export const metadata = {
title: "Blog",
};

const page = () => {
return (
<Base pageSlug="/blog">
<ContainerLayout className="flex flex-col space-y-4">
<h1 className="text-3xl font-semibold tracking-tight text-gray-12 md:text-4xl">
Blog
</h1>
<div className="text-gray-11">Work in progress.</div>
<Image
className="rounded-2xl border border-gray-6"
src={InProgressImage}
alt="image"
/>
<Button
variant="secondary"
intent="primary"
href="/"
leftIcon={<ChevronLeft />}
>
Return home
</Button>
</ContainerLayout>
</Base>
);
};

export default page;
5 changes: 3 additions & 2 deletions lib/constants/site.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Home, FileText, PencilRuler, Ghost } from "lucide-react";
import { Home, FileText, FolderGit2, Ghost, PenLine } from "lucide-react";

import type { Page } from "@/lib/types/site";

Expand All @@ -9,6 +9,7 @@ import type { Page } from "@/lib/types/site";
export const NAVBAR_PAGES: Page[] = [
{ name: "Home", slug: "/", icon: <Home /> },
{ name: "Resume", slug: "/resume", icon: <FileText /> },
{ name: "Projects", slug: "/projects", icon: <PencilRuler /> },
{ name: "Projects", slug: "/projects", icon: <FolderGit2 /> },
{ name: "About Me", slug: "/about", icon: <Ghost /> },
{ name: "Blog", slug: "/blog", icon: <PenLine /> },
];
7 changes: 1 addition & 6 deletions lib/types/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@ export type ExternalLink = {
/**
* Type for a page slug
*/
export type PageSlug =
| "/"
| "/resume"
// Design pages
| "/projects"
| "/about";
export type PageSlug = "/" | "/resume" | "/projects" | "/about" | "/blog";

/**
* Type for an external page
Expand Down
Binary file removed public/aboutme-option1.webp
Binary file not shown.
Binary file removed public/aboutme-option10.webp
Binary file not shown.
Binary file removed public/aboutme-option5.webp
Binary file not shown.
Binary file removed public/aboutme-option6.webp
Binary file not shown.
Binary file removed public/aboutme-option9.webp
Binary file not shown.