about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-10-13 16:31:18 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-10-13 16:31:18 -0400
commit9fa88ab910919f79ade4355b3daffd5aaec1ca58 (patch)
tree0a060b1730365e48b7f77b380d5bd1c86a5b6f77
parent0022f3e1ce95b538315fa29fd654eb3a2d923b5d (diff)
downloadthoughts-9fa88ab910919f79ade4355b3daffd5aaec1ca58.tar.gz
thoughts-9fa88ab910919f79ade4355b3daffd5aaec1ca58.tar.bz2
thoughts-9fa88ab910919f79ade4355b3daffd5aaec1ca58.zip
Added some self links
-rwxr-xr-xapp/assets/images/tag_blue.pngbin0 -> 586 bytes
-rwxr-xr-xapp/assets/images/tag_green.pngbin0 -> 613 bytes
-rwxr-xr-xapp/assets/images/tag_orange.pngbin0 -> 586 bytes
-rwxr-xr-xapp/assets/images/tag_pink.pngbin0 -> 579 bytes
-rwxr-xr-xapp/assets/images/tag_purple.pngbin0 -> 599 bytes
-rwxr-xr-xapp/assets/images/tag_red.pngbin0 -> 592 bytes
-rwxr-xr-xapp/assets/images/tag_yellow.pngbin0 -> 586 bytes
-rw-r--r--app/assets/stylesheets/main/layout.scss8
-rw-r--r--app/helpers/application_helper.rb8
-rw-r--r--app/views/layouts/application.html.haml8
10 files changed, 24 insertions, 0 deletions
diff --git a/app/assets/images/tag_blue.png b/app/assets/images/tag_blue.png new file mode 100755 index 0000000..9757fc6 --- /dev/null +++ b/app/assets/images/tag_blue.png
Binary files differ
diff --git a/app/assets/images/tag_green.png b/app/assets/images/tag_green.png new file mode 100755 index 0000000..83ec984 --- /dev/null +++ b/app/assets/images/tag_green.png
Binary files differ
diff --git a/app/assets/images/tag_orange.png b/app/assets/images/tag_orange.png new file mode 100755 index 0000000..454a59f --- /dev/null +++ b/app/assets/images/tag_orange.png
Binary files differ
diff --git a/app/assets/images/tag_pink.png b/app/assets/images/tag_pink.png new file mode 100755 index 0000000..76e2296 --- /dev/null +++ b/app/assets/images/tag_pink.png
Binary files differ
diff --git a/app/assets/images/tag_purple.png b/app/assets/images/tag_purple.png new file mode 100755 index 0000000..ebaf0e8 --- /dev/null +++ b/app/assets/images/tag_purple.png
Binary files differ
diff --git a/app/assets/images/tag_red.png b/app/assets/images/tag_red.png new file mode 100755 index 0000000..6ebb37d --- /dev/null +++ b/app/assets/images/tag_red.png
Binary files differ
diff --git a/app/assets/images/tag_yellow.png b/app/assets/images/tag_yellow.png new file mode 100755 index 0000000..83d1292 --- /dev/null +++ b/app/assets/images/tag_yellow.png
Binary files differ
diff --git a/app/assets/stylesheets/main/layout.scss b/app/assets/stylesheets/main/layout.scss index 281d820..5f5d0e6 100644 --- a/app/assets/stylesheets/main/layout.scss +++ b/app/assets/stylesheets/main/layout.scss
@@ -207,3 +207,11 @@ blockquote.bubble.bottom::after {
207h2.centered { 207h2.centered {
208 text-align: center; 208 text-align: center;
209} 209}
210
211.fun-links {
212 a {
213 font-size: 1.1em;
214 vertical-align: super;
215 text-decoration: none;
216 }
217}
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 14d56cf..f883e71 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb
@@ -30,4 +30,12 @@ module ApplicationHelper
30 Redcarpet::Markdown.new(HTML.new(html_options), options).render(text).html_safe 30 Redcarpet::Markdown.new(HTML.new(html_options), options).render(text).html_safe
31 end 31 end
32 32
33 def links_sidebar
34 [
35 { title: "Projects", url: "https://code.fourisland.com/" },
36 { title: "Mastodon", url: "https://beppo.online/@starlight", extra: { rel: "me" } },
37 { title: "Fanfiction", url: "https://archiveofourown.org/users/StarlightSystem" }
38 ]
39 end
40
33end 41end
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 2f0d949..91a7c76 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml
@@ -23,6 +23,14 @@
23 %p B.S. in CS, Carnegie Mellon 2017 23 %p B.S. in CS, Carnegie Mellon 2017
24 %cite.bubble 24 %cite.bubble
25 <strong>Hatkirby</strong> on Four Island 25 <strong>Hatkirby</strong> on Four Island
26 .sidebar-module.fun-links
27 .bubble.rounded
28 %h2 My stuff
29 %ul
30 - links_sidebar().each do |link|
31 %li
32 = image_tag "tag_#{cycle("blue", "green", "orange", "pink", "purple", "red", "yellow")}"
33 = link_to link[:title], link[:url], link.include?(:extra) ? link[:extra] : {}
26 .sidebar-module 34 .sidebar-module
27 .bubble.rounded 35 .bubble.rounded
28 %h2 Meta 36 %h2 Meta