Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Revelación de Twitch en el Hero #79

Merged
merged 2 commits into from
Mar 9, 2024
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
68 changes: 11 additions & 57 deletions src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,68 +15,22 @@ const orgs = ['UGR', 'TSTC', 'OSL', {org: 'ETSIIT', rename: 'etsiit-horizontal-w
</style>

<!-- ====== Hero Section Start -->
<section
id="home"
class="relative overflow-hidden bg-gradient-to-bl from-primary/80 from-30% via-secondary/85 via-70% to-tertiary/95 h-[720px] pt-[120px] md:pt-[150px] lg:pt-[200px] pb-[75px] md:pb-[85px] lg:pb-[115px]"
>
<section id="home" class=" overflow-hidden bg-gradient-to-bl from-primary/80 from-30% via-secondary/85 via-70% to-tertiary/95 h-[1300px] pt-[120px] md:pt-[150px] lg:pt-[200px] pb-[75px] md:pb-[85px] lg:pb-[115px]">
<div class="absolute inset-0 min-h-full min-w-full -z-10">
<img src={heroImg.src} alt="" class="w-full h-full object-cover" />
</div>
<div class="flex flex-col items-center justify-center relative h-full">
<!-- <div
class="hero-content wow fadeInUp mx-auto max-w-[780px] text-center"
data-wow-delay=".2s"
> -->
<h1
class="mt-20 pt-5 mb-6 lg:mb-8 text-3xl font-bold leading-snug text-white sm:text-4xl sm:leading-snug lg:text-5xl lg:leading-[1.2]"
>
UGR LAN PARTY
</h1>

<p
class="texto-centrado mx-auto mb-4 max-w-[600px] font-medium text-base text-white sm:text-lg sm:leading-[1.44]"
>
¡El mayor evento universitario de eSports de Granada!
</p>


<div class="flex items-center justify-center px-5 py-5 my-3">
<div class="text-primary">
<!--<h1 class="text-3xl text-center mb-3 font-extralight">When will pubs open in England?*</h1>-->
<div class="text-5xl text-center flex w-full items-center justify-center">
<!--<div class="text-2xl mr-1 font-extralight">in</div>-->
<div class="w-20 mx-1 p-2 bg-white rounded-lg">
<div class="font-mono leading-none" id="days">00</div>
<div class="font-mono uppercase text-sm leading-none">Días</div>
</div>
<div class="w-20 mx-1 p-2 bg-white rounded-lg">
<div class="font-mono leading-none" id="hours">00</div>
<div class="font-mono uppercase text-sm leading-none">Horas</div>
</div>
<div class="w-20 mx-1 p-2 bg-white rounded-lg">
<div class="font-mono leading-none" id="minutes">00</div>
<div class="font-mono uppercase text-sm leading-none">Minutos</div>
</div>
<!--<div class="text-2xl mx-1 font-extralight">and</div>-->
<div class="w-20 mx-1 p-2 bg-white rounded-lg">
<div class="font-mono leading-none" id="seconds">00</div>
<div class="font-mono uppercase text-sm leading-none">Segundos</div>
</div>
</div>
</div>
</div>

<a
href="/inscribete"
class="inline-flex items-center justify-center rounded-md bg-white py-[14px] px-7 text-center text-base font-medium text-dark shadow-1 transition duration-300 ease-in-out hover:text-body-color hover:bg-gray-2"
>
Inscríbete
</a>

<div class="mt-8 lg:mt-10 flex justify-center items-center">
<img src="/assets/participan/organizan.png" alt="Organizaciones participantes" class="max-w-[90%] max-h-[200px] h-auto" />
<h1 class="mt-20 pt-24 mb-6 lg:mb-8 text-3xl font-bold leading-snug text-white sm:text-4xl sm:leading-snug lg:text-5xl lg:leading-[1.2]">UGR LAN PARTY</h1>
<p class="texto-centrado mx-auto mb-4 max-w-[600px] font-medium text-base text-white sm:text-lg sm:leading-[1.44]">¡El mayor evento universitario de eSports de Granada!</p>
<div class="items-center justify-center px-5 py-5 my-3">
<div class="items-center justify-center">
<iframe src="https://player.twitch.tv/?channel=ugr_lan_party&muted=true&autoplay=true&parent=ulp.ugr.es" height="700" width="1300" style="max-width: 100%;"></iframe>
</div>
<div class="mt-8 lg:mt-10 flex justify-center items-center">
<img src="/assets/participan/organizan.png" alt="Organizaciones participantes" class="max-w-[90%] max-h-[200px] h-auto" />
</div>
</div>

</div>
</section>
<!-- ====== Hero Section End -->

2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ import Trailer from '../components/TrailerSection.astro';
<About />
<CTAsection />
<Faq />
</Layout>
</Layout>
Loading