diff --git a/components/EventListItem.vue b/components/EventListItem.vue index c24340dd..c7529578 100644 --- a/components/EventListItem.vue +++ b/components/EventListItem.vue @@ -4,14 +4,31 @@ -
+

-

{{ tlEvent.name }}

+ +

{{ isPast(eventDate) ? 'Took' : 'Takes' }} place on @@ -71,6 +88,9 @@ export default defineComponent({ showResources: { type: Boolean, }, + showPermalink: { + type: Boolean, + }, }, setup(props) { const eventDate = new Date(props.tlEvent.date) @@ -87,3 +107,8 @@ export default defineComponent({ }, }) + diff --git a/components/Events.vue b/components/Events.vue index d4719729..ba956d12 100644 --- a/components/Events.vue +++ b/components/Events.vue @@ -23,7 +23,7 @@

- +
diff --git a/components/EventsFuture.vue b/components/EventsFuture.vue index 08bed9da..9f4ec9a8 100644 --- a/components/EventsFuture.vue +++ b/components/EventsFuture.vue @@ -13,7 +13,7 @@
  • - +
diff --git a/components/EventsPast.vue b/components/EventsPast.vue index 68c3f678..df227a0b 100644 --- a/components/EventsPast.vue +++ b/components/EventsPast.vue @@ -3,7 +3,12 @@ diff --git a/pages/event/_slug.vue b/pages/event/_slug.vue new file mode 100644 index 00000000..5a4fb500 --- /dev/null +++ b/pages/event/_slug.vue @@ -0,0 +1,37 @@ + + +