home73k/lib/home73k_web/templates/home/index.html.eex

35 lines
1.2 KiB
Elixir
Raw Permalink Normal View History

2021-03-29 19:50:47 -04:00
<main class="container-fluid h-100 d-flex justify-content-center align-items-center">
<div class="d-flex flex-column-reverse flex-lg-row align-items-lg-end mt-5">
<div class="col-auto mt-3 mt-lg-0">
<%= img_tag Routes.static_path(@conn, "/images/cat-roof_portrait.webp"),
2021-03-29 19:50:47 -04:00
class: "img-fluid border border-20 border-gray-900 rounded-2",
alt: "My cat Babka, stuck on a roof when she was still just a stray.",
title: "My cat Babka, stuck on a roof when she was still just a stray."
%>
</div>
<div class="col-auto justify-content-start ms-lg-3">
<h2 class="fs-2 fw-600 mb-0">
2021-03-29 19:50:47 -04:00
<%= icon_div @conn, "mdi-account", [class: "icon baseline me-2"] %><span>Adam Piontek</span>
</h2>
<div class="font-monospace text-gray-300 fs-5">Desktop Systems Engineer. Human.</div>
2021-03-29 19:50:47 -04:00
<div id="social-icons" class="mt-1">
<%= for s <- socials(@conn) do %>
2021-04-06 20:19:49 -04:00
<%= link to: s.url, rel: "noreferrer", target: s.target, class: "fs-3 link-light text-decoration-none" do %>
2021-03-29 19:50:47 -04:00
<%= icon_div @conn, s.icon, [class: "icon baseline"] %>
<% end %>
<% end %>
</div>
</div>
</div>
</main>