Skip to content

Commit 4c8110a

Browse files
committed
v7
1 parent eccbf2e commit 4c8110a

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed

src/components/Fez.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import React from 'react';
2+
3+
const Fez = () => (
4+
<svg
5+
xmlns="http://www.w3.org/2000/svg"
6+
viewBox="0 0 100 100"
7+
width="40"
8+
height="40"
9+
className="text-white"
10+
style={{ transform: 'rotate(-30deg)' }}
11+
>
12+
<g transform="translate(0, -2)">
13+
<path
14+
d="M 20 40 C 20 30, 80 30, 80 40 L 85 70 C 85 75, 15 75, 15 70 Z"
15+
fill="white"
16+
stroke="white"
17+
strokeWidth="2"
18+
/>
19+
<path
20+
d="M 50 25 Q 60 15, 70 25"
21+
stroke="white"
22+
strokeWidth="2"
23+
fill="none"
24+
/>
25+
</g>
26+
</svg>
27+
);
28+
29+
export default Fez;

src/components/Navbar.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useState, useEffect } from 'react';
22
import { Link } from 'react-router-dom';
3-
import Logo from './Logo';
3+
import Fez from './Fez';
44

55
const Navbar = () => {
66
const [isScrolled, setIsScrolled] = useState(false);
@@ -19,7 +19,7 @@ const Navbar = () => {
1919
<header className={`backdrop-blur-sm sticky top-0 z-40 transition-colors border-b ${isScrolled ? 'border-gray-700/50' : 'border-transparent'}`}>
2020
<div className="container mx-auto flex justify-between items-center p-4 text-white">
2121
<Link to="/" className="flex items-center space-x-2">
22-
<Logo />
22+
<Fez />
2323
<span className="text-2xl font-semibold tracking-tight">fezcode</span>
2424
</Link>
2525
<div className="flex items-center space-x-6">

0 commit comments

Comments
 (0)