Skip to content

Commit

Permalink
Move the 2023-10-12 talks to the past events page and update main page (
Browse files Browse the repository at this point in the history
  • Loading branch information
joekr committed Oct 19, 2023
1 parent 42b8e4b commit 83ba8e0
Show file tree
Hide file tree
Showing 7 changed files with 153 additions and 35 deletions.
14 changes: 9 additions & 5 deletions src/app/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ export default function Nav() {
setMenu(!menu);
};

// having this blank hides the link
const ticketURL = "";

return (
<nav className="bg-accent z-20">
<div className="h-24 flex flex-col lg:flex-row lg:items-center lg:justify-end text-3xl font-montserrat font-thin">
Expand Down Expand Up @@ -44,13 +47,12 @@ export default function Nav() {
<Link href="/talks" className="my-4">
Talks
</Link>
<a
href="https://www.eventbrite.com/e/lextalktech-oct-12-2023-tickets-716404403857"
className="my-4 flex gap-2"
>
{ticketURL &&
<a href={ticketURL} className="my-4 flex gap-2">
<FaArrowUpRightFromSquare className="text-xl" />
Tickets
</a>
}
<Link href="/team" className="my-4">
Team
</Link>
Expand Down Expand Up @@ -79,13 +81,15 @@ export default function Nav() {
>
Talks
</Link>
{ticketURL &&
<a
href="https://www.eventbrite.com/e/lextalktech-oct-12-2023-tickets-716404403857"
href={ticketURL}
className="flex gap-2 border-b-2 border-transparent duration-150 hover:scale-110 hover:border-text hover:-translate-y-2"
>
<FaArrowUpRightFromSquare className="text-xl" />
Tickets
</a>
}
<Link
href="/team"
className="border-b-2 border-transparent duration-150 hover:scale-110 hover:border-text hover:-translate-y-2"
Expand Down
5 changes: 3 additions & 2 deletions src/app/components/Landing.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,13 @@ export const Landing: React.FC<LandingProps> = ({ date }: LandingProps) => {
<span>A quarterly tech conference in the bluegrass</span>
<span className="font-thin my-2 lg:my-4">{formattedDate}</span>
</div>
<Link
Tickets available once schedule is set
{/* <Link
href="https://www.eventbrite.com/e/lextalktech-oct-12-2023-tickets-716404403857"
className="text-2xl lg:text-3xl bg-primary/50 py-3 px-6 rounded-full border border-white/25 shadow-xl backdrop-blur-sm border-b-2 duration-150 hover:scale-110 hover:border-text hover:-translate-y-2"
>
Tickets
</Link>
</Link> */}
</div>
</div>
</div>
Expand Down
26 changes: 13 additions & 13 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,33 @@ export default function Home() {
},
{
time: "6:00pm",
topic: "LexTalk - Tech Intro",
topic: "LexTalk - Tech Welcome 👋🤠",
presenter: "Joe Kratzat",
},
{
time: "6:15pm",
topic: "Ham Radio",
presenter: "Todd Willey",
topic: "TBD",
presenter: "TBD",
},
{
time: "6:30pm",
topic: "Development",
presenter: "Davis St. Aubin",
topic: "TBD",
presenter: "TBD",
},
{
time: "6:45pm",
topic: "Vue.js",
presenter: "Craig Geil",
topic: "TBD",
presenter: "TBD",
},
{
time: "7:00pm",
topic: "Assembly",
presenter: "John Martinez",
topic: "TBD",
presenter: "TBD",
},
{
time: "7:30pm",
topic: "Generative AI",
presenter: "Lee Park",
topic: "TBD",
presenter: "TBD",
},
{
time: "8:00pm",
Expand All @@ -49,12 +49,12 @@ export default function Home() {
},
{
time: "8:00pm - 10:00pm",
topic: "Pizza and beer afterward",
topic: "Food and drinks afterward",
presenter: "",
},
],
// Dates are 0 indexed in JavaScript, so October = 9
date: new Date(2023, 9, 12, 18),
date: new Date(2024, 0, 25, 18),
};

return (
Expand Down
44 changes: 44 additions & 0 deletions src/app/past/2023-10-12/components/Talk.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
interface TalkProps {
talk: {
time: string;
title: string;
info?: string;
presenter?: string;
link?: string;
};
}

export const Talk: React.FC<TalkProps> = ({ talk }) => {
return (
<>
<div className="flex flex-col items-center text-xl my-8 px-4 max-w-screen-lg mx-auto w-full">
<p className="border-b-2 border-text w-full text-3xl">{talk.time}</p>
<div className="w-full">
<h2 className="text-3xl font-bold text-left">{talk.title}</h2>
{talk.presenter &&
<p>
<span className="font-bold">Presenter: </span>
{talk.presenter}
</p>
}
{talk.info &&
<p>
<span className="font-bold">Info: </span>
{talk.info}
</p>
}
{talk.link &&
<p>
<a href={talk.link}
className="mx-4 border-b-2 border-transparent duration-150 hover:scale-110 hover:border-text hover:-translate-y-2">
<span className="font-bold">Resources: </span>
{talk.link}
</a>
</p>
}
</div>
</div>
</>
);
};

66 changes: 66 additions & 0 deletions src/app/past/2023-10-12/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
import { Talk } from "./components/Talk";

export default function Talks() {
const talkData = {
schedule: [
{
time: "6:15pm",
title: "Ham Radio: Where Even Experts are Amateurs",
info: "A brief introduction into the Amateur Radio Service and how hams operate.",
presenter: "Todd Willey",
},
{
time: "6:30pm",
title: "Things I hate about developers ",
info: "",
presenter: "Davis St. Aubin",
resources: "",
},
{
time: "6:45pm",
title: "Introduction to Vue.js",
info: "",
presenter: "Craig Geil",
resources: "",
},
{
time: "7:00pm",
title: "ASM R you serious",
info: "",
presenter: "John Martinez",
resources: "",
},
{
time: "7:30pm",
title: "LLMs throughout the lifecycle of Generative AI Projects",
info: "Focused more on demystifying some keywords people vaguely understand about customizing language models for specific use cases.",
presenter: "Lee Park",
resources: "",
},
],
date: new Date(2023, 4, 18),
};

const formattedDate = talkData.date.toLocaleDateString("en-US", {
year: "numeric",
month: "long",
day: "numeric",
});

return (
<>
<div className="text-center my-10 bg-accent w-fit mx-auto p-5 ring ring-primary rounded-lg drop-shadow-2xl">
<h1 className="text-5xl font-bold font-montserrat text-center">
Talks
</h1>
<span className="text-xl">
This LexTalk was on {formattedDate}
</span>
</div>

{talkData.schedule.map((talk, index) => (
<Talk key={index} talk={talk} />
))}
</>
);
}
5 changes: 4 additions & 1 deletion src/app/past/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ export default function Past() {
<tbody>
<tr key="1" className="">
<td className="m-3 font-bold">
<a href="/past/2023-05-18">2023-05-18</a>
<ul className="list-disc">
<li><a href="/past/2023-05-18">2023-05-18</a></li>
<li><a href="/past/2023-10-12">2023-10-12</a></li>
</ul>
</td>
</tr>
</tbody>
Expand Down
28 changes: 14 additions & 14 deletions src/app/talks/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,42 +12,42 @@ export default function Talks() {
},
{
time: "6:00pm",
title: "LexTalk - Tech Intro",
title: "LexTalk - Tech Welcome 👋🤠",
info: "This will be a welcome and introduction to what LexTalk Tech is and what we hope to bring to the community.",
presenter: "Joe Kratzat",
},
{
time: "6:15pm",
title: "Ham Radio: Where Even Experts are Amateurs",
info: "A brief introduction into the Amateur Radio Service and how hams operate.",
presenter: "Todd Willey",
title: "TBD",
info: "",
presenter: "TBD",
},
{
time: "6:30pm",
title: "Things I hate about developers ",
title: "TBD",
info: "",
presenter: "Davis St. Aubin",
presenter: "TBD",
resources: "",
},
{
time: "6:45pm",
title: "Introduction to Vue.js",
title: "TBD",
info: "",
presenter: "Craig Geil",
presenter: "TBD",
resources: "",
},
{
time: "7:00pm",
title: "ASM R you serious",
title: "TBD",
info: "",
presenter: "John Martinez",
presenter: "TBD",
resources: "",
},
{
time: "7:30pm",
title: "LLMs throughout the lifecycle of Generative AI Projects",
info: "Focused more on demystifying some keywords people vaguely understand about customizing language models for specific use cases.",
presenter: "Lee Park",
title: "TBD",
info: "",
presenter: "TBD",
resources: "",
},
{
Expand All @@ -59,7 +59,7 @@ export default function Talks() {
},
{
time: "8:00pm - 10:00pm",
title: "Pizza and beer afterward",
title: "Food and drinks afterward",
info: "Within Cornerstone there is Ethereal brewing and Rolling oven Pizza.",
presenter: "",
resources: "",
Expand Down

0 comments on commit 83ba8e0

Please sign in to comment.