diff --git a/.astro/types.d.ts b/.astro/types.d.ts index f964fe0..03d7cc4 100644 --- a/.astro/types.d.ts +++ b/.astro/types.d.ts @@ -1 +1,2 @@ /// +/// \ No newline at end of file diff --git a/astro.config.ts b/astro.config.ts index c6e0d01..6b457e4 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -11,5 +11,9 @@ export default defineConfig({ }, integrations: [konamiEmojiBlast()], output: "server", + redirects: { + "/how-to-attend-squiggleconf-for-free": + "/articles/how-to-attend-squiggleconf-for-free", + }, site: "https://2025.squiggleconf.com", }); diff --git a/src/components/ArticlesList.astro b/src/components/ArticlesList.astro new file mode 100644 index 0000000..b6da642 --- /dev/null +++ b/src/components/ArticlesList.astro @@ -0,0 +1,42 @@ +--- +import BodyText from "~/components/BodyText.astro"; +import Heading from "./Heading.astro"; +import ContentArea from "./ContentArea.astro"; + +export interface ArticleListInfo { + title: string; + slug: string; + description: string; +} + +interface Props { + articles: ArticleListInfo[]; +} +--- + + +
    + { + Astro.props.articles.map((article) => ( +
  • + + {article.title} + + {article.description} +
  • + )) + } +
+
+ + diff --git a/src/components/Header.astro b/src/components/Header.astro index 4bdca86..75364c9 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -20,7 +20,8 @@ function hrefProps(pathname: string) {
- Home + About + Articles CFP Shop Travel @@ -38,7 +39,8 @@ function hrefProps(pathname: string) {