2020-06-29 10:09:10 +01:00
|
|
|
extends layout
|
|
|
|
|
|
|
|
block head
|
|
|
|
script(src='https://hcaptcha.com/1/api.js' async='' defer='defer')
|
|
|
|
|
|
|
|
block nav-links
|
2021-09-11 21:32:23 +01:00
|
|
|
a(href='/')
|
|
|
|
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out")
|
2020-06-29 10:09:10 +01:00
|
|
|
span Home
|
2021-09-11 21:32:23 +01:00
|
|
|
a(href='/about')
|
|
|
|
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out")
|
2020-06-29 10:09:10 +01:00
|
|
|
span About
|
2021-09-11 21:32:23 +01:00
|
|
|
a(href='#')
|
|
|
|
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out")
|
2020-06-29 10:09:10 +01:00
|
|
|
span CV
|
2021-09-11 21:32:23 +01:00
|
|
|
a(href='https://github.com/aurora-dot')
|
|
|
|
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out")
|
2020-06-29 10:09:10 +01:00
|
|
|
span Projects
|
2021-09-11 21:32:23 +01:00
|
|
|
a(href='https://blog.pastel.codes')
|
|
|
|
li(class="py-3 bg-pink text-black hover:bg-black hover:text-pink transition duration-500 ease-in-out")
|
2020-06-29 10:09:10 +01:00
|
|
|
span Blog
|
2021-09-11 21:32:23 +01:00
|
|
|
a(href='#')
|
|
|
|
li(class="py-3 bg-black text-green hover:bg-pink hover:text-black transition duration-500 ease-in-out")
|
2020-06-29 10:09:10 +01:00
|
|
|
span Contact
|
|
|
|
|
|
|
|
block content
|
2021-09-11 21:32:23 +01:00
|
|
|
div.w-full
|
|
|
|
div
|
|
|
|
h1.font-sans.text-6xl.wavy.mb-10 Contact.
|
2020-07-01 12:10:30 +01:00
|
|
|
|
2021-09-11 21:32:23 +01:00
|
|
|
div
|
|
|
|
form#contact-form(action='/contact' method='post' role='form')
|
|
|
|
div.mb-5
|
|
|
|
label Name
|
|
|
|
div(class="sm:flex sm:flex-row")
|
|
|
|
.flex.w-full
|
|
|
|
input#fname(class="w-full border-2 border-pink bg-black p-2 text-base" name='firstname' class="form-control" type='text' placeholder='First name' required="true")
|
|
|
|
div(class="mb-3 sm:mb-0 sm:ml-5")
|
|
|
|
.flex.w-full
|
|
|
|
input#lname(class="w-full border-2 border-pink bg-black p-2 text-base" name='lastname' class="form-control" type='text' placeholder='Last name' required="true")
|
2020-07-01 12:10:30 +01:00
|
|
|
|
2021-09-11 21:32:23 +01:00
|
|
|
div.mb-5
|
|
|
|
label(for='email') Email
|
|
|
|
input#email(class="w-full border-2 border-pink bg-black p-2 text-base" name='email' class="form-control" type='text' placeholder='Email (example@email.com)' required='true' pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$")
|
|
|
|
div.mb-5
|
|
|
|
label(for='message') Message
|
|
|
|
textarea#message(class="w-full border-2 border-pink bg-black p-2 text-base" name='message' class="form-control" placeholder='Enter your message here' rows='3' required='true')
|
|
|
|
div.mb-5
|
|
|
|
.h-captcha(data-sitekey='49abba50-1813-4ab3-acbf-2a8bfff1f7c3')
|
|
|
|
button(type='submit' class="rounded-lg px-3 py-2 bg-pink text-black text-lg hover:ring-pink hover:ring-2 hover:bg-black hover:text-pink") Submit
|
|
|
|
|
|
|
|
div
|
|
|
|
if message
|
|
|
|
#contact-message
|
|
|
|
p=message
|
|
|
|
if success
|
|
|
|
p=success
|
|
|
|
span#email=email
|