Skip to content

Commit

Permalink
RustWeek2025 initial website
Browse files Browse the repository at this point in the history
  • Loading branch information
jdonszelmann committed May 21, 2024
1 parent 01a5544 commit 8acff5d
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 22 deletions.
6 changes: 2 additions & 4 deletions src/components/menu.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<a href="/speakers">Speakers</a>
<a href="/schedule">Schedule</a>
<a href="/industry">Industry</a>
<!-- <a href="/speakers">Speakers</a> --><!-- <a href="/schedule">Schedule</a> --><!-- <a href="/industry">Industry</a> -->
<a href="/about">About</a>
<a href="mailto:[email protected]">Contact</a>
<a href="/live" class="button button-secondary">🔴 Live recordings</a>
<!-- <a href="/live" class="button button-secondary">🔴 Live recordings</a> -->
35 changes: 27 additions & 8 deletions src/layouts/HomeLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,21 @@ import "../styles/index.scss";

<!doctype html>
<html lang="en">
<Head title="RustNL 2024" />
<Head title="RustWeek" />
<body>
<Header />
<div class="space-y-24">
<section class="hero">
<img src="/images/logo.svg" alt="Logo RustNL 2024" />
<p>May 7 & 8, 2024<br /><strong>Delft</strong>, The Netherlands</p>
<p>May 12 - 16, 2025<br /><strong>Delft</strong>, The Netherlands</p>
<div class="button-group">
<!-- href="https://www.eventbrite.nl/e/rustnl-2024-tickets-790061233417?aff=oddtdtcreator" -->
<!-- a href="/directions" class="button button-primary">Directions</a-->
<a href="/schedule" class="button button-primary">Schedule</a>
<a href="/live" class="button button-secondary">🔴 Live recordings</a>
<!-- <a href="/schedule" class="button button-primary">Schedule</a> -->
<!-- <a href="/live" class="button button-secondary">🔴 Live recordings</a> -->
<!-- <a href="https://2024.rustnl.org" class="button button-secondary" -->
<!-- >Last Year</a -->
<!-- > -->
</div>
<a class="down-arrow" href="#explainer"></a>
</section>
Expand All @@ -43,18 +46,33 @@ import "../styles/index.scss";
</div>
</div>
</section>
<section class="container space-y-6">

<!-- <section class="container space-y-6">
<h3 class="text-2xl text-center">Speaker highlights</h3>
<div class="grid md:cols-2 xl:cols-4" id="speakers">
<slot name="speakers" />
</div>
</section>
<section class="container space-y-6">
<div class="button-group">
<a href="/speakers" class="button button-primary">All our speakers</a>
</div>
</section>
</section> -->

<section class="container space-y-6">
<h3 class="text-2xl text-center">Last Year's Speakers</h3>
<div class="grid md:cols-2 xl:cols-4" id="speakers">
<slot name="speakers" />
</div>
</section>
<div class="button-group">
<a href="https://2024.rustnl.org/speakers" class="button button-primary"
>All of last year's speakers!</a
>
</div>

<!-- <section class="container space-y-6">
<h3 class="text-2xl text-center">Workshops by</h3>
<div class="grid md:cols-2 xl:cols-4" id="workshops">
<slot name="workshops" />
Expand All @@ -66,15 +84,16 @@ import "../styles/index.scss";
href="/workshops">Workshop details</a
>
</div>
</section>
</section> -->

<section class="container sponsors" id="sponsors">
<slot name="sponsors" />
</section>
<section class="container md:grid md:cols-12">
<div
class="text-lg md:col-start-3 md:col-end-11 xl:col-start-4 xl:col-end-10"
>
<slot name="about" />
<slot name="about" id="about" />
</div>
</section>
</div>
Expand Down
70 changes: 60 additions & 10 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,64 @@ import Sponsor from "../components/sponsor.astro";
import SponsorTier from "../components/sponsor-tier.astro";
---

<script>
document.querySelectorAll("[signup-form]").forEach((form) => {
form.addEventListener("submit", async (e: SubmitEvent) => {
e.preventDefault();
console.log(e);
await fetch(
`https://docs.google.com/forms/d/e/1FAIpQLSehxA98qwT-AILVWUoxOMTrYXfuphVas5o5WTazUGc3M1lH0Q/formResponse?&submit=Submit?usp=pp_url&entry.844319193=${document.getElementById("email-signup").value}`,
);
return false;
});
});
</script>

<HomeLayout>
<div class="markdown" slot="explainer">
<h1 id="explainer">RustNL 2024</h1>
<p>
RustNL 2024 is a wrap!<br />
Check out the recordings of Day 1 and 2 <a href="/live">here</a>.
</p>
<h1 id="explainer">RustWeek 2025</h1>
<p>
RustNL 2024 was:
After the <a href="https://2024.rustnl.org">2024 conference</a> we organised,
we knew we wanted more.
<br />
<br />
</p>
<p>RustWeek 2025</p>
<ul>
<li><strong>Two days</strong> of talks and workshops</li>
<li>Interaction space and plenty of breaks to talk</li>
<li>425 students, professionals, companies and individuals</li>
<li><strong>Two days</strong> of talks</li>
<li>Interaction space and plenty of breaks to talk and connect</li>
<li>Activities, in and around Delft</li>
<li>
A two day unconference for project members and various working
groups
</li>
</ul>
<p>
RustWeek 2025 is a conference organised by <a href="#about"
>RustNL</a
>
</p>
<p>
If you want a heads up when tickets are available, feel free to
leave your email address here: <br />(we won't advertise other
things through it)
<form signup-form class="button-group email-signup">
<input
type="text"
id="email-signup"
name="email-signup"
aria-label="Email"
placeholder="[email protected]"
required
/>
<button type="submit" class="button button-primary"
>Sign Up</button
>
</form>
</p>
</div>
<Fragment slot="sponsors">
<h3 class="text-2xl text-center">Our sponsors</h3>
<h3 class="text-2xl text-center">Last Year's Sponsors</h3>
<SponsorTier name="Headline sponsor">
<div class="sponsors-row">
<Sponsor
Expand Down Expand Up @@ -284,3 +324,13 @@ import SponsorTier from "../components/sponsor-tier.astro";
</p>
</div>
</HomeLayout>

<style>
input[type="text"] {
border-radius: var(--space-1);
font-size: var(--font-size-md);
font-weight: 700;
min-height: var(--space-12);
padding-inline: var(--space-6);
}
</style>

0 comments on commit 8acff5d

Please sign in to comment.