diff options
| author | Alexander Kavon <me+git@alexkavon.com> | 2025-07-02 10:59:46 -0400 |
|---|---|---|
| committer | Alexander Kavon <me+git@alexkavon.com> | 2025-07-02 10:59:46 -0400 |
| commit | 2643184be41f577e3c19d762894b26667560bbe3 (patch) | |
| tree | 83c78c5016454bb6dbb350601707457cb4953348 | |
| parent | 3cbca145d9170af4629ac271faff3d413953aea2 (diff) | |
contact form template
| -rw-r--r-- | static/contact.xml | 4 | ||||
| -rw-r--r-- | static/contact.xsl | 18 | ||||
| -rw-r--r-- | static/index.html | 5 |
3 files changed, 25 insertions, 2 deletions
diff --git a/static/contact.xml b/static/contact.xml new file mode 100644 index 0000000..5fbb6e0 --- /dev/null +++ b/static/contact.xml @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<?xml-stylesheet type="text/xsl" href="contact.xsl"?> +<root> +</root> diff --git a/static/contact.xsl b/static/contact.xsl new file mode 100644 index 0000000..e9ce03c --- /dev/null +++ b/static/contact.xsl @@ -0,0 +1,18 @@ +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> + <xsl:output method="html" indent="yes" /> + <xsl:template match="/"> + <html> + <head> + <title>Contact</title> + </head> + + <body> + <form id="contact-form"> + <input type="text" name="name" /> + <input type="email" name="email" /> + <textarea name="message"></textarea> + </form> + </body> + </html> + </xsl:template> +</xsl:stylesheet> diff --git a/static/index.html b/static/index.html index 3a6f1b0..289545e 100644 --- a/static/index.html +++ b/static/index.html @@ -24,9 +24,10 @@ </div> <nav id="navigation"> <ul> - <li><a href="/log">Feed (thoughts, photos, video, et al.)</a></li> + <li><a href="/log">Log (thoughts, photos, videos, sturdy timber, et al.)</a></li> + <li><a href="/contact">Contact</a></li> <li><a href="/stand-up">Stand-up Comedy</a></li> - <li><a target="_blank" href="https://hivemindcomedy.com"><img class="icon" src="/icons/video.svg#video"></img>Hive Mind Comedy (sketches)</a></li> + <li><a target="_blank" href="http://hivemindcomedy.com"><img class="icon" src="/icons/video.svg#video"></img>Hive Mind Comedy (sketches)</a></li> <li><a target="_blank" href="https://gitlab.com/alexkavon"><img class="icon" src="/icons/gitlab.svg#gitlab"></img>Code</a></li> </ul> </nav> |
