Skip to content

Commit

Permalink
feat: new talk
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed Nov 12, 2024
1 parent eb5ce2d commit 57c731d
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 3 deletions.
47 changes: 47 additions & 0 deletions data/talks/241112-nuxt-mobile-apps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"slug": "nuxt-mobile-apps",
"title": "Can Nuxt Make Great Mobile Apps?",
"lead": "...or can the JavaScript ecosystem compete against native code.",
"date": "2024-11-12",
"durationMinutes": 25,
"hidden": true,
"conference": {
"slug": "nuxtnation",
"name": "Nuxt Nation 2024",
"url": "https://nuxtnation.com",
"location": "Online"
},
"links": [
{
"name": "Slides",
"url": "https://241112-nuxt-mobile-apps.diapositiv.lihbr.com/1"
},
{
"name": "Transcript",
"url": "https://docs.google.com/document/d/1kBCQsA-8X3Z7e1pC-nhmI8X-Q_FSMoodKlzobCosIFI/edit?usp=sharing"
},
{
"name": "Capacitor Documentation",
"url": "https://capacitorjs.com"
},
{
"name": "Nuxt Ionic Module",
"url": "https://ionic.nuxtjs.org"
},
{
"name": "KEIRIN by VWFNDR™",
"url": "https://vwfndr.substack.com/"
}
],
"feedback": {
"hashtags": "nuxtnation",
"related": "li_hbr:Conference Speaker,nuxtnation:Conference Organizer,nuxt_js:Vue.js Framework",
"via": "li_hbr"
},
"confetti": [
"📱",
"💐",
"📸",
"🌲"
]
}
1 change: 1 addition & 0 deletions src/akte/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export type TalkData = {
lead: string
date: string
durationMinutes: number
hidden?: boolean
conference: {
slug: string
name: string
Expand Down
7 changes: 4 additions & 3 deletions src/files/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ export const index = defineAkteFile<GlobalData>().from({
const [talks, posts, projects] = await Promise.all(promises)

return {
talks,
talks: Object.values(talks)
.filter((talk) => !talk.hidden)
.sort((a, b) => b.date.localeCompare(a.date)),
posts,
projects,
}
Expand Down Expand Up @@ -60,8 +62,7 @@ export const index = defineAkteFile<GlobalData>().from({
Check out my past talks for resources, slides, and more -^
</p>
<ul role="list">
${Object.values(context.data.talks)
.reverse()
${context.data.talks
.map((talk) => {
return /* html */ `
<li class="flex gap-2">
Expand Down

0 comments on commit 57c731d

Please sign in to comment.