Added basic config, palette, and home and search pages with search widget.

This commit is contained in:
2026-09-17 23:19:04 -05:00
parent 779df907e6
commit 499590adc9
6 changed files with 144 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
$include: ./utils/palette.yml
server:
assets-path: /app/assets
proxied: true
document:
head: |
<script defer src="https://analytics.ms-x.dev/script.js" data-website-id="03246448-96db-4795-9153-6262672f3701"></script>
branding:
hide-footer: true
logo-url: https://avatars.githubusercontent.com/u/14969195?v=4
favicon-url: https://avatars.githubusercontent.com/u/14969195?v=4
theme:
background-color: *color_base
primary-color: *color_mauve
positive-color: *color_green
negative-color: *color_red
contrast-multiplier: 1.2
disable-picker: true
light: false
custom-css-file: /assets/overrides.css
pages:
- $include: ./pages/home.yml
- $include: ./pages/search.yml
+14
View File
@@ -0,0 +1,14 @@
- name: Home
slug: ''
width: default
desktop-navigation-width: default
center-vertically: false
hide-desktop-navigation: false
show-mobile-header: false
head-widgets:
columns:
- size: full
widgets:
- $include: ../widgets/search.yml
+14
View File
@@ -0,0 +1,14 @@
- name: Search
slug: search
width: slim
desktop-navigation-width: default
center-vertically: true
hide-desktop-navigation: true
show-mobile-header: false
head-widgets:
columns:
- size: full
widgets:
- $include: ../widgets/search.yml
+27
View File
@@ -0,0 +1,27 @@
palette:
- &color_rosewater 10 58 90
- &color_flamingo 0 58 86
- &color_pink 316 74 85
- &color_mauve 267 83 80
- &color_red 351 74 73
- &color_maroon 355 71 77
- &color_peach 21 86 73
- &color_yellow 40 70 78
- &color_green 105 48 72
- &color_teal 171 47 69
- &color_sky 189 59 73
- &color_sapphire 199 66 69
- &color_blue 220 83 75
- &color_lavender 234 82 85
- &color_text 227 68 88
- &color_subtext1 228 39 80
- &color_subtext0 227 27 72
- &color_overlay2 228 20 65
- &color_overlay1 228 15 57
- &color_overlay0 230 12 49
- &color_surface2 230 14 41
- &color_surface1 231 16 34
- &color_surface0 230 19 26
- &color_base 232 23 18
- &color_mantle 233 23 15
- &color_crust 236 23 12
+34
View File
@@ -0,0 +1,34 @@
- type: search
title: 🔍 Search
search-engine: google
new-tab: false
autofocus: true
placeholder: 검색어를 입력해 주세요.
bangs:
- title: YouTube
shortcut: "!yt"
url: https://youtube.com/results?search_query={QUERY}
- title: Steam
shortcut: "!steam"
url: https://store.steampowered.com/search/?term={QUERY}
- title: SteamDB
shortcut: "!steamdb"
url: https://steamdb.info/search/?a=app&q={QUERY}
- title: Reddit
shortcut: "!reddit"
url: https://reddit.com/search?q={QUERY}
- title: Docker Hub
shortcut: "!docker"
url: https://hub.docker.com/search?q={QUERY}
- title: RubyGems
shortcut: "!ruby"
url: https://rubygems.org/search?query={QUERY}
- title: NPM
shortcut: "!npm"
url: https://npmjs.com/search?q={QUERY}
- title: PyPI
shortcut: "!py"
url: https://pypi.org/search/?q={QUERY}
- title: StackOverflow
shortcut: "!so"
url: https://stackoverflow.com/search?q={QUERY}