First version of YoutubeVideo component

This commit is contained in:
prototypa
2024-03-02 05:40:41 -05:00
parent 6d8006556f
commit 41bfb81c97
2 changed files with 285 additions and 21 deletions

View File

@@ -11,6 +11,8 @@ import Features3 from '~/components/widgets/Features3.astro';
import FAQs from '~/components/widgets/FAQs.astro';
import Brands from '~/components/widgets/Brands.astro';
import YoutubeVideo from '~/components/common/YoutubeVideo.astro';
const metadata = {
title: 'Startup Landing Page',
};
@@ -39,23 +41,12 @@ const metadata = {
</Fragment>
<Fragment slot="subtitle">
Step into the spotlight with <span class="font-semibold">Astrowind</span> templates, your pathway to fortifying
your startup's digital footprint, fostering credibility, and expanding your reach.
Step into the spotlight with <span class="font-semibold">Astrowind</span> templates, your pathway to fortifying your
startup's digital footprint, fostering credibility, and expanding your reach.
</Fragment>
<Fragment slot="image">
<div class="relative h-0 pb-[56.25%]">
<iframe
width="560"
height="315"
src="https://www.youtube.com/embed/dsTXcSeAZq8"
title="YouTube video player"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;"
allowfullscreen
class="absolute top-0 left-0 w-full h-full"
>
</iframe>
</div>
<YoutubeVideo videoId="gxBkghlglTg" title="Astro just Launched.... Could it be the ultimate web framework?" />
</Fragment>
</Hero>
@@ -300,13 +291,15 @@ const metadata = {
<!-- CallToAction Widget *********** -->
<CallToAction
actions={[{
variant: "primary",
target: '_blank',
text: 'Get templates',
href: 'https://github.com/onwidget/astrowind',
icon: 'tabler:download',
}]}
actions={[
{
variant: 'primary',
target: '_blank',
text: 'Get templates',
href: 'https://github.com/onwidget/astrowind',
icon: 'tabler:download',
},
]}
>
<Fragment slot="title">Be a part of our vision</Fragment>