Skip to content

Commit a8c52bc

Browse files
Merge pull request #93 from gormurad/develop
Develop
2 parents 9fde44e + bf98fef commit a8c52bc

File tree

4 files changed

+26
-28
lines changed

4 files changed

+26
-28
lines changed

website/components/Header.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ watch(isMenuOpen, (val) => {
2222
class="bg-[#101010] text-[#EDEEF2] shadow-md sticky top-0 left-0 z-50 py-5"
2323
>
2424
<BaseContainer>
25-
<nav class="mx-auto flex justify-between items-center xl:px-[88px] px-5">
25+
<nav class="mx-auto flex justify-between items-center px-5 xl:px-0">
2626
<NuxtLink
2727
to="/"
2828
class="text-lg font-bold"

website/components/home/FeaturesComponent.vue

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -44,31 +44,27 @@ const features = [
4444
<template>
4545
<BaseContainer>
4646
<section class="xl:pt-[120px] pt-[52px] xl:px-0 px-5 dark:bg-[#101010]">
47-
<h1 class="font-[BauhausNanoDisplayRegular] xl:text-[40px] text-[30px] mb-[48px] text-center text-[#101010] dark:text-[#EDEEF2]">
47+
<h1
48+
class="font-[BauhausNanoDisplayRegular] xl:text-[40px] text-[30px] mb-[48px] text-center text-[#101010] dark:text-[#EDEEF2]">
4849
Powerhouse Tools for Developers
4950
</h1>
50-
5151
<div class="grid grid-cols-1 md:grid-cols-2 gap-[43px] xl:pb-[70px] pb-[52px] mx-auto">
52-
<Card v-for="(f, i) in features" :key="i" class="border border-[#EDEEF2] dark:border-[#2B2A32] bg-transparent xl:p-8 p-5 rounded-3xl">
53-
<template #content>
54-
<div class="flex xl:gap-7 gap-4">
55-
<img
56-
v-if="isMounted"
57-
:src="`/website/icons/${colorMode.value === 'dark' ? f.icon : f.iconLight}`"
58-
:alt="f.title"
59-
class="xl:w-[56px] xl:h-[56px] w-[52px] h-[52px]"
60-
/>
61-
<div class="flex flex-col">
62-
<h3 class="xl:text-xl text-[19px] dark:text-[#EDEEF2] text-[#101010] mb-3 font-[BauhausNanoDisplayMedium]">
63-
{{ f.title }}
64-
</h3>
65-
<p class="dark:text-[#BBBBBF] text-[#2B2A32] xl:text-lg text-[17px] font-[InterRegular]">
66-
{{ f.details }}
67-
</p>
68-
</div>
52+
<div v-for="(f, i) in features" :key="i"
53+
class="border border-[#EDEEF2] dark:border-[#2B2A32] bg-transparent xl:p-8 p-5 rounded-3xl">
54+
<div class="flex xl:gap-7 gap-4">
55+
<img v-if="isMounted" :src="`/website/icons/${colorMode.value === 'dark' ? f.icon : f.iconLight}`"
56+
:alt="f.title" class="xl:w-[56px] xl:h-[56px] w-[52px] h-[52px]" />
57+
<div class="flex flex-col">
58+
<h3
59+
class="xl:text-xl text-[19px] dark:text-[#EDEEF2] text-[#101010] mb-3 font-[BauhausNanoDisplayMedium]">
60+
{{ f.title }}
61+
</h3>
62+
<p class="dark:text-[#BBBBBF] text-[#2B2A32] xl:text-lg text-[17px] font-[InterRegular]">
63+
{{ f.details }}
64+
</p>
6965
</div>
70-
</template>
71-
</Card>
66+
</div>
67+
</div>
7268
</div>
7369
</section>
7470
</BaseContainer>

website/components/home/HeroComponent.vue

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
<div v-if="!isMounted" class="fixed inset-0 flex items-center justify-center bg-black text-white z-50 transition-opacity duration-300">
44
<ProgressSpinner class="w-10 h-10 text-white" strokeWidth="4" animationDuration="1s" />
55
</div>
6-
<div v-if="isMounted" class="w-full bg-cover bg-center bg-no-repeat py-1 transition-opacity duration-500 ease-in" :style="{
6+
<div v-if="isMounted" class="w-full bg-cover flex items-center justify-between bg-center bg-no-repeat py-1 transition-opacity duration-500 ease-in xl:pb-10" :style="{
77
backgroundImage: `url(/images/${colorMode.value === 'dark' ? 'mask.svg' : 'mask-light.svg'})`,
88
backgroundColor: colorMode.value === 'dark' ? '#000000' : '#FFFFFF'
99
}">
10+
<div class="w-full bg-cover max-w-[1700px] mx-auto flex items-center justify-between xl:flex-row flex-col-reverse bg-center bg-no-repeat py-1 transition-opacity duration-500 ease-in">
1011
<BaseContainer>
11-
<div class="w-full flex justify-between items-center xl:px-0 px-5 xl:flex-row flex-col-reverse">
12-
<Card class="max-w-full xl:max-w-[550px] mt-0 xl:mt-16 mb-[54px] xl:mb-0 text-white shadow-none border-none bg-transparent">
12+
<div class="w-full flex justify-between items-center xl:px-0 pr-5 !pl-[30px]">
13+
<Card class="max-w-full xl:max-w-[550px] mt-0 mb-[54px] xl:mb-0 text-white shadow-none border-none bg-transparent">
1314
<template #content>
1415
<p class="flex flex-col xl:mb-10 mb-3">
1516
<span class="xl:text-[68px] text-4xl text-center xl:text-left font-[BauhausNanoDisplayRegular] leading-[110%] dark:text-[#EDEEF2] text-[#101010]">
@@ -26,11 +27,12 @@
2627
</div>
2728
</template>
2829
</Card>
29-
<div class="mb-11 xl:mb-0">
30-
<img src="/public/images/rectangle-cut.png" alt="Hero Section Image" class="max-w-[800px] w-full" />
31-
</div>
3230
</div>
3331
</BaseContainer>
32+
<div class="mb-11 xl:mb-0">
33+
<img src="/public/images/rectangle-cut.png" alt="Hero Section Image" class="max-w-[800px] w-full" />
34+
</div>
35+
</div>
3436
</div>
3537
</div>
3638
</template>
2.23 MB
Loading

0 commit comments

Comments
 (0)