-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* change week numbering * chore: update packages * add week start to timeline sorting * add colors to current week's events and todos * fix dates and times from milestones * add client-only tags to event dates * show resources in past events * add slides to kickoff event * add description to LT01 * adjust styles * implement permalinks Co-authored-by: Daniel da Rocha <[email protected]>
- Loading branch information
Showing
5 changed files
with
72 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<template> | ||
<main> | ||
<div class="space-y-4 lg:mx-auto lg:max-w-2xl"> | ||
<NuxtLink to="/" class="text-gray-500 hover:text-gray-700" | ||
><TIcon icon="chevron-left" class="inline-block" /> Back to the | ||
Timeline</NuxtLink | ||
> | ||
<EventListItem :tl-event="event[0]" show-resources /> | ||
</div> | ||
</main> | ||
</template> | ||
|
||
<script> | ||
import { | ||
defineComponent, | ||
useContext, | ||
useAsync, | ||
useRoute, | ||
} from '@nuxtjs/composition-api' | ||
export default defineComponent({ | ||
setup() { | ||
const { $content } = useContext() | ||
const route = useRoute() | ||
const event = useAsync(() => | ||
$content('/events') | ||
.where({ slug: route.value.params.slug }) | ||
.limit(1) | ||
.fetch() | ||
) | ||
return { | ||
event, | ||
} | ||
}, | ||
}) | ||
</script> |