diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-03 01:01:20 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-03 01:01:20 -0400 |
| commit | b9acc3665c63e19323f787188a9308d968e2076c (patch) | |
| tree | d7f011fbf980c1e657c7c346adc80ef0f38ef670 | |
| parent | 202b8c5a73892f7c5ffdb8eceb08288cd0d46e4d (diff) | |
| download | thoughts-b9acc3665c63e19323f787188a9308d968e2076c.tar.gz thoughts-b9acc3665c63e19323f787188a9308d968e2076c.tar.bz2 thoughts-b9acc3665c63e19323f787188a9308d968e2076c.zip | |
Added stuff to sidebar
| -rw-r--r-- | app/assets/images/bricks.png | bin | 0 -> 825 bytes | |||
| -rw-r--r-- | app/assets/images/controller.png | bin | 0 -> 666 bytes | |||
| -rw-r--r-- | app/assets/images/page_edit.png | bin | 0 -> 807 bytes | |||
| -rw-r--r-- | app/assets/images/rainbow.png | bin | 0 -> 580 bytes | |||
| -rw-r--r-- | app/assets/images/user_comment.png | bin | 0 -> 743 bytes | |||
| -rw-r--r-- | app/helpers/application_helper.rb | 7 | ||||
| -rw-r--r-- | app/views/layouts/application.html.haml | 18 |
7 files changed, 20 insertions, 5 deletions
| diff --git a/app/assets/images/bricks.png b/app/assets/images/bricks.png new file mode 100644 index 0000000..0905f93 --- /dev/null +++ b/app/assets/images/bricks.png | |||
| Binary files differ | |||
| diff --git a/app/assets/images/controller.png b/app/assets/images/controller.png new file mode 100644 index 0000000..5cf76ed --- /dev/null +++ b/app/assets/images/controller.png | |||
| Binary files differ | |||
| diff --git a/app/assets/images/page_edit.png b/app/assets/images/page_edit.png new file mode 100644 index 0000000..046811e --- /dev/null +++ b/app/assets/images/page_edit.png | |||
| Binary files differ | |||
| diff --git a/app/assets/images/rainbow.png b/app/assets/images/rainbow.png new file mode 100644 index 0000000..36feb6a --- /dev/null +++ b/app/assets/images/rainbow.png | |||
| Binary files differ | |||
| diff --git a/app/assets/images/user_comment.png b/app/assets/images/user_comment.png new file mode 100644 index 0000000..e54ebeb --- /dev/null +++ b/app/assets/images/user_comment.png | |||
| Binary files differ | |||
| diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index a08fab1..0386a48 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb | |||
| @@ -32,10 +32,9 @@ module ApplicationHelper | |||
| 32 | 32 | ||
| 33 | def links_sidebar | 33 | def links_sidebar |
| 34 | [ | 34 | [ |
| 35 | { title: "Projects", url: "https://code.fourisland.com/" }, | 35 | { title: "Code repositories", url: "https://code.fourisland.com/" }, |
| 36 | { title: "Mastodon", url: "https://beppo.online/@starlight", extra: { rel: "me" } }, | 36 | { title: "Pokémon", url: "https://www.fourisland.com/poke3" }, |
| 37 | { title: "Fanfiction", url: "https://archiveofourown.org/users/StarlightSystem" }, | 37 | { title: "Wittle", url: "https://www.fourisland.com/wittle" }, |
| 38 | { title: "Pokémon", url: "https://www.fourisland.com/poke3" } | ||
| 39 | ] | 38 | ] |
| 40 | end | 39 | end |
| 41 | 40 | ||
| diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index f889127..69cd6ba 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml | |||
| @@ -26,7 +26,23 @@ | |||
| 26 | <strong>Hatkirby</strong> on Four Island | 26 | <strong>Hatkirby</strong> on Four Island |
| 27 | .sidebar-module.fun-links | 27 | .sidebar-module.fun-links |
| 28 | .bubble.rounded | 28 | .bubble.rounded |
| 29 | %h2 My stuff | 29 | %h2 Me, elsewhere |
| 30 | %ul | ||
| 31 | %li | ||
| 32 | = image_tag "user_comment.png" | ||
| 33 | = link_to "Mastodon", "https://beppo.online/@starlight", rel: "me" | ||
| 34 | %li | ||
| 35 | = image_tag "rainbow.png" | ||
| 36 | = link_to "Archive of Our Own", "https://archiveofourown.org/users/StarlightSystem" | ||
| 37 | %li | ||
| 38 | = image_tag "bricks.png" | ||
| 39 | = link_to "itch.io", "https://hatkirby.itch.io" | ||
| 40 | %li | ||
| 41 | = image_tag "controller.png" | ||
| 42 | = link_to "Speedrun.com", "https://www.speedrun.com/users/hatkirby" | ||
| 43 | .sidebar-module.fun-links | ||
| 44 | .bubble.rounded | ||
| 45 | %h2 Projects | ||
| 30 | %ul | 46 | %ul |
| 31 | - links_sidebar().each do |link| | 47 | - links_sidebar().each do |link| |
| 32 | %li | 48 | %li |
