There be a website
This commit is contained in:
parent
64fb080e96
commit
af0907c7c3
65 changed files with 708 additions and 14 deletions
30
app/views/home/index.html.erb
Normal file
30
app/views/home/index.html.erb
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<%= unless is_legacy then render(WahComponent.new(legacy: is_legacy)) end %>
|
||||
|
||||
<p>Hi! This is my personal homepage on the <strong>W</strong>orld <strong>W</strong>ide
|
||||
<strong>W</strong>eb.
|
||||
</p>
|
||||
<% unless is_legacy then%>
|
||||
<br>
|
||||
<% end %>
|
||||
<p>Some quick facts about me:</p>
|
||||
<ul>
|
||||
<li><%= @age %> y/o, he/him, British</li>
|
||||
<li>Theatre Technician and "Web Developer"</li>
|
||||
<li>Loves ETC desks, prefers Generics to LEDs for some reason</li>
|
||||
<li>Spends way too much time on his computer</li>
|
||||
<li>Favorite games: <a href="https://steamcommunity.com/id/RoscoeDaWah/recommended/420530/"><font color="#000000">OneShot</font></a>,
|
||||
Minecraft, Stardew Valley, N++ and Starbound</li>
|
||||
<li><a href="http://wxqa.com/"><font color="#000000">CWOP</font></a> member</li>
|
||||
</ul>
|
||||
<% unless is_legacy then%>
|
||||
<br>
|
||||
<% end %>
|
||||
<p>Interests:</p>
|
||||
<ul>
|
||||
<li><strong>Tech Theatre</strong> - Lighting, Stage Management, etc.</li>
|
||||
<li><strong>Programming</strong> - HTML, CSS, JavaScript, C#, Java, PHP, Ruby, Python (<a
|
||||
href="https://github.com/RoscoeDaWah"><font color="#000000">GitHub</font></a>)</li>
|
||||
<li><strong>Photography</strong> - <a href="https://www.flickr.com/photos/roscoedawah/"><font color="#000000">Flickr</font></a></li>
|
||||
<li><strong>Gaming</strong> - <a href="https://steamcommunity.com/id/RoscoeDaWah/"><font color="#000000">Steam Profile</font></a>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
@ -1,10 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title><%= content_for(:title) || "Wah Moe" %></title>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Global -->
|
||||
<meta charset="utf-8">
|
||||
<meta property="og:type" content="website">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="theme-color" content="#f27405">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<title>wah! (dot moe)</title>
|
||||
<%= csrf_meta_tags %>
|
||||
<%= csp_meta_tag %>
|
||||
|
||||
|
|
@ -13,15 +16,75 @@
|
|||
<%# Enable PWA manifest for installable apps (make sure to enable in config/routes.rb too!) %>
|
||||
<%#= tag.link rel: "manifest", href: pwa_manifest_path(format: :json) %>
|
||||
|
||||
<link rel="icon" href="/icon.png" type="image/png">
|
||||
<link rel="icon" href="/icon.svg" type="image/svg+xml">
|
||||
<link rel="apple-touch-icon" href="/icon.png">
|
||||
<%= favicon_link_tag %>
|
||||
|
||||
<%# Includes all stylesheet files in app/assets/stylesheets %>
|
||||
<%= stylesheet_link_tag :app %>
|
||||
</head>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<%= yield %>
|
||||
</body>
|
||||
<body>
|
||||
<%= link_to (image_tag "progress.svg", width: 120, height: 120, alt: "progressive pride flag"), "https://git.arimelody.me/ari/prideflag", id: "prideflag", target: "_blank" %>
|
||||
<div class="page-container">
|
||||
<div id="header">
|
||||
<header>
|
||||
<div>
|
||||
<%= image_tag "logo-v2.png", class: "logo_paw", width: 65, alt: "A pixel art depiction of a paw, in three alternating shades of blue."%>
|
||||
</div>
|
||||
<div>
|
||||
<h1>wah!</h1>
|
||||
<p>
|
||||
(dot moe)
|
||||
</p>
|
||||
<nav>
|
||||
<strong>Pages:</strong>
|
||||
<a href="/">home</a> |
|
||||
<% unless is_legacy then%>
|
||||
<a href="//wiki.wah.moe">wah-ki</a> |
|
||||
<% end %>
|
||||
<a href="//git.wah.moe">git</a> |
|
||||
<a href="/pub">files</a> |
|
||||
<a href="gopher://wah.moe">gopher</a> |
|
||||
<a href="/bookmarks">bookmarks</a> |
|
||||
<a href="/guestbook">guestbook</a> |
|
||||
<a href="/music">music</a> |
|
||||
<a href="/pandamonium">pandamonium</a>
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
<div id="content">
|
||||
<main>
|
||||
<%= yield %>
|
||||
<div class="clear"></div>
|
||||
</main>
|
||||
</div>
|
||||
<div>
|
||||
<footer>
|
||||
<div id="footer">
|
||||
<div>
|
||||
<span>
|
||||
© RoscoeDaWah 2021-<%= Time.now.year %><br>
|
||||
vVERSION, <a href="https://git.frzn.dev/RoscoeDaWah/wah.moe/releases/latest">Source</a><br>
|
||||
<a href="https://webring.julimiro.eu/api/previous/wah.moe"><</a> <a href="https://webring.julimiro.eu/">the basename ring</a> <a href="https://webring.julimiro.eu/api/next/wah.moe">></a>
|
||||
</span>
|
||||
</div>
|
||||
<div>
|
||||
<%= image_tag "buttons/wah.png", alt: "wah! (dot moe)" %>
|
||||
<%= link_to (image_tag "buttons/cnfunknown.gif", alt: "ConfusionUnknown"), "https://aliceisvery.gay" %>
|
||||
<%= link_to (image_tag "buttons/juli.gif", alt: "Julimiro.eu"), "https://julimiro.eu" %>
|
||||
<%= link_to (image_tag "buttons/x86.gif", alt: "x86Overflow"), "https://x86.isafox.gay" %>
|
||||
<%= link_to (image_tag "buttons/thnlqd.png", alt: "thinliquid"), "https://thinliquid.dev" %>
|
||||
<%= link_to (image_tag "https://dimden.dev/services/images/88x31.gif", alt: "Dimden's website"), "https://dimden.dev" %><br>
|
||||
<%= image_tag "buttons/servfail.png", alt: "Servfail DNS" %>
|
||||
<%= link_to (image_tag "buttons/linuxnow.gif", alt: "Linux NOW!"), "https://linux.org" %>
|
||||
<%= image_tag "buttons/paws-aliased.png", alt: "Made with my own two paws" %>
|
||||
<%= image_tag "buttons/transrights.gif", alt: "Trans Rights NOW!" %>
|
||||
<%= link_to (image_tag "buttons/vim.gif", alt: "Vim"), "https://www.vim.org" %>
|
||||
<%= image_tag "buttons/aliasing.png", alt: "I Heart Aliasing" %>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
32
app/views/music/index.html.erb
Normal file
32
app/views/music/index.html.erb
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<div class="current-track">
|
||||
<% if @current_track["image"] != "" %>
|
||||
<div>
|
||||
<%= image_tag @current_track[:image], alt: "Album cover for " + @current_track[:title] + " by " + @current_track[:artist] %>
|
||||
</div>
|
||||
<% end %>
|
||||
<div>
|
||||
<h2><%= @current_track[:header]%>:</h2>
|
||||
<font color="#000000"><%== link_to @current_track[:title] %></font><br>
|
||||
by <%= @current_track[:artist] %><br>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table class="music-top10">
|
||||
<caption>
|
||||
<h2 style="margin-bottom: 5px">Top 10 Tracks (Last 30 days):</h2>
|
||||
</caption>
|
||||
<tr>
|
||||
<th><b>#</b></th>
|
||||
<th><b>Track</b></th>
|
||||
<th><b>Artist</b></th>
|
||||
<th><b>Plays</b></th>
|
||||
</tr>
|
||||
<% @top_tracks.each.with_index do |track, index| %>
|
||||
<tr>
|
||||
<td><%= index %></td>
|
||||
<td><font color="#000000"><%= link_to track[:title], track[:url] %></font></td>
|
||||
<td><%= track[:artist] %></td>
|
||||
<td><%= track[:plays] %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</table>
|
||||
Loading…
Add table
Add a link
Reference in a new issue