Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add 3.3 version #536

Open
wants to merge 2 commits into
base: staging
Choose a base branch
from
Open
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
61 changes: 0 additions & 61 deletions pwa/app/(con)/[locale]/con/2024/components/HomePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -252,67 +252,6 @@ const HomePage = ({ speakers, partners, images }: HomePageProps) => {
</div>
<Wave className="absolute opacity-30 z-0 bottom-0 h-[60vh] right-[6%] top-[38%] -translate-y-1/2 -rotate-[4deg]" />
</Section>
<Section
section="lastYear"
className="bg-white z-10 relative pb-10 overflow-y-clip"
>
<div className="container text-center">
<SectionTitle>
<Translate translationKey="last_edition.title" />
</SectionTitle>
<SectionSubTitle>
<Translate
translationKey="last_edition.subtitle"
translationParams={{
edition: "2023",
link: (
<a href={`/${locale}/con/2023/review`} className="link">
{t("last_edition.subtitle_link")}
</a>
),
}}
/>
</SectionSubTitle>
<PictureGallery
className="py-4"
link="https://www.flickr.com/photos/194052559@N02/albums/72177720311494546"
>
{images.map((image: string) => (
<Image
className="object-cover"
key={image}
fill
src={image}
alt=""
sizes="(max-width: 640px) 200px, (max-width: 768px) 240px, (max-width: 1536px) 300px, 400px"
/>
))}
</PictureGallery>
</div>
</Section>
<Section
section="missing"
className="relative z-10 text-center overflow-y-clip"
>
<div className="container text-center">
<SectionTitle dark>
<Translate
translationKey="missing_conferences.title"
translationParams={{ edition: "2023" }}
/>
</SectionTitle>
<SectionSubTitle dark>
{t("missing_conferences.subtitle")}
</SectionSubTitle>
<Button
className="mx-auto mb-10"
external
to="https://www.youtube.com/watch?v=Xo6w8YMjeNg&list=PL3hoUDjLa7eQ4jnGymiYRBmmOBz_skNmM"
>
{t("missing_conferences.watch_the_conferences")}
</Button>
</div>
</Section>
<Section
section="speakers"
className="bg-white z-10 relative py-4 overflow-x-hidden"
Expand Down
7 changes: 6 additions & 1 deletion pwa/app/(con)/[locale]/con/[edition]/speakers/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ export default async function Page({ params }: Props) {
}

export const generateStaticParams = async () => {
return [{ edition: "2021" }, { edition: "2022" }, { edition: "2023" }];
return [
{ edition: "2021" },
{ edition: "2022" },
{ edition: "2023" },
{ edition: "2024" },
];
};

export const dynamicParams = false;
5 changes: 3 additions & 2 deletions pwa/consts.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export const versions = [
"3.3",
"3.2",
"3.1",
"3.0",
Expand All @@ -12,6 +13,6 @@ export const versions = [
"main",
];

export const refVersions: string[] = ["3.2", "main"];
export const refVersions: string[] = ["3.3", "3.2", "main"];

export const current = "3.2";
export const current = "3.3";
22 changes: 22 additions & 0 deletions pwa/data/con/2024/days.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
const days = [
{
date: "2024-09-19",
title: {
fr: "Conference jour 1",
en: "Con Day 1",
},
tracks: ["1", "2"],
single: false,
},
{
date: "2024-09-20",
title: {
fr: "Conference jour 2",
en: "Con Day 2",
},
tracks: ["1", "2"],
single: false,
},
];

export default days;
4 changes: 4 additions & 0 deletions pwa/data/con/2024/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ const nav = {
to: "/{{locale}}/con/editions",
text: "nav.links.previous_editions",
},
{
to: "/{{locale}}/con/2024/speakers",
text: "nav.links.speakers",
},
{
to: "/{{locale}}/con/2024/#pricing",
text: "nav.links.pricing",
Expand Down
114 changes: 113 additions & 1 deletion pwa/data/con/2024/partners.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,117 @@
import { Partner } from "types/con";

const partners: Partner[] = [];
const partners: Partner[] = [
{
name: "SensioLabs",
logo: "sensiolabs",
link: "https://sensiolabs.com/fr/",
rank: 2,
highlight: true,
},
{
name: "Bump.sh",
logo: "bump-sh",
link: "https://bump.sh/",
rank: 2,
highlight: true,
},
{
name: "Platform.sh",
logo: "platform-sh",
link: "https://platform.sh/",
rank: 2,
highlight: true,
},
{
name: "France tv",
logo: "france-tv",
link: "https://www.francetelevisions.fr/",
rank: 2,
highlight: true,
},
{
name: "Commerce Weavers",
logo: "commerce-weavers",
link: "https://www.commerceweavers.com/",
rank: 2,
highlight: true,
},
{
name: "Alice's garden",
logo: "alice-garden",
link: "https://www.alicesgarden.fr/",
rank: 3,
},
{
name: "Fairness",
logo: "fairness",
link: "https://fairness.coop/",
rank: 4,
},
{
name: "Akawaka",
logo: "akawaka",
link: "https://www.akawaka.fr/",
rank: 4,
highlight: true,
},
{
name: "Orbitale.io",
logo: "orbitale",
link: "https://www.orbitale.io/en/",
rank: 4,
},
{
name: "Alximy",
logo: "alximy",
link: "https://alximy.io/",
rank: 5,
},
{
name: "JL recrutement",
logo: "jl-recrutement",
link: "https://www.jlrecrutement.com/",
rank: 5,
},
{
name: "WeLoveDevs",
logo: "we-love-dev",
link: "https://welovedevs.com/",
rank: 5,
highlight: true,
},
{
name: "Motiv'Her",
logo: "motivher",
link: "https://www.motivher.fr/",
rank: 5,
highlight: true,
},
{
name: "Afup",
logo: "afup",
link: "https://afup.org",
rank: 5,
highlight: true,
},
{
name: "Accor Group",
logo: "accor",
link: "https://all.accor.com/",
rank: 6,
},
{
name: "Euratechnologies",
logo: "euratechnologies",
link: "https://www.euratechnologies.com/",
rank: 6,
},
{
name: "Sticker mule",
logo: "sticker-mule",
link: "https://mule.to/p437",
rank: 6,
},
];

export default partners;
Empty file.
20 changes: 20 additions & 0 deletions pwa/data/con/2024/tracks.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { Track } from "types/con";

const tracks: Track[] = [
{
id: "1",
title: {
en: "Room 1",
fr: "Salle 1",
},
},
{
id: "2",
title: {
en: "Room 2",
fr: "Salle 2",
},
},
];

export default tracks;
1 change: 1 addition & 0 deletions pwa/docs-versions.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
3.3
3.2
3.1
3.0
Expand Down
Loading