diff --git a/public/retrowave-moon.png b/public/retrowave-moon.png new file mode 100755 index 0000000..0bbcbbe Binary files /dev/null and b/public/retrowave-moon.png differ diff --git a/src/components/Counter.astro b/src/components/Counter.astro index de5513f..4b42293 100644 --- a/src/components/Counter.astro +++ b/src/components/Counter.astro @@ -1,8 +1,10 @@ --- -const { count, title, sub } = Astro.props +import { Icon } from 'astro-icon/components' +const { icon = 'mdi:rocket', count, title, sub } = Astro.props --- -
{count}
{title}
{sub}
@@ -12,4 +14,10 @@ const { count, title, sub } = Astro.props div > p:first-child { color: var(--action-color); } + :global(.counter [data-icon]) { + display: block; + margin: 0px auto 1rem auto; + height: auto; + width: 4rem; + } diff --git a/src/components/Hero.astro b/src/components/Hero.astro index b24df03..e82b007 100644 --- a/src/components/Hero.astro +++ b/src/components/Hero.astro @@ -1,7 +1,7 @@ --- import { Icon } from 'astro-icon/components' -const { src = '/astronaut-hero-img.webp' } = Astro.props +const { src = '/retrowave-moon.png' } = Astro.props ---