Skip to content

Commit 7a951cc

Browse files
committed
Animate Ouranos logo on top bar
1 parent 0c567c0 commit 7a951cc

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

src/components/navigational/topBar/TopBar.tsx

+15-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,21 @@ export default function TopBar(props: Props) {
2929
onClick={() => window.scrollTo({ top: 0, behavior: "smooth" })}
3030
className="inline"
3131
>
32-
<Image src="/logo.svg" alt="Ouranos logo" width={100} height={100} />
32+
<div className="flex items-center gap-2 group">
33+
<Image
34+
src="/ouranos.svg"
35+
alt="Ouranos logo"
36+
width={30}
37+
height={30}
38+
className="block transition-transform duration-700 ease-in-out group-hover:rotate-180"
39+
/>
40+
<Image
41+
src="/ouranosText.svg"
42+
alt="Ouranos text"
43+
width={60}
44+
height={20}
45+
/>
46+
</div>{" "}
3347
</Button>
3448
<Link href="/dashboard/settings">
3549
<BiCog className="text-skin-icon-muted hover:text-skin-icon-base text-2xl md:text-3xl" />

0 commit comments

Comments
 (0)