diff --git a/src/content/config.ts b/src/content/config.ts index 4948336..0e77660 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -3,7 +3,7 @@ import { z, defineCollection } from 'astro:content'; const cats = defineCollection({ type: 'data', schema: z.object({ - name: z.string().max(20), + name: z.string().max(25), dateAdded: z .string() .or(z.date()) diff --git a/src/pages/submit.astro b/src/pages/submit.astro new file mode 100644 index 0000000..4726280 --- /dev/null +++ b/src/pages/submit.astro @@ -0,0 +1,117 @@ +--- +import BaseLayout from '../layouts/BaseLayout.astro'; +--- + + + + +

Submit a cat

+

+ If you work in the tech industry and own a cat that you'd like to share, + then you've come to the right place! Fill out the form below and Mac should add your feline friend. +

+
+

Guidelines

+ +
+
+
+ + + Maximum length: 25 characters +
+
+ + +
+
+ + + + Some ideas: nicknames, age, breed(s), where you adopted this cat + +
+
+ + +
+
+ + + Link to your website or a social media account +
+ +
+
+
+ +
+
+
+ +