File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import type React from "react" ;
2+
13import "./styles.css" ;
24
5+ function HoverkraftLogo ( ) : React . ReactElement {
6+ return (
7+ < svg
8+ className = "hoverkraft-footer__logo"
9+ viewBox = "0 0 200 60"
10+ fill = "none"
11+ xmlns = "http://www.w3.org/2000/svg"
12+ aria-label = "Hoverkraft Logo"
13+ >
14+ < defs >
15+ < linearGradient id = "logoGradient" x1 = "0%" y1 = "0%" x2 = "100%" y2 = "0%" >
16+ < stop offset = "0%" stopColor = "#1998ff" />
17+ < stop offset = "100%" stopColor = "#ff5a02" />
18+ </ linearGradient >
19+ </ defs >
20+ { /* Stylized "H" icon */ }
21+ < rect x = "10" y = "15" width = "8" height = "30" fill = "url(#logoGradient)" rx = "2" />
22+ < rect x = "32" y = "15" width = "8" height = "30" fill = "url(#logoGradient)" rx = "2" />
23+ < rect x = "18" y = "27" width = "14" height = "6" fill = "url(#logoGradient)" rx = "2" />
24+ { /* Text "Hoverkraft" */ }
25+ < text
26+ x = "55"
27+ y = "38"
28+ fontFamily = "Inter, sans-serif"
29+ fontSize = "24"
30+ fontWeight = "700"
31+ fill = "#ffffff"
32+ >
33+ Hoverkraft
34+ </ text >
35+ </ svg >
36+ ) ;
37+ }
38+
339export default function HoverkraftFooter ( ) : JSX . Element {
440 return (
541 < footer className = "hoverkraft-footer" role = "contentinfo" >
642 < div className = "hoverkraft-footer__content" >
7- < div className = "hoverkraft-footer__section" >
8- < h4 > Hoverkraft </ h4 >
43+ < div className = "hoverkraft-footer__section hoverkraft-footer__brand " >
44+ < HoverkraftLogo / >
945 < p > Building the future of technology.</ p >
1046 </ div >
1147
Original file line number Diff line number Diff line change 2929 z-index : 1 ;
3030}
3131
32+ .hoverkraft-footer__brand {
33+ display : flex;
34+ flex-direction : column;
35+ gap : 1rem ;
36+ }
37+
38+ .hoverkraft-footer__logo {
39+ height : 50px ;
40+ width : auto;
41+ max-width : 200px ;
42+ transition : transform 0.3s ease;
43+ }
44+
45+ /* Respect user motion preferences for logo animation */
46+ @media (prefers-reduced-motion : no-preference) {
47+ .hoverkraft-footer__logo : hover {
48+ transform : scale (1.05 );
49+ }
50+ }
51+
3252.hoverkraft-footer__section h4 {
3353 color : var (--hk-color-primary );
3454 margin-bottom : 1rem ;
You can’t perform that action at this time.
0 commit comments