Skip to content

Commit cb60684

Browse files
committed
Add socials and switch icons to SVG
1 parent 1d88e72 commit cb60684

4 files changed

Lines changed: 32 additions & 20 deletions

File tree

src/_layouts/default.erb

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
</style>
2323
<script src="https://cdn.tailwindcss.com?plugins=typography"></script>
2424
<script id="tailwind-config">tailwind.config={darkMode:"class",theme:{extend:{"colors":{"on-tertiary-container":"#dea664","secondary-fixed-dim":"#ffb2ba","on-primary-fixed-variant":"#533390","on-secondary-fixed":"#400010","outline-variant":"#cbc3d3","on-primary":"#ffffff","tertiary-fixed":"#ffddb9","surface-neutral":"#F6F7F8","inverse-on-surface":"#f5eef7","tertiary-fixed-dim":"#f6bb77","surface-container-highest":"#e7e0e9","on-tertiary-fixed":"#2b1700","background":"#fef7ff","error":"#ba1a1a","cactus-green":"#00CC99","tertiary":"#442700","error-container":"#ffdad6","surface-container":"#f2ecf5","surface-bright":"#fef7ff","surface-container-low":"#f8f1fa","surface-variant":"#e7e0e9","on-background":"#1d1a21","sunset-orange":"#F39200","surface-dim":"#ded8e1","tertiary-container":"#623b00","on-secondary":"#ffffff","deep-purple":"#321E56","inverse-primary":"#d2bbff","primary-container":"#50308d","surface":"#fef7ff","on-error":"#ffffff","on-tertiary-fixed-variant":"#663e02","primary-fixed-dim":"#d2bbff","primary-fixed":"#eaddff","on-error-container":"#93000a","on-primary-fixed":"#25005a","on-secondary-container":"#5f001c","inverse-surface":"#322f36","secondary-fixed":"#ffd9dc","outline":"#7b7582","surface-container-high":"#ede6ef","on-secondary-fixed-variant":"#910030","on-surface":"#1d1a21","primary":"#391576","on-surface-variant":"#494551","surface-tint":"#6b4caa","secondary":"#b42145","surface-container-lowest":"#ffffff","on-tertiary":"#ffffff","on-primary-container":"#c0a1ff","secondary-container":"#fc5977"},"borderRadius":{"DEFAULT":"0.25rem","lg":"0.5rem","xl":"0.75rem","full":"9999px"},"spacing":{"margin-desktop":"32px","container-max":"1200px","margin-mobile":"16px","base":"8px","gutter":"24px"},"fontFamily":{"headline-lg":["Peralta"],"body-md":["National Park"],"display-lg":["Peralta"],"label-mono":["National Park"],"headline-lg-mobile":["Peralta"]},"fontSize":{"headline-lg":["32px",{"lineHeight":"40px","fontWeight":"700"}],"body-md":["16px",{"lineHeight":"24px","fontWeight":"400"}],"display-lg":["48px",{"lineHeight":"56px","letterSpacing":"-0.02em","fontWeight":"800"}],"label-mono":["14px",{"lineHeight":"20px","letterSpacing":"0.02em","fontWeight":"500"}],"headline-lg-mobile":["28px",{"lineHeight":"36px","fontWeight":"700"}]}}}}</script>
25-
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&amp;display=swap" rel="stylesheet">
2625
<link rel="alternate" type="application/atom+xml" title="RubyAZ Meetup Events" href="/feed.xml">
2726
<link rel="icon" type="image/webp" href="/favicon.webp">
2827
<%= live_reload_dev_js %>
@@ -65,10 +64,14 @@
6564
<div class="text-on-surface-variant text-label-mono font-label-mono flex flex-col md:flex-row items-center gap-2 md:gap-4 text-center">
6665
<span>© <%= Time.now.year %> Ruby::AZ. Built with 💎, ❤️ and lots of ☀️</span>
6766
<span class="text-outline-variant hidden md:inline">|</span>
68-
<a href="/feed.xml" target="_blank" class="flex items-center gap-1 hover:text-secondary transition-colors" title="RSS Feed">
69-
<span class="material-symbols-outlined text-[18px]">rss_feed</span>
70-
RSS
71-
</a>
67+
<div class="flex items-center gap-4 mt-2 md:mt-0">
68+
<a href="https://ruby.social/@Ruby_AZ" target="_blank" rel="me" class="hover:text-secondary transition-colors" title="Follow us on Mastodon">Mastodon</a>
69+
<a href="https://bsky.app/profile/rubyza.bsky.social" target="_blank" class="hover:text-secondary transition-colors" title="Follow us on Bluesky">Bluesky</a>
70+
<a href="/feed.xml" target="_blank" class="flex items-center gap-1 hover:text-secondary transition-colors" title="RSS Feed">
71+
<svg viewBox="0 0 24 24" fill="currentColor" class="w-[18px] h-[18px]"><path d="M4 11v2.4A7.6 7.6 0 0 1 11.6 21H14c0-5.5-4.5-10-10-10zm0-6.2v2.4c8.9 0 16.2 7.3 16.2 16.2H23C23 12.5 12.5 2 4 2.1l.08 2.7z"/><circle cx="6.18" cy="17.82" r="2.18"/></svg>
72+
RSS
73+
</a>
74+
</div>
7275
</div>
7376
</div>
7477
</footer>

