Skip to content

Commit a9b8397

Browse files
Jaromír TrnkaJaromír Trnka
authored andcommitted
astro check and icon anchor to home
1 parent 7ffa105 commit a9b8397

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/components/nav/Nav.astro

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ import MobileMenu from "./menu";
99
class="sticky top-0 z-50 grid grid-cols-[inherit] border-b border-b-border backdrop-blur-md [grid-column:_page]"
1010
>
1111
<div class="flex items-end justify-between py-4 [grid-column:_content]">
12-
<h1 class="scroll-m-20 text-2xl font-extrabold">SmartCook</h1>
12+
<a href="/"
13+
><Button variant="link" tabIndex={-1}>
14+
<h1 class="scroll-m-20 text-2xl font-extrabold">SmartCook</h1>
15+
</Button></a
16+
>
1317

1418
<nav class="max-md:hidden">
1519
<ul class="flex gap-2">

tailwind.config.js renamed to tailwind.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/** @type {import('tailwindcss').Config} */
2-
module.exports = {
2+
export default {
33
darkMode: ["class"],
44
content: [
55
"./pages/**/*.{ts,tsx}",

0 commit comments

Comments
 (0)