Skip to content
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
Binary file added public/agrobot-students-working-landing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
39 changes: 39 additions & 0 deletions src/components/landing/RootsSection.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
// src/components/landing/RootsSection.astro
---

<section class="bg-white px-6 py-24 sm:py-28 lg:px-8">
<div class="mx-auto grid max-w-6xl items-center gap-12 lg:grid-cols-2">
<!-- Text -->
<div class="text-center lg:text-left">
<h2 class="text-4xl font-medium tracking-tight text-black sm:text-5xl">
How Agrobot took root
</h2>

<p
class="mx-auto mt-5 max-w-xl text-xl leading-snug text-black/80 lg:mx-0"
>
UBC Agrobot began as a student initiative to bring robotics into
agriculture. Now, we design practical solutions for modern farming.
</p>

<div class="mt-7">
<a
href="/about"
class="inline-flex items-center justify-center rounded-full border border-black/15 px-6 py-2 text-base font-semibold text-black shadow-sm transition hover:bg-black hover:text-white"
>
Learn more
</a>
</div>
</div>

<!-- Image -->
<div class="flex justify-center lg:justify-end">
<img
src="/agrobot-photo.jpg"
alt="UBC Agrobot students working on a robotics project"
class="h-[300px] w-full max-w-[440px] rounded-[2rem] object-cover shadow-sm sm:h-[320px]"
/>
</div>
</div>
</section>
2 changes: 2 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Welcome from "../components/Welcome.astro";
import Layout from "../layouts/Layout.astro";
import LandingHero from "../components/content/LandingHero.astro";
import MeetLeads from "../components/content/MeetLeads.astro";
import RootsSection from "../components/landing/RootsSection.astro";

// Welcome to Astro! Wondering what to do next? Check out the Astro documentation at https://docs.astro.build
// Don't want to use any of this? Delete everything in this file, the `assets`, `components`, and `layouts` directories, and start fresh.
Expand All @@ -11,6 +12,7 @@ import MeetLeads from "../components/content/MeetLeads.astro";
<Layout>
<main class="pb-64">
<LandingHero />
<RootsSection />
<MeetLeads />
</main>
</Layout>
Loading