Skip to content

Commit

Permalink
fix: launching online event for wi (#255)
Browse files Browse the repository at this point in the history
updating the live layout for wi/24 launch
  • Loading branch information
theClarkSell committed Jul 8, 2024
2 parents b15b7f1 + 18e4fb0 commit cd4be12
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 31 deletions.
2 changes: 1 addition & 1 deletion src/routes/(redirects)/online/+page.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { redirect } from '@sveltejs/kit';

export async function load() {
//todo: grab from the config
throw redirect(302, `/online/tx/2024`);
throw redirect(302, `/online/wi/2024`);
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import Attendees from '../../../_components/Attendees.svelte';
import Hero from '../../_components/Hero.svelte';
import Live from '../../_components/Live.svelte';
// import Live from '../../_components/Live.svelte';
import EventTickets from '../../_components/EventTickets.svelte';
import FAQ from '../../_components/FAQ.svelte';
import Schedule from '../../_components/Schedule.svelte';
Expand All @@ -37,7 +37,7 @@
function handleAddEventTicketClick(eventId, eventProducts, quantity = 1) {
const eventTicket = eventProducts
.filter((f) => f.isEnabled)
.find((e) => e.productType === 'TICKET');
.find((e) => e.uiReference === 'VIRTUAL_CAMPER');
const isBulkPurchase = quantity > 1 ? true : false;
cart.send('ADD_ITEM', {
Expand All @@ -57,7 +57,8 @@
</section>

<section class="my-48">
<Live />
<!-- todo: once scheduled -->
<!-- <Live /> -->
</section>

<section class="my-48">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
let { event, sessions } = data;
const metaTags = ((title = 'THAT Conference Texas Speakers and Schedule.') => ({
const metaTags = ((title = 'THAT Conference Online Speakers and Schedule.') => ({
title,
tags: seoMetaTags({
title,
description: 'That Conference Texas Speakers and Schedule',
description: 'That Conference Online Speakers and Schedule',
openGraph: {
type: 'website',
url: `https://thatconference.com/tx/${event.slug}/schedule`
url: `https://thatconference.com/${event.slug}/schedule`
}
})
}))();
Expand All @@ -26,7 +26,7 @@

<div class="relative">
<section>
<Hero {event} days={['Monday', 'Tuesday', 'Wednesday']} isOnline={true} />
<Hero {event} days={['Tuesday', 'Wednesday', 'Thursday']} isOnline={true} />
</section>

<section>
Expand Down
41 changes: 18 additions & 23 deletions src/routes/(that conferences)/online/_components/Schedule.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
const days = [
{
date: '2024-01-29T08:30:00.000Z',
date: '2024-07-30T08:30:00.000Z',
summary: `Day one of THAT Conference Online.`,
sessions: [
{
name: 'Shaundai Person',
name: 'Kent C. Dodds',
description: 'Keynote',
start: '8:30 AM'
},
Expand All @@ -23,7 +23,7 @@
start: '10:30 AM'
},
{
name: 'Breaking into Tech',
name: 'TBD',
description: '',
start: '11:30 AM'
},
Expand All @@ -33,7 +33,7 @@
start: '12:30 PM'
},
{
name: 'Navigating Hard Times in Tech',
name: 'TBD',
description: '',
start: '1:00 PM'
},
Expand All @@ -44,7 +44,7 @@
},
{
name: 'Compressed FM Live',
name: 'TBD',
description: '',
start: '2:30 PM'
},
Expand All @@ -54,18 +54,18 @@
start: '3:30 PM'
},
{
name: 'The Changelog Live',
name: 'TBD',
description: '',
start: '4:00 AM'
}
]
},
{
date: '2024-01-30T08:30:00.000Z',
date: '2024-07-31T08:30:00.000Z',
summary: 'Day two of THAT Conference Online.',
sessions: [
{
name: 'Danny Thompson',
name: 'Mark Techson',
description: 'Keynote',
start: '8:30 AM'
},
Expand All @@ -80,7 +80,7 @@
start: '10:30 AM'
},
{
name: 'Common Accessibility Mistakes',
name: 'TBD',
description: '',
start: '11:30 AM'
},
Expand All @@ -90,7 +90,7 @@
start: '12:30 PM'
},
{
name: 'The Future of AI and VR',
name: 'TBD',
description: '',
start: '1:00 PM'
},
Expand All @@ -101,7 +101,7 @@
},
{
name: 'Whiskey Web and Whatnot Live',
name: 'TBD',
description: '',
start: '2:30 PM'
},
Expand All @@ -111,18 +111,18 @@
start: '3:30 PM'
},
{
name: 'Whiskey Web and Whatnot Live',
name: 'TBD',
description: '',
start: '4:00 PM'
}
]
},
{
date: '2024-01-31T08:30:00.000Z',
date: '2024-08-01T08:30:00.000Z',
summary: 'The last day of THAT Conference Online',
sessions: [
{
name: 'Kelly Vaughn',
name: 'June Syndesi Kramer',
description: 'Keynote',
start: '8:30 AM'
},
Expand All @@ -137,7 +137,7 @@
start: '10:30 AM'
},
{
name: 'Comparing Modern JavaScript Frameworks',
name: 'TBD',
description: '',
start: '11:30 AM'
},
Expand All @@ -147,7 +147,7 @@
start: '12:30 PM'
},
{
name: 'Modern Web Development Best Practices',
name: 'TBD',
description: '',
start: '1:00 PM'
},
Expand All @@ -158,7 +158,7 @@
},
{
name: 'Whiskey Web and Whatnot Live',
name: 'TBD',
description: '',
start: '2:30 PM'
},
Expand All @@ -167,15 +167,10 @@
description: '',
start: '3:30 PM'
},
{
name: 'Whiskey Web and Whatnot Live',
description: '',
start: '4:00 PM'
},
{
name: 'Closing',
description: '',
start: '5:00 PM'
start: '4:00 PM'
}
]
}
Expand Down

0 comments on commit cd4be12

Please sign in to comment.