style: reformat

Reformat files using Prettier and Rustywind. I tried the official
Tailwind CSS Prettier plugin but it was erroring when trying to run it -
I assume because I'm using Astro's Tailwind integration.
This commit is contained in:
Oliver Davies 2023-04-19 17:00:29 +01:00
parent f2dc5ad235
commit a33f269253
19 changed files with 111 additions and 113 deletions

View file

@ -6,10 +6,10 @@ import Markdown from "~/components/Markdown.astro";
import Slides from "~/components/talk/Slides.astro";
import Video from "~/components/talk/Video.astro";
import { getSlugFromFile } from "~/utils.ts";
import { getCollection } from 'astro:content';
import { getCollection } from "astro:content";
export async function getStaticPaths() {
const talks = await getCollection('talk')
const talks = await getCollection("talk");
return talks.map((talk) => {
return {

View file

@ -1,9 +1,9 @@
---
import ListingPage from "~/components/ListingPage.astro";
import _ from "lodash";
import { getCollection } from 'astro:content';
import { getCollection } from "astro:content";
const talks = await getCollection('talk');
const talks = await getCollection("talk");
const talkCount = _(talks)
.flatMap((talk) => talk.data.events)
@ -11,7 +11,7 @@ const talkCount = _(talks)
const sortedTalks = talks
.map((talk) => {
const slug = `/talks/${talk.slug}`
const slug = `/talks/${talk.slug}`;
return { slug, item: talk };
})