Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"@astrojs/sitemap": "^3.3.0",
"@astrojs/tailwind": "^5.1.4",
"@fontsource-variable/inter": "^5.1.1",
"@fortawesome/fontawesome-free": "^6.7.2",
"@tailwindcss/typography": "^0.5.16",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.1",
Expand Down
9 changes: 9 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions public/icons/bluesky.svg

This file was deleted.

7 changes: 0 additions & 7 deletions public/icons/instagram.svg

This file was deleted.

16 changes: 0 additions & 16 deletions public/icons/linkedin.svg

This file was deleted.

2 changes: 0 additions & 2 deletions public/icons/mastodon.svg

This file was deleted.

1 change: 0 additions & 1 deletion public/icons/x.svg

This file was deleted.

6 changes: 0 additions & 6 deletions public/icons/youtube.svg

This file was deleted.

6 changes: 1 addition & 5 deletions src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// all pages through the use of the <BaseHead /> component.
import "../styles/global.css";
import "@fontsource-variable/inter";
import "@fortawesome/fontawesome-free/css/all.min.css"

interface Props {
title: string;
Expand Down Expand Up @@ -58,8 +59,3 @@ const { title, description, image = "/social-card.png" } = Astro.props;
is:inline
data-domain="ep2025.europython.eu"
src="https://plausible.io/js/script.js"></script>

<script
is:inline
src="https://kit.fontawesome.com/14a4971ab3.js"
crossorigin="anonymous"></script>
87 changes: 42 additions & 45 deletions src/components/sections/subscribe.astro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
import Button from "@ui/Button.astro";
const socialLinks = [
{ href: "https://linkedin.com/company/europython/", icon: "linkedin" },
{ href: "https://instagram.com/europython/", icon: "instagram" },
Expand All @@ -10,56 +11,52 @@ const socialLinks = [
---

<div class="full-bleed w-full bg-[#d4d5e5] flex flex-col items-center justify-center py-08 px-4 text-center">
<div class="w-full bg-[#d4d5e5] flex flex-col items-center justify-center py-20 px-4 text-center relative z-10">
<h1 class="text-4xl md:text-6xl font-bold mb-10 leading-tight text-[#17223A]">
Follow us<br />for updates
</h1>
<div class="w-full bg-[#d4d5e5] flex flex-col items-center justify-center py-20 px-4 text-center relative z-10">
<h1 class="text-4xl md:text-6xl font-bold mb-10 leading-tight text-[#17223A]">
Follow us<br />for updates!
</h1>

<div class="flex justify-center flex-wrap gap-6 mb-8">
{socialLinks.map(({ href, icon }) => (
<a
href={href}
target="_blank"
rel="noopener noreferrer"
class="w-16 h-16 flex items-center justify-center border-2 border-yellow-400 rounded-full hover:scale-110 transition-transform"
>
<img src={`/icons/${icon}.svg`} alt={icon} class="w-6 h-6" />
</a>
))}
</div>
<div class="flex justify-center flex-wrap gap-6 mb-8">
{socialLinks.map(({ href, icon }) => (
<a
href={href}
target="_blank"
rel="noopener noreferrer"
class="w-16 h-16 flex items-center justify-center border-2 border-yellow-400 rounded-full hover:scale-110 transition-transform"
>
<i class={`fab fa-${icon} text-2xl text-[#17223A]`}></i>
</a>
))}
</div>

<p class="text-[#151f38] mb-8 text-sm md:text-base">
Subscribe to our conference newsletter and get<br />
the latest updates and special deals
</p>
<p class="text-[#151f38] mb-8 text-sm md:text-base">
Subscribe to our conference newsletter and get<br />
the latest updates and special deals
</p>

<form
id="subscribeForm"
class="flex flex-col sm:flex-row justify-center items-center gap-4"
>
<input
id="emailInput"
type="email"
name="email"
placeholder="Your email"
required
class="px-4 py-3 rounded-[10px] bg-white text-black text-base font-medium w-72 text-center"
/>
<button
type="submit"
class="font-bold text-lg px-4 py-4 bg-button rounded-[10px] inline-block leading-4 hover:bg-button-hover not-prose outline-solid outline bg-transparent text-xl text-secondary outline-secondary text-black"
<form
id="subscribeForm"
class="flex flex-col sm:flex-row justify-center items-center gap-4"
>
Subscribe
</button>
</form>
<input
id="emailInput"
type="email"
name="email"
placeholder="Your email"
required
class="px-4 py-3 rounded-[10px] bg-white text-black text-base font-medium w-72 text-center"
/>

<p
id="subscribeMessage"
class="hidden mt-4 text-green-600 text-lg font-medium transition-opacity duration-500 opacity-0"
>
Please check your email to confirm. 📬
</p>
</div>
<Button outline type="submit"> Subscribe </Button>
</form>

<p
id="subscribeMessage"
class="hidden mt-4 text-green-600 text-lg font-medium transition-opacity duration-500 opacity-0"
>
Please check your email to confirm. 📬
</p>
</div>
</div>

<script>
Expand Down
2 changes: 2 additions & 0 deletions src/components/ui/Button.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Icon from "@ui/Icon.astro";
const {
url,
class: className = "",
type,
secondary = false,
outline = false,
disabled = false,
Expand Down Expand Up @@ -32,6 +33,7 @@ const iconClasses = "mx-2 ";
${disabled ? disabledClasses : ""}
${className}`}
aria-disabled={disabled}
type={type}
{...(resolvedIsExternal ? { target: "_blank", rel: "noopener noreferrer" } : {})}
>
{!iconRight && icon && <Icon name={icon} svg={iconSvg} class={iconClasses} />}
Expand Down
1 change: 1 addition & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import Header from "../components/header/header.astro";
import Footer from "../components/footer.astro";
import BaseHead from "../components/BaseHead.astro";
import "@fortawesome/fontawesome-free/css/all.min.css"

export interface Props {
title: string;
Expand Down