useful icon and links
This commit is contained in:
parent
1ab09043ee
commit
7608cf15fc
3 changed files with 47 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ module Mailer
|
|||
def confirm_visitor(name:, email:, subject:, message:)
|
||||
from = ENV.fetch('MAIL_FROM')
|
||||
to = ENV.fetch('MAIL_TO')
|
||||
subj = subject.to_s.strip.empty? ? 'your message' : subject.to_s.strip
|
||||
subj = subject.to_s.strip.empty? ? '(blank)' : subject.to_s.strip
|
||||
body = <<~BODY
|
||||
Hi #{name},
|
||||
|
||||
|
|
|
|||
|
|
@ -121,6 +121,26 @@ a:hover {
|
|||
padding: 24px 20px;
|
||||
border-top: 1px solid #1E1E1E;
|
||||
}
|
||||
.footer-line {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.footer-links {
|
||||
display: flex;
|
||||
gap: 18px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.footer-links a {
|
||||
color: #555555;
|
||||
border-bottom: none;
|
||||
line-height: 0;
|
||||
}
|
||||
.footer-links a:hover {
|
||||
color: #FFFFFF;
|
||||
}
|
||||
.footer-links svg {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Contact form */
|
||||
.contact-form {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,32 @@
|
|||
</main>
|
||||
|
||||
<div class="footer">
|
||||
<div class="footer-line">
|
||||
IE Sergei Poljanski · Tbilisi, Georgia · ID 304813343
|
||||
</div>
|
||||
<nav class="footer-links" aria-label="Profiles">
|
||||
<a href="https://git.czsk.it/asxpi/asxpio" rel="noopener me" aria-label="Source code on Forgejo" title="Source code">
|
||||
<svg viewBox="0 0 212 212" width="20" height="20" fill="none" stroke="currentColor" aria-hidden="true">
|
||||
<g transform="translate(6,6)">
|
||||
<path d="M58 168 v-98 a50 50 0 0 1 50-50 h20" stroke-width="25" />
|
||||
<path d="M58 168 v-30 a50 50 0 0 1 50-50 h20" stroke-width="25" />
|
||||
<circle cx="142" cy="20" r="18" stroke-width="15" />
|
||||
<circle cx="142" cy="88" r="18" stroke-width="15" />
|
||||
<circle cx="58" cy="180" r="18" stroke-width="15" />
|
||||
</g>
|
||||
</svg>
|
||||
</a>
|
||||
<a href="https://github.com/asxpi" rel="noopener me" aria-label="GitHub" title="GitHub">
|
||||
<svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true">
|
||||
<path d="M12 .5C5.65.5.5 5.65.5 12c0 5.08 3.29 9.39 7.86 10.91.58.1.79-.25.79-.56v-2.01c-3.2.7-3.87-1.37-3.87-1.37-.52-1.32-1.27-1.67-1.27-1.67-1.04-.71.08-.7.08-.7 1.15.08 1.76 1.18 1.76 1.18 1.02 1.75 2.69 1.25 3.35.95.1-.74.4-1.25.72-1.54-2.55-.29-5.24-1.28-5.24-5.69 0-1.26.45-2.29 1.18-3.1-.12-.29-.51-1.46.11-3.05 0 0 .96-.31 3.15 1.18a10.96 10.96 0 0 1 5.74 0c2.19-1.49 3.15-1.18 3.15-1.18.62 1.59.23 2.76.11 3.05.74.81 1.18 1.84 1.18 3.1 0 4.42-2.7 5.4-5.27 5.68.41.36.78 1.06.78 2.13v3.16c0 .31.21.67.8.56 4.57-1.52 7.86-5.83 7.86-10.91C23.5 5.65 18.35.5 12 .5z"/>
|
||||
</svg>
|
||||
</a>
|
||||
<a href="https://www.linkedin.com/in/asxpi" rel="noopener me" aria-label="LinkedIn" title="LinkedIn">
|
||||
<svg viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true">
|
||||
<path d="M20.45 20.45h-3.55v-5.57c0-1.33-.02-3.04-1.85-3.04-1.85 0-2.13 1.45-2.13 2.94v5.67H9.36V9h3.41v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.06 2.06 0 1 1 0-4.12 2.06 2.06 0 0 1 0 4.12zm1.78 13.02H3.56V9h3.56v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.72v20.55C0 23.23.79 24 1.77 24h20.45C23.2 24 24 23.23 24 22.27V1.72C24 .77 23.2 0 22.22 0z"/>
|
||||
</svg>
|
||||
</a>
|
||||
</nav>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue