mirror of
https://github.com/Lapikud/lapikud.github.io.git
synced 2026-08-09 00:49:13 +00:00
small fixes, hero and navbar
This commit is contained in:
@@ -56,7 +56,11 @@
|
||||
<div class="pointer-events-none absolute inset-y-0 left-1/2 w-screen -translate-x-1/2 bg-linear-to-r from-black/65 via-black/35 to-transparent" aria-hidden="true"></div>
|
||||
<div class="relative z-20 flex min-h-screen w-full items-stretch py-8 md:py-12">
|
||||
<div class="flex w-full max-w-115 flex-col justify-between">
|
||||
<img src="/assets/LapLogo_white_orange.png" alt={$text["hero"]?.logoAlt || "MTÜ Lapikud"} class="w-full max-w-55 md:max-w-65 h-auto"/>
|
||||
<Image
|
||||
src="/assets/LapLogo_white_orange.png"
|
||||
alt={$text["hero"]?.logoAlt || "MTÜ Lapikud"}
|
||||
class="w-full max-w-65 md:max-w-80 h-auto pt-5 md:pt-10"
|
||||
/>
|
||||
<div class="flex flex-col items-start gap-5">
|
||||
<p class="w-full max-w-110 text-left text-lg leading-[165%] text-white drop-shadow-[0_2px_8px_rgba(0,0,0,0.6)] md:max-w-125 md:text-xl">
|
||||
{$text["hero"]?.description || "MTÜ Lapikud on Tallinna Tehnikaülikooli Tarkvaraarendusklubi, mis ühendab endisi ja praegusi IT huvilisi tudengeid."}
|
||||
@@ -173,7 +177,7 @@
|
||||
|
||||
<div class="flex items-center gap-4">
|
||||
<Button
|
||||
class="rounded-md border-orange-500 bg-orange-500 px-20 py-2 transition-colors hover:border-orange-300 hover:bg-orange-300"
|
||||
class="border-orange-500 bg-orange-500 px-20 py-2 transition-colors hover:border-orange-300 hover:bg-orange-300"
|
||||
onClick={() => navigate($currentLang === "en" ? "/contact" : "/kontakt")}
|
||||
>
|
||||
{$text["aboutSection"]?.contact || "Kontakt"}
|
||||
@@ -184,7 +188,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="relative overflow-hidden min-h-80 md:min-h-0 md:h-full md:self-stretch">
|
||||
<div class="relative overflow-hidden min-h-90 md:h-full md:self-stretch">
|
||||
<div class="absolute inset-0">
|
||||
<Image
|
||||
src="/assets/home-page-images/about_us.png"
|
||||
@@ -283,11 +287,11 @@
|
||||
gap="gap-y-0 md:gap-x-[clamp(5.75rem,9vw,9.75rem)] lg:gap-x-[clamp(6rem,9vw,10.5rem)]"
|
||||
class="pb-10"
|
||||
>
|
||||
<div class="relative overflow-hidden min-h-80 md:min-h-0 md:h-full md:self-stretch">
|
||||
<div class="relative overflow-hidden min-h-90 md:min-h-0 md:h-full md:self-stretch">
|
||||
<div class="absolute inset-0">
|
||||
<Image
|
||||
src="/assets/home-page-images/temp.png"
|
||||
alt={$text["whatWeDo"]?.imageAlt || "Lapikute arendatud projekt"}
|
||||
alt={$text["whatWeDo"]?.imageAlt || "Lapikud parandamas riistvara"}
|
||||
objectFit="cover"
|
||||
class="h-full w-full max-w-none!"
|
||||
pictureClass="block h-full w-full"
|
||||
@@ -320,8 +324,8 @@
|
||||
<div class="flex items-center gap-4">
|
||||
<ArrowLeft class="h-12 w-12 text-orange-500 md:h-14 md:w-14" strokeWidth={2.4} />
|
||||
<Button
|
||||
class="rounded-md border-orange-500 bg-orange-500 px-20 py-2 transition-colors hover:border-orange-300 hover:bg-orange-300"
|
||||
onClick={() => navigate($currentLang === "en" ? "/contact" : "/kontakt")}
|
||||
class="border-orange-500 bg-orange-500 px-20 py-2 transition-colors hover:border-orange-300 hover:bg-orange-300"
|
||||
onClick={() => navigate($currentLang === "en" ? "/student" : "/tudengile")}
|
||||
>
|
||||
{$text["whatWeDo"]?.contact || "Kontakt"}
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user