diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 75f7961..0718687 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -21,15 +21,21 @@ export function Footer() {

- - Documentation - - - GitHub - - - Support Server - + + + Documentation + + + + + GitHub + + + + + Support Server + + @@ -44,4 +50,4 @@ export function Footer() { ); -} \ No newline at end of file +} diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index 5cdbdb7..b758c65 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -9,13 +9,10 @@ import MaterialIcon from "./MaterialIcon"; function M3EButtonWithIcon({ icon, label, href, variant = "filled", size = "medium", target, rel, trailingIcon, style, ...rest }) { - return ( + const button = ( @@ -24,6 +21,16 @@ function M3EButtonWithIcon({ icon, label, href, variant = "filled", size = "medi {trailingIcon && {trailingIcon}} ); + + if (href) { + return ( + + {button} + + ); + } + + return button; } export function Hero() {