Skip to content

Commit cc2151d

Browse files
HyteqHyteq
authored andcommitted
logo remove hover
1 parent 5ecdbdb commit cc2151d

2 files changed

Lines changed: 26 additions & 16 deletions

File tree

apps/dashboard/components/layout/logo.tsx

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
import Link from "next/link";
22
import Image from "next/image";
33

4+
import { Geist_Mono } from "next/font/google";
5+
6+
const geistMono = Geist_Mono({
7+
subsets: ['latin'],
8+
weight: ['400', '500', '600', '700'],
9+
variable: '--font-geist-mono',
10+
});
11+
412
export function Logo() {
513
return (
6-
<Link href="/" className="flex items-center gap-3 group">
14+
<Link href="/" className="flex items-center gap-3">
715
<div className="relative flex-shrink-0 transition-transform duration-200">
816
<Image
917
src="/logo.svg"
@@ -14,9 +22,9 @@ export function Logo() {
1422
priority
1523
/>
1624
</div>
17-
<div className="flex flex-col justify-center">
18-
<h1 className="
19-
font-mono
25+
<div className="flex items-center">
26+
<h1 className={`
27+
${geistMono.variable}
2028
text-lg
2129
tracking-wider
2230
text-foreground
@@ -25,11 +33,9 @@ export function Logo() {
2533
select-none
2634
transition-colors
2735
duration-200
28-
group-hover:text-primary
29-
">
36+
`}>
3037
DATABUDDY
3138
</h1>
32-
<div className="h-0.5 w-full bg-gradient-to-r from-primary/60 to-transparent rounded-full mt-0.5 opacity-0 group-hover:opacity-100 transition-opacity duration-300" />
3339
</div>
3440
</Link>
3541
);

apps/docs/components/logo.tsx

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
import Link from "next/link";
22
import Image from "next/image";
3+
import { Geist_Mono } from "next/font/google";
4+
5+
const geistMono = Geist_Mono({
6+
subsets: ['latin'],
7+
weight: ['400', '500', '600', '700'],
8+
variable: '--font-geist-mono',
9+
});
310

4-
// Logo content without Link wrapper - for use in navigation where parent provides Link
511
export function LogoContent() {
612
return (
713
<div className="flex items-center gap-3 group">
@@ -15,18 +21,17 @@ export function LogoContent() {
1521
priority
1622
/>
1723
</div>
18-
<div className="flex flex-col justify-center">
19-
<h1 className="
20-
font-mono
24+
<div className="flex items-center">
25+
<h1 className={`
26+
${geistMono.variable}
2127
text-lg
2228
tracking-wider
2329
font-semibold
2430
leading-none
2531
select-none
2632
transition-colors
2733
duration-200
28-
group-hover:opacity-80
29-
">
34+
`}>
3035
DATABUDDY
3136
</h1>
3237
</div>
@@ -37,7 +42,7 @@ export function LogoContent() {
3742
// Full Logo component with Link wrapper - for standalone use
3843
export function Logo() {
3944
return (
40-
<Link href="/" className="flex items-center gap-3 group">
45+
<Link href="/" className="flex items-center gap-3">
4146
<div className="relative flex-shrink-0">
4247
<Image
4348
src="/logo.svg"
@@ -48,7 +53,7 @@ export function Logo() {
4853
priority
4954
/>
5055
</div>
51-
<div className="flex flex-col justify-center">
56+
<div className="flex items-center">
5257
<h1 className="
5358
font-mono
5459
text-lg
@@ -58,7 +63,6 @@ export function Logo() {
5863
select-none
5964
transition-colors
6065
duration-200
61-
group-hover:opacity-80
6266
">
6367
DATABUDDY
6468
</h1>

0 commit comments

Comments
 (0)