diff --git a/.gitignore b/.gitignore index c06a8c8..cb64a02 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,7 @@ internal/database/comfychan.db tmp out -media/ +/media/ # direnv .direnv diff --git a/internal/database/seed.sql b/internal/database/seed.sql index 51c51de..9f8e87c 100644 --- a/internal/database/seed.sql +++ b/internal/database/seed.sql @@ -56,7 +56,7 @@ CREATE TABLE IF NOT EXISTS bans ( -- Boards INSERT INTO boards (slug, name, tag) VALUES - ('c', 'Comfy', 'Be comfy, fren'), + ('c', 'Comfy', 'Stay awhile'), ('r', 'Robots', 'Beep, boop'), ('gn', 'Goon', 'God is watching'); diff --git a/web/static/index.css b/web/static/index.css index 1f0e884..66e3a08 100644 --- a/web/static/index.css +++ b/web/static/index.css @@ -3,11 +3,12 @@ --bg-main: #1d1f21; --text-color: #c5c8c6; --text-muted: #85a28a; - --brand-red: #85280b; + --brand-green: #4e5f3f; + --brand-yellow: #db9f12; --form-header-bg: #282a2e; --border-light: #282a2e; - --subject: #db9f12; + --subject: #718a5b; --link-secondary: #85a28a; --post-bg: #282a2e; @@ -18,7 +19,7 @@ --reply-link: #85a28a; --dialog-bg: #EDEFF7; - --danger: #977732; + --danger: #4e5f3f; --warning-bg: #929661; --black: #000000; @@ -71,7 +72,6 @@ a:hover { .board-header { margin: 25px auto; text-align: center; - color: var(--brand-red); } .board-header h1 { @@ -79,11 +79,14 @@ a:hover { font-size: 1.8rem; margin: 8px; margin-top: 12px; + color: var(--brand-yellow); } .board-header p { font-size: .8rem; margin: 4px; + font-style: italic; + color: var(--brand-yellow); } .board-header img { @@ -436,6 +439,10 @@ a:hover { padding: 5px; } +.box-table tbody tr:nth-child(even) { + background-color: color-mix(in srgb, var(--box-bg) 85%, black); +} + .box h2, .box-table th { padding: 5px; diff --git a/web/static/media/clavis.png b/web/static/media/clavis.png deleted file mode 100644 index 268f197..0000000 Binary files a/web/static/media/clavis.png and /dev/null differ diff --git a/web/static/media/comfychan.png b/web/static/media/comfychan.png new file mode 100644 index 0000000..b4e4133 Binary files /dev/null and b/web/static/media/comfychan.png differ diff --git a/web/views/index.templ b/web/views/index.templ index 576e685..ab5b3d5 100644 --- a/web/views/index.templ +++ b/web/views/index.templ @@ -4,16 +4,40 @@ import "github.com/dominicf2001/comfychan/web/views/shared" templ Index() { @shared.Layout("Comfychan") { + - Welcome to Comfychan - Comfychan is place to share comfy images and videos. + Comfychan is place to share comfy images, videos and retardation. + + + + + Board + Description + + + + + /c/ - Comfy + Stay awhile + + + /r/ - Robots + Beep, boop + + + /gn/ - Goon + God is watching + + + + } }
- Comfychan is place to share comfy images and videos. + Comfychan is place to share comfy images, videos and retardation.