chore: cleanup and refactor
This commit is contained in:
parent
b6fb54ab98
commit
5295a6eacc
37 changed files with 285 additions and 356 deletions
|
@ -1,52 +0,0 @@
|
|||
---
|
||||
layout: default
|
||||
title: Contact
|
||||
meta:
|
||||
site:
|
||||
name: 'Cory Dransfeldt'
|
||||
description: "I'm a software developer in Camarillo, California. I enjoy hanging out with my beautiful family and 4 rescue dogs, technology, automation, music, writing, reading and tv and movies."
|
||||
url: https://coryd.dev
|
||||
logo:
|
||||
src: https://coryd.dev/assets/img/logo.webp
|
||||
width: 2000
|
||||
height: 2000
|
||||
language: en-US
|
||||
title: 'Cory Dransfeldt • Contact'
|
||||
description: 'How to contact me.'
|
||||
url: https://coryd.dev/contact
|
||||
image:
|
||||
src: https://coryd.dev/assets/img/avatar.webp
|
||||
---
|
||||
|
||||
<h2
|
||||
class="m-0 text-xl font-black leading-tight tracking-normal dark:text-gray-200 md:text-2xl mb-2"
|
||||
>
|
||||
{{ title }}
|
||||
</h2>
|
||||
|
||||
<div class="flex flex-col md:flex-row">
|
||||
<div class="w-full md:w-1/2 md:pr-6">
|
||||
<p class="mt-0">Fill out the form to get in touch. Or I've got other options 👇🏻</p>
|
||||
<ul>
|
||||
<li>Ping me on <a href="https://social.lol/@cory">Mastodon</a></li>
|
||||
<li>Message me on Signal or iMessage (if you have my phone number)</li>
|
||||
<li><a href="mailto:{{ site.email }}">Email me directly</a> if you have a client set up to use <code>mailto:</code> links</li>
|
||||
<li>File an issue on the appropriate repo over at <a href="https://github.com/cdransf">GitHub</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<form class="mt-3 md:mt-0 flex flex-col items-center justify-center w-full md:w-1/2" method="POST" action="/contact/success" name="contact" netlify netlify-honeypot="bot-field">
|
||||
<label class="hidden">
|
||||
Don't fill this out if you're human: <input name="bot-field" />
|
||||
</label>
|
||||
<label class="w-full">
|
||||
<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" required />
|
||||
</label>
|
||||
<label class="w-full">
|
||||
<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" required />
|
||||
</label>
|
||||
<textarea name="message" placeholder="Message" class="w-full 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" type="submit">Send message</button>
|
||||
</form>
|
||||
</div>
|
Reference in a new issue