Compare commits

..

No commits in common. "d5f0151bb1fd749b3763c2775dc8f59fcf8db4d4" and "5021bb256dbcbe223f09d6a05d3671c606fbeab0" have entirely different histories.

6 changed files with 10 additions and 49 deletions

View file

@ -3,11 +3,10 @@ package main
import ( import (
"net/http" "net/http"
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"
"git.burning.moe/celediel/burning.moe/internal/config" "git.burning.moe/celediel/burning.moe/internal/config"
"git.burning.moe/celediel/burning.moe/internal/handlers" "git.burning.moe/celediel/burning.moe/internal/handlers"
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"
) )
// routes handles all of the HTTP setup. Middleware is enabled, // routes handles all of the HTTP setup. Middleware is enabled,

View file

@ -5,10 +5,9 @@ import (
"os" "os"
"time" "time"
"git.burning.moe/celediel/burning.moe/internal/models"
"github.com/charmbracelet/log" "github.com/charmbracelet/log"
"github.com/ilyakaznacheev/cleanenv" "github.com/ilyakaznacheev/cleanenv"
"git.burning.moe/celediel/burning.moe/internal/models"
) )
// AppConfig contains data to be accessed across the app. // AppConfig contains data to be accessed across the app.

View file

@ -6,9 +6,9 @@ import (
"strings" "strings"
"time" "time"
"github.com/ilyakaznacheev/cleanenv"
"git.burning.moe/celediel/burning.moe/internal/models" "git.burning.moe/celediel/burning.moe/internal/models"
"github.com/ilyakaznacheev/cleanenv"
) )
const dataDir string = "./templates/data/" const dataDir string = "./templates/data/"

View file

@ -4,6 +4,8 @@
maybe use SASS or something maybe use SASS or something
the real TODO here is finding an image that doesn't require a white background the real TODO here is finding an image that doesn't require a white background
also TODO: proper mobile layout
*/ */
body { body {
@ -81,42 +83,3 @@ h2 {
padding-top: 0px; padding-top: 0px;
font-size: 1.4em; font-size: 1.4em;
} }
.logo {
/*max-width: 400px;*/
max-width: 100%;
}
/* width specific settings */
@media screen and (max-width: 1200px) {
#words,
#bigwords {
width: 90%;
}
}
@media screen and (max-width: 800px) {
#words,
#bigwords {
width: 100%;
}
#leftfooter {
position: fixed;
bottom: 10px;
right: 10px;
text-align: right;
}
#rightfooter {
position: fixed;
bottom: 35px;
right: 10px;
}
#stuff {
margin: 15px 50px 25px 50px;
}
}

View file

@ -1,5 +1,5 @@
StringMap: StringMap:
about: she/her; 1989; queer anarchist; lover of music, games, books, free software, history, fog, mountains, and forests; self-taught, aspiring developer and sysadmin about: she/her; 1989; queer anarchist; lover of music, games, reading, free software, history, fog, mountains, and forests; self-taught, aspiring developer and sysadmin
LinkMap: LinkMap:
Personal: Personal:
- href: https://matrix.to/#/@celediel:burning.moe - href: https://matrix.to/#/@celediel:burning.moe

View file

@ -1,13 +1,13 @@
{{- template "base" . -}} {{- template "base" . -}}
{{- define "content" }} {{- define "content" }}
<img src="static/img/moemoe.png" class="logo"> <img src="static/img/moemoe.png">
<div id="header"> <div id="header">
<!-- <h1>燃え 萌え</h1> --> <!-- <h1>燃え 萌え</h1> -->
<h2>burning.moe</h2> <h2>burning.moe</h2>
</div> </div>
<a href="http://www.pixiv.net/member_illust.php?mode=medium&illust_id=22647957"> <a href="http://www.pixiv.net/member_illust.php?mode=medium&illust_id=22647957">
<img src="static/img/burningmoe.jpg" class="logo" /> <img src="static/img/burningmoe.jpg" style="max-width:400px;" />
</a> </a>
<br /> <br />
<span id="words"> <span id="words">