Skip to content

Commit

Permalink
chore: Update personal website deployment URL
Browse files Browse the repository at this point in the history
  • Loading branch information
akib1689 committed Aug 28, 2024
1 parent 7860e65 commit 0f372e9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 20 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Portfolio

This is my personal portfolio website. It is built with Next.js and Tailwind CSS. It is hosted using Github Pages. This is created with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app)
This is my personal portfolio website. It is built with Next.js and Tailwind CSS. It is hosted using Github Pages. This is created with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app)

## Getting Started

Expand All @@ -24,4 +24,4 @@ This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-opti

## Deploy on Github Pages

This project uses github pages using the `Github Actions` to deploy the project. The deployment is currently hosted into My personal Website [https://akib-89.github.io](https://akib-89.github.io)
This project uses github pages using the `Github Actions` to deploy the project. The deployment is currently hosted into My personal Website [https://akib1689.github.io](https://akib1689.github.io)
22 changes: 11 additions & 11 deletions package-lock.json

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

17 changes: 10 additions & 7 deletions src/components/desktop-nav.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
import React, { useState } from "react";
import {
NavigationMenu,
NavigationMenuContent,
NavigationMenuIndicator,
NavigationMenuItem,
NavigationMenuLink,
NavigationMenuList,
NavigationMenuTrigger,
NavigationMenuViewport,
navigationMenuTriggerStyle,
} from "@/components/ui/navigation-menu"
import Link from "next/link";
Expand All @@ -16,22 +12,29 @@ import Link from "next/link";
import Image from "next/image";
import logo from "@/public/logo.svg";

// theme of the website
import { useTheme } from "next-themes";

// menu items
import { menuList } from "@/lib/menu-list";
import { Button } from "./ui/button";
import { DownloadIcon } from "@radix-ui/react-icons";
import { ModeToggle } from "./mode-toggle";

import Logo from "../../public/logo";

import { NavigationMenuProps } from "@/components/navigation";

export function DesktopMenubar({ selectedItem, setSelectedItem, className, children }: NavigationMenuProps) {
// get the theme
const { theme } = useTheme();
return (
<div className="w-full flex flex-grow">
<div className="w-full pl-10">

<Logo fill="#fff" className=" h-8 w-auto"/>
<Logo
// set the fill of the logo depending on the theme
fill={theme === "dark" ? "#fff" : "#000"}
className=" h-8 w-auto"
/>

</div>
<NavigationMenu className=" justify-end pr-12">
Expand Down

0 comments on commit 0f372e9

Please sign in to comment.