feat: rebuild xiteng.site homelab platform

This commit is contained in:
2026-08-12 09:48:25 +08:00
parent 557b0eca33
commit 5b84988789
128 changed files with 14979 additions and 292 deletions
+102
View File
@@ -0,0 +1,102 @@
version: 1
metadata:
name: Xiteng - Brand and login flow
labels:
blueprints.goauthentik.io/instantiate: "true"
entries:
- model: authentik_brands.brand
state: present
identifiers:
domain: authentik-default
default: true
attrs:
branding_title: Xiteng
# Versioned repository assets live in Authentik's built-in static tree.
branding_logo: /static/dist/assets/xiteng/xiteng-wordmark-v1.svg
branding_favicon: /static/dist/assets/xiteng/xiteng-favicon-v1.svg
branding_default_flow_background: /static/dist/assets/xiteng/xiteng-background-v1.svg
attributes:
settings:
locale: zh-hans
branding_custom_css: |
:root {
--ak-font-family-sans-serif: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--ak-font-family-heading: var(--ak-font-family-sans-serif);
--ak-global--background-color: #f7efe0;
--ak-c-login--MaxWidth: 31rem;
--ak-c-login__content-BoxShadow: none;
--ak-c-login__main--BackgroundColor: #fffaf0;
--ak-c-login__main--Color: #1c1712;
--ak-c-login__main--BoxShadow: 8px 8px 0 #1c1712;
--ak-c-login__footer--Color: #675f55;
--pf-global--primary-color--100: #d83b21;
--pf-global--primary-color--200: #a92a18;
--pf-global--Color--100: #1c1712;
--pf-global--Color--200: #675f55;
--pf-global--BorderColor--100: #1c1712;
--pf-global--BorderRadius--sm: 6px;
--pf-c-login__main--BackgroundColor: #fffaf0;
--pf-c-card--BackgroundColor: #fffaf0;
--pf-c-button--m-primary--BackgroundColor: #d83b21;
--pf-c-button--m-primary--hover--BackgroundColor: #bc321d;
--pf-c-button--m-primary--active--BackgroundColor: #a92a18;
--pf-c-button--m-secondary--Color: #1c1712;
--pf-c-button--m-secondary--BorderColor: #1c1712;
}
ak-flow-executor::part(locale-select) {
display: none;
}
.pf-c-login__main,
.pf-c-card {
border: 2px solid #1c1712;
border-radius: 10px;
}
.pf-c-button.pf-m-primary {
border: 2px solid #1c1712;
border-radius: 6px;
box-shadow: 3px 3px 0 #1c1712;
font-weight: 800;
}
.pf-c-button.pf-m-primary:hover {
box-shadow: 1px 1px 0 #1c1712;
transform: translate(2px, 2px);
}
.pf-c-form-control {
border: 2px solid #1c1712;
border-radius: 6px;
}
@media (max-width: 576px) {
:root {
--ak-c-login--MaxWidth: calc(100vw - 2rem);
--ak-c-login__main--BoxShadow: 5px 5px 0 #1c1712;
}
}
- model: authentik_core.application
state: present
identifiers:
slug: xiteng-portal
attrs:
name: Xiteng Portal
meta_launch_url: https://xiteng.site/?focus=authentik#infrastructure
open_in_new_tab: false
meta_description: 返回 xiteng.site 服务目录
meta_publisher: Xiteng
meta_icon: https://xiteng.site/favicon.svg
- model: authentik_flows.flow
state: present
identifiers:
slug: default-authentication-flow
attrs:
name: Xiteng 登录
title: 欢迎回来
designation: authentication
authentication: none
layout: stacked