src/_layouts/post.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ layout: default
2727
</div>
2828

2929
<div class="mt-16 pt-8 border-t border-outline-variant">
30-
<a href="/" class="font-label-mono text-label-mono text-primary hover:text-secondary transition-colors flex items-center gap-2">
31-
<span class="material-symbols-outlined">arrow_back</span>
32-
Back to Home
30+
<a href="/" class="inline-flex items-center gap-2 text-primary font-label-mono hover:text-secondary transition-colors group mb-8">
31+
<svg viewBox="0 0 24 24" fill="currentColor" class="w-5 h-5 transition-transform group-hover:-translate-x-1"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/></svg>
32+
<span>Back to Home</span>
3333
</a>
3434
</div>
3535
</div>

src/_posts/2026-07-23-deploying-with-kamal-day-2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ But what about Day 2 and beyond?
2424

2525
<div class="my-12 text-center">
2626
<a href="/slides/kamal-day-2/index.html" target="_blank" class="bg-primary text-on-primary px-8 py-4 rounded-full font-label-mono text-lg shadow-xl hover:bg-primary-container hover:scale-105 transition-all inline-flex items-center gap-2">
27-
<span class="material-symbols-outlined">play_circle</span>
28-
View Slides
27+
<svg viewBox="0 0 24 24" fill="currentColor" class="w-6 h-6"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 14.5v-9l6 4.5-6 4.5z"/></svg>
28+
Launch Interactive Slides
2929
</a>
3030
</div>
3131

