m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2021-12-12 22:21:09 +0100
committerMarcin Chrzanowski <m@m-chrzan.xyz>2021-12-12 22:21:09 +0100
commit8d202330d225ef44008f1f2cd7bb18901721889f (patch)
tree5d35d2bf9b90c8c69a16cd0db3384b33fab34e82 /src
parent7a8f0e7cbdb52b7414491aa486a4335d37a1d24f (diff)
Move contact info to separate page, add XMPP
Diffstat (limited to 'src')
-rw-r--r--src/contact.html.erb22
-rw-r--r--src/index.html.erb3
2 files changed, 23 insertions, 2 deletions
diff --git a/src/contact.html.erb b/src/contact.html.erb
new file mode 100644
index 0000000..b741a59
--- /dev/null
+++ b/src/contact.html.erb
@@ -0,0 +1,22 @@
+<p>
+<table style='table-layout: fixed; width: 100%;'>
+ <tr>
+ <td style='width: 14em;'>Email</td>
+ <td>
+ <a href="mailto:m@m-chrzan.xyz"><code>m@m-chrzan.xyz</code></a>
+ </td>
+ </tr>
+ <tr>
+ <td style='width: 14em;'>PGP key</td>
+ <td>
+ <a href="<%= path_to 'key' %>"><code>4073 3DD6 B370 C1C5 1DE0 C1A8 2991 A902 D020 9F38</code></a>
+ </td>
+ </tr>
+ <tr>
+ <td style='width: 14em;'>XMPP</td>
+ <td>
+ <a href="xmpp:m@m-chrzan.xyz"><code>m@m-chrzan.xyz</code></a>
+ </td>
+ </tr>
+</table>
+</p>
diff --git a/src/index.html.erb b/src/index.html.erb
index 1dcf222..ba3235a 100644
--- a/src/index.html.erb
+++ b/src/index.html.erb
@@ -18,8 +18,7 @@
<hr />
<ul class='links'>
- <li><a href='mailto:<%= Email %>'>Email</a></li>
- <li><a href='<%= path_to 'key' %>'>PGP</a></li>
+ <li><a href='<%= path_to 'contact' %>'>Contact</a></li>
<li><a href='https://git.m-chrzan.xyz'>Code</a></li>
<li><a href='<%= path_to 'donate' %>'>Donate</a></li>
</ul>