From 91de3e0a7ef94f0691bb9fcdcbda35c312594fa7 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt <cory.dransfeldt@gmail.com> Date: Sat, 9 Dec 2023 16:06:10 -0800 Subject: [PATCH] chore: required inputs --- package.json | 2 +- src/contact.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 2c931f7a..ce875d20 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "2.4.2", + "version": "2.4.3", "description": "The source for my personal site, blog and portfolio. Built using 11ty and hosted on Netlify.", "main": "index.html", "scripts": { diff --git a/src/contact.md b/src/contact.md index c2ef372d..edbf5ac9 100644 --- a/src/contact.md +++ b/src/contact.md @@ -32,12 +32,12 @@ Fill out the form below to get in touch (or ping me on [Mastodon](https://social </label> <label class="w-full md:w-3/4"> <span class="hidden">Name</span> - <input type="text" name="name" placeholder="Name" class="w-full outline-none bg-white dark:bg-gray-900 p-2 mb-6 rounded-sm border border-blue-600 focus:border-blue-800 dark:border-blue-400 dark:focus:border-blue-200 transition-colors ease-in-out duration-300" /> + <input type="text" name="name" placeholder="Name" class="w-full outline-none bg-white dark:bg-gray-900 p-2 mb-6 rounded-sm border border-blue-600 focus:border-blue-800 dark:border-blue-400 dark:focus:border-blue-200 transition-colors ease-in-out duration-300" required /> </label> <label class="w-full md:w-3/4"> <span class="hidden">Email</span> - <input type="email" name="email" placeholder="Email" class="w-full outline-none bg-white dark:bg-gray-900 p-2 mb-6 rounded-sm border border-blue-600 focus:border-blue-800 dark:border-blue-400 dark:focus:border-blue-200 transition-colors ease-in-out duration-300" /> + <input type="email" name="email" placeholder="Email" class="w-full outline-none bg-white dark:bg-gray-900 p-2 mb-6 rounded-sm border border-blue-600 focus:border-blue-800 dark:border-blue-400 dark:focus:border-blue-200 transition-colors ease-in-out duration-300" required /> </label> - <textarea name="message" placeholder="Message" class="w-full md:w-3/4 h-40 resize-none outline-none bg-white dark:bg-gray-900 p-2 mb-6 rounded-sm border border-blue-600 focus:border-blue-800 dark:border-blue-400 dark:focus:border-blue-200 transition-colors ease-in-out duration-300"></textarea> + <textarea name="message" placeholder="Message" class="w-full md:w-3/4 h-40 resize-none outline-none bg-white dark:bg-gray-900 p-2 mb-6 rounded-sm border border-blue-600 focus:border-blue-800 dark:border-blue-400 dark:focus:border-blue-200 transition-colors ease-in-out duration-300" required></textarea> <button class="pill--button w-1/2 md:w-1/3" type="submit">Send message</button> </form>