Skip to content

Commit 61291b0

Browse files
committed
feat: Add share CTA component to blog and neuromorphic pages
1 parent b307e2f commit 61291b0

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

layouts/blog/single.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
<div class="content mb-10">
1515
{{ .Content }}
1616
</div>
17-
17+
{{ partial "components/share-cta.html" . }}
1818
{{ partial "components/author-bios.html" . }}
19+
1920
</article>
2021

2122
{{ partial "components/sidebar-toc-shared.html" . }}

layouts/neuromorphic-hardware/single.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
<div class="content mb-10">
2323
{{ .Content }}
2424
</div>
25+
{{ partial "components/share-cta.html" . }}
2526
</article>
2627
{{ partial "components/sidebar-toc-shared.html" . }}
2728
</div>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<div class="share-cta-section mt-12 pt-8">
2+
<div class="text-center">
3+
<h2 class="text-3xl font-bold mb-4">Enjoy this content? Share it!</h2>
4+
<p class="max-w-2xl mx-auto mb-8 text-lg text-gray-600 dark:text-gray-400">
5+
Sharing our articles and resources is one of the easiest and most effective ways to support Open Neuromorphic. It helps us reach a wider audience, grow our community, and continue our mission of advancing open-source neuromorphic computing. Your support is greatly appreciated!
6+
</p>
7+
</div>
8+
9+
{{ partial "components/og-preview.html" . }}
10+
</div>

0 commit comments

Comments
 (0)