Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/layout/hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const stars3 = generateStars(22); // 3 px - few bright
</div>
</div>

<PeerlistWinnerBadge class="h-12 w-auto opacity-90" role="img" aria-label="2nd place winner at Peerlist" />
<a href="https://www.producthunt.com/products/stardrive-free-astro-boilerplate?embed=true&amp;utm_source=badge-featured&amp;utm_medium=badge&amp;utm_campaign=badge-stardrive-free-astro-boilerplate" target="_blank" rel="noopener noreferrer"><img alt="Stardrive - Free Astro Boilerplate - Create super stable, secure, and fast websites in the AI age | Product Hunt" width="250" height="54" src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=1196050&amp;theme=light&amp;t=1785525860596"></a>

<div class="promo-video card-glow-light relative mt-16 aspect-video w-full max-w-4xl overflow-hidden rounded-3xl border-4 border-white/20 bg-white/3 backdrop-blur" aria-label={t('labels.get-started') + ': npm create stardrive@latest'}>
<button type="button" class="promo-video__trigger group absolute inset-0 flex h-full w-full cursor-pointer items-center justify-center" data-video-id="JtV9U4FaNPk" aria-label="Play promo video">
Expand Down
8 changes: 3 additions & 5 deletions src/components/promo/top-banner.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
import { Icon } from "astro-icon/components";
import { useTranslations, getLocaleUrl } from "@utils/i18n";
import { useTranslations } from "@utils/i18n";

interface Props {
locale: string;
Expand All @@ -10,12 +10,10 @@ const { locale } = Astro.props as Props;
const t = useTranslations(locale);
---

<a href={getLocaleUrl('docs', locale)} id="top-banner" tabindex="-1" class="group z-50 hidden h-9 items-center justify-center gap-1 bg-rose-800 px-3 py-2 text-sm text-white no-underline hover:bg-rose-700 sm:flex">
<span>{t('global-promo.top-text-1')}</span>
<a href="https://www.producthunt.com/products/stardrive-free-astro-boilerplate" target="_blank" id="top-banner" tabindex="-1" class="group z-50 hidden h-9 items-center justify-center gap-1 bg-rose-800 px-3 py-2 text-sm text-white no-underline hover:bg-rose-700 xs:flex">
<span>{t('global-promo.top-text-1')} 🤩</span>
<span class="hidden truncate lg:inline">{t('global-promo.top-text-2')}</span>
<span class="text-normal px-1.5 opacity-50" aria-hidden="true">|</span>
<span class="flex shrink-0 items-center gap-2">
{t('global-promo.top-cta')}
<Icon name="heroicons:arrow-right" class="mr-1 h-4 w-4 shrink-0 transition-all group-hover:mr-0 group-hover:ml-1" aria-hidden="true" />
</span>
</a>
4 changes: 2 additions & 2 deletions src/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
"noi18n": "Nicht übersetzt"
},
"global-promo": {
"top-text-1": "Das ist nicht nur ein Theme!",
"top-text-2": "Es ist eine komplette Boilerplate und Template, um deine Website im Handumdrehen zum Laufen zu bringen.",
"top-text-1": "Wir sind live auf ProductHunt!",
"top-text-2": "Upvote und unterstütze uns, um dieses Projekt noch besser zu machen.",
"top-cta": "Mehr erfahren",
"footer-heading": "Jetzt registrieren",
"footer-text": "Entdecke unsere App. Sie ist kostenlos. Keine Kreditkarte erforderlich.",
Expand Down
4 changes: 2 additions & 2 deletions src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
"noi18n": "Not translated"
},
"global-promo": {
"top-text-1": "This is not just a theme!",
"top-text-2": "It's a whole boilerplate and template to get your website up and running in no time.",
"top-text-1": "We are live on ProductHunt!",
"top-text-2": "Upvote and support us to make this project even better.",
"top-cta": "Learn more",
"footer-heading": "Register now",
"footer-text": "Explore our app. It's free. No credit card required.",
Expand Down
4 changes: 2 additions & 2 deletions src/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
"noi18n": "No traducido"
},
"global-promo": {
"top-text-1": "¡Esto no es solo un tema!",
"top-text-2": "Es un boilerplate y una plantilla completos para poner tu sitio web en marcha en un abrir y cerrar de ojos.",
"top-text-1": "¡Estamos en ProductHunt!",
"top-text-2": "Vota y apóyanos para mejorar este proyecto.",
"top-cta": "Saber más",
"footer-heading": "Regístrate ahora",
"footer-text": "Explora nuestra app. Es gratis. No se requiere tarjeta de crédito.",
Expand Down
4 changes: 2 additions & 2 deletions src/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
"noi18n": "Non traduit"
},
"global-promo": {
"top-text-1": "Ce n'est pas qu'un simple thème !",
"top-text-2": "C'est un boilerplate et un modèle complets pour mettre votre site web en ligne en un rien de temps.",
"top-text-1": "Nous sommes en direct sur ProductHunt !",
"top-text-2": "Votez et soutenez-nous pour améliorer ce projet.",
"top-cta": "En savoir plus",
"footer-heading": "Inscrivez-vous maintenant",
"footer-text": "Découvrez notre application. C'est gratuit. Aucune carte de crédit requise.",
Expand Down