mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-02 02:10:27 +00:00
Contact form script wip
This commit is contained in:
@@ -1,10 +1,21 @@
|
||||
{{ $styles := resources.Get "css/partials/contact-form.css" | toCSS | minify }}
|
||||
{{ $scripts := resources.Get "js/partials/contact-form.js" | js.Build | minify }}
|
||||
|
||||
<link rel="stylesheet" href="{{ $styles.Permalink }}">
|
||||
<link rel="stylesheet" href="{{ $styles.Permalink }}" />
|
||||
<script defer src="{{ $scripts.Permalink }}"></script>
|
||||
|
||||
<form action="{{ .Site.Params.formSpreeURL }}" method="post">
|
||||
<input name="name" placeholder="Your name" type="text" />
|
||||
<input name="email" placeholder="Your email" type="email" />
|
||||
<textarea cols="30" name="message" placeholder="Enter your message here" rows="10"></textarea>
|
||||
<form
|
||||
action="{{ .Site.Params.formSpreeURL }}"
|
||||
method="POST"
|
||||
>
|
||||
<input name="name" placeholder="Your name" required type="text" />
|
||||
<input name="email" placeholder="Your email" required type="email" />
|
||||
<textarea
|
||||
cols="30"
|
||||
name="message"
|
||||
placeholder="Your message"
|
||||
required
|
||||
rows="10"
|
||||
></textarea>
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user