44 faHeart ,
55 faHouseChimneyWindow ,
66} from "@fortawesome/free-solid-svg-icons" ;
7- import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" ;
8- import { Button , Divider , Link } from "@heroui/react" ;
7+ import { Divider , Link } from "@heroui/react" ;
8+ import { ExternalLinkButton } from "./external-link-button" ;
9+ import { GradientIcon } from "./gradient-icon" ;
910
1011export function Footer ( ) {
1112 return (
@@ -15,12 +16,10 @@ export function Footer() {
1516 { /* Logo and tagline */ }
1617 < div className = "flex flex-col items-center space-y-4" >
1718 < div className = "flex items-center gap-3" >
18- < div className = "flex items-center justify-center w-10 h-10 bg-gradient-to-br from-primary-500 to-secondary-500 rounded-lg shadow-sm" >
19- < FontAwesomeIcon
20- icon = { faHouseChimneyWindow }
21- className = "text-white text-sm"
22- />
23- </ div >
19+ < GradientIcon
20+ icon = { faHouseChimneyWindow }
21+ size = "md"
22+ />
2423 < h3 className = "text-2xl font-bold bg-gradient-to-r from-primary-600 to-secondary-600 bg-clip-text text-transparent" >
2524 Cabin
2625 </ h3 >
@@ -33,55 +32,29 @@ export function Footer() {
3332
3433 { /* Mobile navigation - only shown on small screens */ }
3534 < div className = "flex sm:hidden flex-wrap justify-center gap-3" >
36- < Button
37- as = { Link }
35+ < ExternalLinkButton
3836 href = "https://docs.cabinpkg.com"
39- isExternal
40- variant = "flat"
41- size = "sm"
37+ icon = { faBookOpen }
4238 className = "text-default-600 hover:text-primary bg-default-100 hover:bg-primary/10 transition-all"
43- startContent = {
44- < FontAwesomeIcon
45- icon = { faBookOpen }
46- className = "text-sm"
47- />
48- }
4939 >
5040 Documentation
51- </ Button >
52- < Button
53- as = { Link }
41+ </ ExternalLinkButton >
42+ < ExternalLinkButton
5443 href = "https://github.com/cabinpkg"
55- isExternal
56- variant = "flat"
57- size = "sm"
44+ icon = { faGithub }
5845 className = "text-default-600 hover:text-primary bg-default-100 hover:bg-primary/10 transition-all"
59- startContent = {
60- < FontAwesomeIcon
61- icon = { faGithub }
62- className = "text-sm"
63- />
64- }
6546 >
6647 GitHub
67- </ Button >
68- < Button
69- as = { Link }
48+ </ ExternalLinkButton >
49+ < ExternalLinkButton
7050 href = "https://github.com/sponsors/ken-matsui"
71- isExternal
51+ icon = { faHeart }
7252 color = "danger"
73- variant = "flat"
74- size = "sm"
7553 className = "font-medium shadow-sm hover:shadow-md transition-shadow"
76- startContent = {
77- < FontAwesomeIcon
78- icon = { faHeart }
79- className = "text-sm animate-pulse"
80- />
81- }
54+ iconClassName = "animate-pulse"
8255 >
8356 Sponsor
84- </ Button >
57+ </ ExternalLinkButton >
8558 </ div >
8659
8760 { /* Divider */ }
0 commit comments