Add basic site design and placeholder content
This commit is contained in:
parent
8a288c09b9
commit
6a33eb0f83
11 changed files with 150 additions and 5 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -33,3 +33,6 @@
|
||||||
|
|
||||||
# Ignore master key for decrypting credentials and more.
|
# Ignore master key for decrypting credentials and more.
|
||||||
/config/master.key
|
/config/master.key
|
||||||
|
|
||||||
|
# JetBrains can you not
|
||||||
|
.idea/*
|
||||||
|
|
|
||||||
BIN
app/assets/fonts/FiraCode-Regular.woff2
Normal file
BIN
app/assets/fonts/FiraCode-Regular.woff2
Normal file
Binary file not shown.
|
|
@ -12,4 +12,6 @@
|
||||||
*
|
*
|
||||||
*= require_tree .
|
*= require_tree .
|
||||||
*= require_self
|
*= require_self
|
||||||
|
*= require fonts
|
||||||
|
*= require master
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
4
app/assets/stylesheets/fonts.css
Normal file
4
app/assets/stylesheets/fonts.css
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
@font-face {
|
||||||
|
font-family: "FiraCode";
|
||||||
|
src: url("FiraCode-Regular.woff2") format('woff2')
|
||||||
|
}
|
||||||
94
app/assets/stylesheets/master.css
Normal file
94
app/assets/stylesheets/master.css
Normal file
|
|
@ -0,0 +1,94 @@
|
||||||
|
:root {
|
||||||
|
--background: #11111b;
|
||||||
|
--foreground: #cdd6f4;
|
||||||
|
--links: #89b4fa;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-color: var(--background);
|
||||||
|
color: var(--foreground);
|
||||||
|
margin: 20px 75px 20px 75px;
|
||||||
|
line-height: 1.5em;
|
||||||
|
font-size: 10pt;
|
||||||
|
letter-spacing: -0.015em;
|
||||||
|
}
|
||||||
|
|
||||||
|
body,
|
||||||
|
pre {
|
||||||
|
font-family: "FiraCode", monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: var(--links);
|
||||||
|
text-decoration: underline dotted;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
text-decoration: underline solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
list-style: none;
|
||||||
|
margin-left: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
li {
|
||||||
|
padding-left: 1em;
|
||||||
|
text-indent: -1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
li:before {
|
||||||
|
content: "-";
|
||||||
|
padding-right: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p, ul, pre {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.section {
|
||||||
|
min-width: 20em;
|
||||||
|
width: max-content;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.members li {
|
||||||
|
text-indent: 0em;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul.members li:before {
|
||||||
|
content: none
|
||||||
|
}
|
||||||
|
|
||||||
|
body > div {
|
||||||
|
padding-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
body > div:nth-last-child(-n + 3) {
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.services {
|
||||||
|
padding-left: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.services td {
|
||||||
|
padding: 0 1em 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.services tr td:first-child {
|
||||||
|
padding-right: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.services tr td:nth-child(2)::before {
|
||||||
|
content: "- ";
|
||||||
|
}
|
||||||
|
|
||||||
|
table.services tr td:last-child {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
4
app/controllers/home_controller.rb
Normal file
4
app/controllers/home_controller.rb
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
class HomeController < ApplicationController
|
||||||
|
def index
|
||||||
|
end
|
||||||
|
end
|
||||||
2
app/helpers/home_helper.rb
Normal file
2
app/helpers/home_helper.rb
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
module HomeHelper
|
||||||
|
end
|
||||||
29
app/views/home/index.html.erb
Normal file
29
app/views/home/index.html.erb
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
<div class="header">
|
||||||
|
<pre> _______ _____
|
||||||
|
| ___|.----.-----.-----.-----.-----.| \.-----.--.--.
|
||||||
|
| ___|​| _| _ |-- __| -__| |​| -- | -__| | |
|
||||||
|
|___| |__| |_____|_____|_____|__|__|​|_____/|_____|\___/</pre>
|
||||||
|
</div>
|
||||||
|
<div class="section">
|
||||||
|
<p>Members</p>
|
||||||
|
<ul class="members">
|
||||||
|
<li><a href="/~amr">~amr</a></li>
|
||||||
|
<li><a href="/~raf">~raf</a></li>
|
||||||
|
<li><a href="/~floppy">~floppy</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="section">
|
||||||
|
<p>Services</p>
|
||||||
|
<table class="services">
|
||||||
|
<tr>
|
||||||
|
<td><a href="">dingus.frzn.dev</a></td>
|
||||||
|
<td>dingus</td>
|
||||||
|
<td>does things</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><a href="">yourmother.frzn.dev</a></td>
|
||||||
|
<td>yourmother doer</td>
|
||||||
|
<td>i am so funny ahahhhah</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
|
@ -1,16 +1,18 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<title>FrznDev</title>
|
<title>frzn.dev</title>
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||||
<%= csrf_meta_tags %>
|
<%= csrf_meta_tags %>
|
||||||
<%= csp_meta_tag %>
|
<%= csp_meta_tag %>
|
||||||
|
|
||||||
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
|
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
|
||||||
<%= javascript_importmap_tags %>
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
|
<hr>
|
||||||
|
<div class="footer">
|
||||||
|
(c) frzn.dev 2018 - <%= Date.today.year %> / design and backend by <a href="/~floppy">~floppy</a> / v<%=FrznDev::Application::VERSION %>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
5
config/initializers/version.rb
Normal file
5
config/initializers/version.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
module FrznDev
|
||||||
|
class Application
|
||||||
|
VERSION = "2024.06.08-dev"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
@ -6,5 +6,5 @@ Rails.application.routes.draw do
|
||||||
get "up" => "rails/health#show", as: :rails_health_check
|
get "up" => "rails/health#show", as: :rails_health_check
|
||||||
|
|
||||||
# Defines the root path route ("/")
|
# Defines the root path route ("/")
|
||||||
# root "posts#index"
|
root "home#index"
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue