Skip to content

Commit

Permalink
Bump 2023 => 2024 (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
HassanBahati authored Mar 9, 2024
1 parent 5df40dc commit 6785f0f
Show file tree
Hide file tree
Showing 70 changed files with 3,191 additions and 84 deletions.
3 changes: 2 additions & 1 deletion utils/constants.js → 2023/utils/constants.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export const PYCONUG_EMAIL = `[email protected]`;
export const PYCON_MERCHANDIZE_URL = `https://www.quicket.co.ug/events/218513-pycon-uganda-2023/#/merchandise`;
export const QUICKET_LINK = "https://qkt.io/w31vDE";
export const QUICKET_LINK =
"https://www.quicket.co.ug/events/254188-pycon-uganda-2024?preview=t#/tickets";
export const DJANGO_GIRLS_REG = "https://forms.gle/K5nELeYzpfMR8yDf6";
3 changes: 3 additions & 0 deletions 2024/utils/constants.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export const VENUE = `NWSC International Resource Centre (IREC)`;
export const CONFERENCE_DATE = `9th - 13th October, 2024`;
export const CFP_LINK = `https://docs.google.com/forms/d/e/1FAIpQLSeGwFKzPU_ItBpepm-kK1fyiDKECp06H8lrgDtMGNGBIeCXYQ/viewform?vc=0&c=0&w=1&flr=0`;
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion app/contact/page.jsx → app/2023/contact/page.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PYCONUG_EMAIL } from "@/utils/constants";
import { PYCONUG_EMAIL } from "@/2023/utils/constants";

export default function ContactPage() {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Image from "next/image";
import Link from "next/link";
import { DJANGO_GIRLS_REG } from "@/utils/constants";
import { DJANGO_GIRLS_REG } from "@/2023/utils/constants";

export default function DjangoGirls() {
return (
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
38 changes: 38 additions & 0 deletions app/2023/layout.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import Navbar from "@/components/2023/layout/navbar";
import Footer from "@/components/2023/layout/footer";
import 'react-toastify/dist/ReactToastify.css';
import "@/app/globals.css";

export const metadata = {
title: "PyCon Uganda",
description: "First ever Python Conference in Uganda",
};

export default function RootLayout({ children }) {
return (
<html lang="en">

{/* <!-- Google tag (gtag.js) --> */}
<script async src="https://www.googletagmanager.com/gtag/js?id=G-TKTWYJW41C"></script>
<script>
{`
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-TKTWYJW41C');
`}
</script>

<link rel="preconnect" href="https://fonts.googleapis.com"/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="true" />
<link href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet"></link>

<body className="flex min-h-screen flex-col justify-between">
<Navbar />
<main className="">{children}</main>
<Footer />
</body>
</html>
);
}
2 changes: 1 addition & 1 deletion app/page.js → app/2023/page.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import HomeComponent from "@/components/home";
import HomeComponent from "@/components/2023/home";

export default function HomePage() {
return <HomeComponent />;
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion app/shop/page.jsx → app/2023/shop/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
MM_PURCHASE_STEPS,
QUICKET_PURCHASE_STEPS,
} from "@/components/shop/data";
import { PYCON_MERCHANDIZE_URL } from "@/utils/constants";
import { PYCON_MERCHANDIZE_URL } from "@/2023/utils/constants";

export default function Shop() {
return (
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion app/sponsors/page.jsx → app/2023/sponsors/page.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { PYCONUG_EMAIL } from "@/utils/constants";
import { PYCONUG_EMAIL } from "@/2023/utils/constants";

export default function SponsorsPage() {
return (
Expand Down
File renamed without changes.
40 changes: 40 additions & 0 deletions app/2024/attendee/[slug]/page.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
"use client";
import Image from "next/image";
import { useSearchParams } from "next/navigation";

export default function AttendeeDetails({ params }) {
const searchParams = useSearchParams();
const name = searchParams.get("name");
const email = searchParams.get("email");

return (
<div className="my-16">
<div className="max-w-2xl mx-4 sm:max-w-sm md:max-w-sm lg:max-w-sm xl:max-w-sm sm:mx-auto md:mx-auto lg:mx-auto xl:mx-auto mt-16 bg-white shadow-xl rounded-lg text-gray-900">
<div className="rounded-t-lg h-32 overflow-hidden">
<Image
height={300}
width={300}
className="object-cover object-top w-full"
src="/assets/images/pyconug-pallet.webp"
alt="Mountain"
/>
</div>
<div className="mx-auto w-32 h-32 relative -mt-16 border-4 border-white rounded-full overflow-hidden">
<Image
height={300}
width={300}
className="object-cover object-center h-32"
src="/assets/images/avatar.png"
alt="Pycon Attendee"
/>
</div>
<div className="text-center py-4">
<h2 className="font-semibold capitalize">
{name?.replace("-", " ")}
</h2>
<p className="text-gray-500">{email}</p>
</div>
</div>
</div>
);
}
Loading

0 comments on commit 6785f0f

Please sign in to comment.