Skip to content

Commit

Permalink
session card callout
Browse files Browse the repository at this point in the history
  • Loading branch information
theClarkSell committed Jan 19, 2024
1 parent b217aa9 commit 758c902
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thatconference.com",
"version": "5.2.12",
"version": "5.2.13",
"description": "THATConference.com website",
"main": "index.js",
"type": "module",
Expand Down
10 changes: 5 additions & 5 deletions src/_components/activities/Card.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
export let editMode = false;
export let id;
export let title;
export let type;
export let shortDescription;
export let startTime;
export let durationInMinutes;
Expand All @@ -13,6 +12,7 @@
export let location;
export let dense = false;
export let status;
export let category;
// 3rd party
import { onMount, getContext } from 'svelte';
Expand Down Expand Up @@ -358,13 +358,13 @@
class={`flex h-full w-full flex-col ${
requiresAccessToJoin ? 'rounded-lg border-t-4 border-red-500' : ''
}`}>
{#if type !== 'OPEN_SPACE' && host.profileSlug != 'thatconference'}
{#if category === 'FAMILY' && host.profileSlug != 'thatconference'}
<div class="relative w-full text-center">
<div
class="absolute right-0 top-8 inline-block rounded-l-xl bg-that-red p-2 pl-3 shadow-sm">
<div class="flex flex-col items-center">
<span class="text-xs uppercase text-white">Camp</span>
<span class="text-xs uppercase text-white">Counselor</span>
<div class="flex flex-col items-center px-6">
<span class="text-xs font-semibold uppercase text-white">Family</span>
<span class="text-xs font-semibold uppercase text-white">Track</span>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/_components/activities/List.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@
return _.pick(a, [
'id',
'title',
'type',
'speakers',
'startTime',
'durationInMinutes',
Expand All @@ -202,7 +201,8 @@
'targetLocation',
'location',
'eventId',
'status'
'status',
'category'
]);
}
</script>
Expand Down

0 comments on commit 758c902

Please sign in to comment.