Skip to content

Commit 4225257

Browse files
fix: header logo
1 parent 8c7a109 commit 4225257

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

app/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {BsFillTerminalFill} from "react-icons/bs";
44

55
export default function IndexPage() {
66
return (
7+
// eslint-disable-next-line tailwindcss/no-contradicting-classname
78
<div id="home" className="bg-[url('/bg.png')] bg-center">
89
<div className={"flex h-screen items-center justify-center"}>
910
<section className="container grid items-center justify-center gap-6 pb-8 pt-6 md:py-10">

components/main-nav.tsx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
import * as React from "react"
22
import Link from "next/link"
33

4-
import { NavItem } from "@/types/nav"
5-
import { siteConfig } from "@/config/site"
6-
import { cn } from "@/lib/utils"
7-
import { Icons } from "@/components/icons"
4+
import {NavItem} from "@/types/nav"
5+
import {cn} from "@/lib/utils"
6+
import {Icons} from "@/components/icons"
87

98
interface MainNavProps {
109
items?: NavItem[]
1110
}
1211

13-
export function MainNav({ items }: MainNavProps) {
12+
export function MainNav({items}: MainNavProps) {
1413
return (
1514
<div className="flex gap-6 md:gap-10">
16-
<Link href="/" className="items-center space-x-2 flex">
17-
<Icons.logo className="h-6 w-6" />
15+
<Link href="/" className="flex items-center space-x-2">
16+
<Icons.logo className="h-6 w-6"/>
1817
</Link>
1918
{items?.length ? (
2019
<nav className="hidden gap-6 md:flex">

0 commit comments

Comments
 (0)