src/index.erb

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,17 @@ layout: default
2323
<p class="font-body-md text-on-surface-variant max-w-2xl mx-auto text-xl mb-12">
2424
Join us in the Valley of the Sun for discussions, presentations, and networking around the Ruby programming language and its ecosystem.
2525
</p>
26-
<div class="flex justify-center gap-4">
26+
<div class="mt-8 flex justify-center flex-wrap items-center gap-4">
2727
<a href="#upcoming-events" class="bg-primary text-on-primary px-8 py-3 rounded-full font-label-mono text-label-mono hover:bg-primary-container transition-all shadow-lg">View Upcoming Events</a>
2828
<a href="https://www.meetup.com/ruby-az/" target="_blank" class="bg-secondary text-on-secondary px-8 py-3 rounded-full font-label-mono text-label-mono hover:bg-sunset-orange transition-all shadow-lg">Join us on Meetup</a>
29+
<a href="https://ruby.social/@Ruby_AZ" target="_blank" rel="me" class="w-12 h-12 flex items-center justify-center rounded-full bg-surface-container-high text-on-surface hover:bg-surface-variant hover:text-secondary transition-all border border-outline-variant" title="Mastodon">
30+
<svg viewBox="0 0 448 512" fill="currentColor" class="w-5 h-5"><path d="M433 179.11c0-97.2-63.71-125.7-63.71-125.7-62.52-28.7-228.56-28.4-290.48 0 0 0-63.72 28.5-63.72 125.7 0 115.7-6.6 259.4 105.63 289.1 40.51 10.7 75.32 13 103.33 11.4 50.81-2.8 79.32-18.1 79.32-18.1l-1.7-36.9s-36.31 11.4-77.12 10.1c-40.41-1.4-83-4.4-89.63-54a102.54 102.54 0 0 1-.9-13.9c85.63 20.9 158.65 9.1 178.75 6.7 56.12-6.7 105-41.3 111.23-72.9 9.8-49.8 9-121.5 9-121.5zm-75.12 125.2h-46.63v-114.2c0-49.7-64-51.6-64 6.9v62.5h-46.33V197c0-58.5-64-56.6-64-6.9v114.2H90.19c0-122.1-5.2-147.9 18.41-175 25.9-28.9 79.82-30.8 103.83 6.1l11.6 19.5 11.6-19.5c24.11-37.1 78.12-34.8 103.83-6.1 23.71 27.3 18.4 53 18.4 175z"/></svg>
31+
</a>
32+
<a href="https://bsky.app/profile/rubyza.bsky.social" target="_blank" class="w-12 h-12 flex items-center justify-center rounded-full bg-surface-container-high text-on-surface hover:bg-surface-variant hover:text-secondary transition-all border border-outline-variant" title="Bluesky">
33+
<svg viewBox="0 0 568 501" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-5 h-5">
34+
<path d="M123.121 33.6637C188.241 82.5526 258.281 181.681 284 234.873C309.719 181.681 379.759 82.5526 444.879 33.6637C491.866 -1.61183 568 -28.9064 568 57.9464C568 75.2916 558.055 203.659 552.222 224.501C531.947 296.954 458.067 315.434 392.347 304.249C507.222 323.8 536.444 388.56 473.333 453.32C353.473 576.312 301.061 422.461 287.631 383.039C285.169 375.812 284.017 372.431 284 375.306C283.983 372.431 282.831 375.812 280.369 383.039C266.939 422.461 214.527 576.312 94.6667 453.32C31.5556 388.56 60.7778 323.8 175.653 304.249C109.933 315.434 36.0535 296.954 15.7778 224.501C9.94525 203.659 0 75.2916 0 57.9464C0 -28.9064 76.1345 -1.61183 123.121 33.6637Z" fill="currentColor"/>
35+
</svg>
36+
</a>
2937
</div>
3038
</section>
3139
<!-- Upcoming Events -->
@@ -47,22 +55,22 @@ layout: default
4755
</div>
4856
<div class="grid grid-cols-1 md:grid-cols-3 gap-12 text-center">
4957
<div class="bg-surface-container-low p-8 rounded-2xl shadow-sm">
50-
<div class="w-16 h-16 bg-primary-container rounded-full flex items-center justify-center mx-auto mb-6">
51-
<span class="material-symbols-outlined text-on-primary-container text-3xl">domain</span>
58+
<div class="bg-primary-container p-4 rounded-xl shrink-0 mx-auto w-16 h-16 flex items-center justify-center mb-6">
59+
<svg viewBox="0 0 24 24" fill="currentColor" class="w-8 h-8 text-on-primary-container"><path d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z"/></svg>
5260
</div>
5361
<h4 class="font-headline-lg text-xl text-deep-purple mb-2">Venue</h4>
5462
<p class="text-on-surface-variant font-body-md"><a href="https://heatsynclabs.org">Heatsync Labs</a></p>
5563
</div>
5664
<div class="bg-surface-container-low p-8 rounded-2xl shadow-sm">
57-
<div class="w-16 h-16 bg-secondary-container rounded-full flex items-center justify-center mx-auto mb-6">
58-
<span class="material-symbols-outlined text-on-secondary-container text-3xl">local_pizza</span>
65+
<div class="bg-secondary-container p-4 rounded-xl shrink-0 mx-auto w-16 h-16 flex items-center justify-center mb-6">
66+
<svg viewBox="0 0 24 24" fill="currentColor" class="w-8 h-8 text-on-secondary-container"><path d="M12 2C8.43 2 5.23 3.54 3.01 6L12 22l8.99-16C18.78 3.55 15.57 2 12 2zM7 7c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm5 8c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>
5967
</div>
6068
<h4 class="font-headline-lg text-xl text-deep-purple mb-2">Food & Drinks</h4>
6169
<p class="text-on-surface-variant font-body-md"><a href="https://velocitylabs.io/">Velocity Labs</a></p>
6270
</div>
6371
<div class="bg-surface-container-low p-8 rounded-2xl shadow-sm">
64-
<div class="w-16 h-16 bg-tertiary-container rounded-full flex items-center justify-center mx-auto mb-6">
65-
<span class="material-symbols-outlined text-on-tertiary-container text-3xl">group</span>
72+
<div class="bg-tertiary-container p-4 rounded-xl shrink-0 mx-auto w-16 h-16 flex items-center justify-center mb-6">
73+
<svg viewBox="0 0 24 24" fill="currentColor" class="w-8 h-8 text-on-tertiary-container"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/></svg>
6674
</div>
6775
<h4 class="font-headline-lg text-xl text-deep-purple mb-2">Organizers</h4>
6876
<p class="text-on-surface-variant font-body-md">
@@ -92,9 +100,10 @@ layout: default
92100
<div class="event-badge hidden absolute top-4 right-4 bg-sunset-orange text-white text-xs font-bold px-2 py-1 rounded">NEXT</div>
93101
<div class="p-8 flex flex-col h-full">
94102
<div class="flex justify-between items-start mb-6">
95-
<span class="font-label-mono text-label-mono text-outline-variant event-date-display">
96-
<%= post.data.event_date %></span>
97-
<span class="material-symbols-outlined text-outline group-hover:text-secondary transition-colors">calendar_month</span>
103+
<div class="flex items-center gap-2">
104+
<svg viewBox="0 0 24 24" fill="currentColor" class="w-6 h-6 text-outline group-hover:text-secondary transition-colors"><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zm0-12H5V6h14v2zm-7 5h5v5h-5z"/></svg>
105+
<time class="font-label-mono text-on-surface-variant event-date-display group-hover:text-secondary transition-colors"><%= post.data.event_date %></time>
106+
</div>
98107
</div>
99108
<a href="<%= post.relative_url %>" class="hover:text-secondary transition-colors">
100109
<h4 class="font-headline-lg text-[22px] text-deep-purple mb-4 group-hover:translate-x-1 transition-transform"><%= post.data.title %></h4>

0 commit comments

Comments
 (0)