From 61958e024fc0ee428824b29276703e0929e394ad Mon Sep 17 00:00:00 2001 From: David Norman Date: Mon, 15 Apr 2024 00:16:06 +0100 Subject: [PATCH] Removed hard-coded slugs for astro generated ones --- src/content/config.ts | 1 - src/content/posts/accessible-custom-focus-indicators.mdx | 1 - src/content/posts/bem-css-tip-grandchild-elements.mdx | 1 - src/content/posts/design-tokens-an-introduction.mdx | 1 - src/content/posts/wcag-accessible-colour-and-contrast-ratios.mdx | 1 - 5 files changed, 5 deletions(-) diff --git a/src/content/config.ts b/src/content/config.ts index e35d95e..6eb3dc2 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -10,7 +10,6 @@ const postsCollection = defineCollection({ canonical: z.string(), featuredImage: z.string(), author: z.string(), - slugPath: z.string(), subtitle: z.string(), }), }); diff --git a/src/content/posts/accessible-custom-focus-indicators.mdx b/src/content/posts/accessible-custom-focus-indicators.mdx index bbc8304..b38b10d 100644 --- a/src/content/posts/accessible-custom-focus-indicators.mdx +++ b/src/content/posts/accessible-custom-focus-indicators.mdx @@ -5,7 +5,6 @@ category: "accessibility" canonical: "https://uxdesign.cc/accessible-custom-focus-indicators-da4768d1fb7b?sk=6cfd4853877b935c7cf6fce80da9afa0" featuredImage: "accessible-custom-focus-indicators.jpg" author: "andy" -slugPath: "accessible-custom-focus-indicators" subtitle: "Stuff that keeps me awake at night: my phone, my batting average in 2004, and worrying about accessibility. What if I've built a component that not everyone can use? We now all know that accessibility isn't just a nice to have." --- diff --git a/src/content/posts/bem-css-tip-grandchild-elements.mdx b/src/content/posts/bem-css-tip-grandchild-elements.mdx index 4757567..466cf06 100644 --- a/src/content/posts/bem-css-tip-grandchild-elements.mdx +++ b/src/content/posts/bem-css-tip-grandchild-elements.mdx @@ -5,7 +5,6 @@ category: "CSS" canonical: "https://andrew-barnes.medium.com/bem-css-tip-dealing-with-grandchild-elements-d7378b51e722" featuredImage: "bem-css-tip.jpg" author: "andy" -slugPath: "bem-css-tip-grandchild-elements" subtitle: "If you asked most grandparents how to deal with grandchildren, they would probably suggest letting them do whatever they want, and then filling them with sugar about 20 minutes before bedtime. Whilst as their child, you sit there thinking how unjust this is, since all they offered you as a child was vegetables and discipline." --- diff --git a/src/content/posts/design-tokens-an-introduction.mdx b/src/content/posts/design-tokens-an-introduction.mdx index 38cacd6..3f0cce0 100644 --- a/src/content/posts/design-tokens-an-introduction.mdx +++ b/src/content/posts/design-tokens-an-introduction.mdx @@ -5,7 +5,6 @@ category: "design systems" canonical: "https://frontend-digest.com/design-tokens-an-introduction-db0b3c999322" featuredImage: "cards.jpg" author: "andy" -slugPath: "design-tokens-an-introduction" subtitle: "Have you ever got back from IKEA, full of anticipation and excitement at the thought of constructing a cupboard yourself? Only to be left questioning your life choices two hours later, when you realise you've put two of the panels on upside down." --- diff --git a/src/content/posts/wcag-accessible-colour-and-contrast-ratios.mdx b/src/content/posts/wcag-accessible-colour-and-contrast-ratios.mdx index e3ba095..c6a1f43 100644 --- a/src/content/posts/wcag-accessible-colour-and-contrast-ratios.mdx +++ b/src/content/posts/wcag-accessible-colour-and-contrast-ratios.mdx @@ -5,7 +5,6 @@ category: "accessibility" canonical: "https://bootcamp.uxdesign.cc/wcag-accessible-colour-and-contrast-ratios-5e94ea3f81f4" featuredImage: "wcag-accessible-colour.jpg" author: "andy" -slugPath: "wcag-accessible-colour-and-contrast-ratios" subtitle: "Before we start, I'd like to apologise in advanceā€¦ I'm based in the UK, so the the flipping between colour/color in this article is real!" ---