Skip to content

Commit baacf65

Browse files
committed
change mobile sizing
1 parent 9e6ddcc commit baacf65

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/Hero.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const { title, text, imgSrc } = Astro.props;
33
---
44

55
<section
6-
class="bg-[#F6F4EA] bg-cover bg-center min-h-[60vh] md:min-h-[700px] h-auto flex items-center justify-center relative"
6+
class="bg-[#F6F4EA] bg-cover bg-center h-screen md:min-h-[700px] flex items-center justify-center relative"
77
style={`background-image: url(${imgSrc}); background-size: cover; background-repeat: no-repeat;`}
88
>
99
<div class="w-full max-w-screen-xl text-center -mt-20">

src/components/MissionSection.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const { id, title, text, imgSrc } = Astro.props;
99
<div class="mx-auto max-w-screen-xl w-full">
1010
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-12 items-start">
1111
<!-- Left side - Figure and connecting text -->
12-
<div class="order-2 lg:order-1 space-y-6">
12+
<div class="order-1 lg:order-1 space-y-6">
1313
<p class="text-2xl md:text-3xl text-gray-800 font-bold font-chivo leading-relaxed">
1414
Connecting fermented foods, microbes, and their metabolites to health benefits.
1515
</p>
@@ -21,7 +21,7 @@ const { id, title, text, imgSrc } = Astro.props;
2121
</div>
2222

2323
<!-- Right side - Content -->
24-
<div class="order-1 lg:order-2 space-y-8">
24+
<div class="order-2 lg:order-2 space-y-8">
2525
<!-- Mission -->
2626
<div class="space-y-4">
2727
<h2 class="text-3xl font-bold font-chivo text-gray-800">Our Mission</h2>

0 commit comments

Comments
 (0)