Skip to content

Commit bdd627b

Browse files
committed
fix header padding
1 parent 8b45e33 commit bdd627b

File tree

3 files changed

+33
-29
lines changed

3 files changed

+33
-29
lines changed

src/components/Header.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="drawer">
1+
<div class="drawer px-8 pt-2 md:px-12 md:pt-6 lg:px-32">
22
<input id="my-drawer-3" type="checkbox" class="drawer-toggle" />
33
<div class="drawer-content flex flex-col">
44
<!-- Navbar -->

src/components/Hero.astro

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,33 @@
1-
<div
2-
class="flex w-full flex-col-reverse justify-between gap-64 px-8 py-24 pt-2 md:px-12 md:pt-6 lg:flex-row-reverse lg:px-32"
3-
>
4-
<!-- <div class="relative hidden h-[60vh] w-2/3 min-w-max max-w-xl rounded-lg shadow-2xl xl:block"> -->
5-
<!-- <div -->
6-
<!-- class="custom-gradient absolute inset-0 -z-50 rounded-xl border-4 border-white p-4 shadow-2xl blur-xl" -->
7-
<!-- > -->
8-
<!-- </div> -->
9-
<!-- <div class="absolute inset-0 rounded-xl bg-white p-4 opacity-30 backdrop-blur-lg"></div> -->
10-
<!-- <div class="absolute inset-0 rounded-xl bg-gradient-to-b from-white/20 p-4 backdrop-blur-lg"> -->
11-
<!-- </div> -->
12-
<!-- </div> -->
13-
<div>
14-
<h1 class="z-30 bg-[url('/rectangle.svg')] bg-contain bg-no-repeat text-6xl font-bold">
15-
Transform your content into viral shorts
16-
</h1>
17-
<p class="py-7 text-2xl">
18-
Increase your audience reach with high quality shorts video content tailored for your brand.
19-
Expand your reach through all social media platforms.
20-
</p>
21-
<a href="#pricing"
22-
><button class="btn btn-accent btn-lg rounded-full normal-case">Short now</button></a
23-
>
1+
<div class="min-h-[80vh] xl:min-h-[85vh]">
2+
<div
3+
class="flex w-full flex-col-reverse justify-between gap-64 px-8 py-24 pt-2 md:px-12 md:pt-6 lg:flex-row-reverse lg:px-32"
4+
>
5+
<!-- <div class="relative hidden h-[60vh] w-2/3 min-w-max max-w-xl rounded-lg shadow-2xl xl:block"> -->
6+
<!-- <div -->
7+
<!-- class="custom-gradient absolute inset-0 -z-50 rounded-xl border-4 border-white p-4 shadow-2xl blur-xl" -->
8+
<!-- > -->
9+
<!-- </div> -->
10+
<!-- <div class="absolute inset-0 rounded-xl bg-white p-4 opacity-30 backdrop-blur-lg"></div> -->
11+
<!-- <div class="absolute inset-0 rounded-xl bg-gradient-to-b from-white/20 p-4 backdrop-blur-lg"> -->
12+
<!-- </div> -->
13+
<!-- </div> -->
14+
<div>
15+
<h1 class="z-30 bg-[url('/rectangle.svg')] bg-contain bg-no-repeat text-6xl font-bold">
16+
Transform your content into viral shorts
17+
</h1>
18+
<p class="py-7 text-2xl">
19+
Increase your audience reach with high quality shorts video content tailored for your brand.
20+
Expand your reach through all social media platforms.
21+
</p>
22+
<a href="#pricing"
23+
><button class="btn btn-accent btn-lg rounded-full normal-case">Short now</button></a
24+
>
25+
</div>
26+
</div>
27+
<div
28+
class="absolute bottom-0 -z-10 h-screen min-h-screen w-full translate-y-48 overflow-visible bg-[url('/hero-left-bg.svg')] bg-contain bg-bottom bg-no-repeat"
29+
>
2430
</div>
25-
</div>
26-
<div
27-
class="absolute bottom-0 -z-10 h-screen min-h-screen w-full translate-y-48 overflow-visible bg-[url('/hero-left-bg.svg')] bg-contain bg-bottom bg-no-repeat"
28-
>
2931
</div>
3032
<style>
3133
.custom-gradient {

src/components/Offers.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ interface Props {
1111
const { href, price, body } = Astro.props
1212
---
1313

14-
<div class="card w-96 rounded-2xl border border-base-content bg-black/40 p-1 shadow-xl">
14+
<div
15+
class="card w-96 rounded-2xl border border-base-content bg-black/40 p-1 shadow-xl hover:bg-black/10"
16+
>
1517
<figure class="space-x-2 px-10 pt-10">
1618
<h2 class="text-6xl font-bold">{price}$</h2><p>/ month</p>
1719
</figure>

0 commit comments

Comments
 (0)