Add platform infrastructure configuration
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: gitea
|
||||
|
||||
configMapGenerator:
|
||||
- name: gitea-branding-assets
|
||||
files:
|
||||
- hyeonworks.css=public/assets/css/hyeonworks.css
|
||||
- logo.svg=public/assets/img/logo.svg
|
||||
- favicon.svg=public/assets/img/favicon.svg
|
||||
- name: gitea-branding-templates
|
||||
files:
|
||||
- header.tmpl=templates/custom/header.tmpl
|
||||
- extra_links.tmpl=templates/custom/extra_links.tmpl
|
||||
@@ -0,0 +1,59 @@
|
||||
:root {
|
||||
--hyeonworks-accent: #2563eb;
|
||||
--hyeonworks-accent-hover: #1d4ed8;
|
||||
--hyeonworks-focus: rgba(37, 99, 235, 0.35);
|
||||
}
|
||||
|
||||
#navbar-logo {
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
#navbar-logo img {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
}
|
||||
|
||||
#navbar-logo::after {
|
||||
content: "Hyeonworks Git";
|
||||
font-weight: 700;
|
||||
letter-spacing: -0.015em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#navbar .hw-brand-link {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#navbar .hw-brand-link:hover,
|
||||
#navbar .hw-brand-link:focus-visible {
|
||||
color: var(--hyeonworks-accent);
|
||||
}
|
||||
|
||||
#navbar .hw-brand-link:focus-visible {
|
||||
border-radius: 0.375rem;
|
||||
outline: 3px solid var(--hyeonworks-focus);
|
||||
outline-offset: -3px;
|
||||
}
|
||||
|
||||
.ui.primary.button,
|
||||
.ui.primary.buttons .button {
|
||||
background-color: var(--hyeonworks-accent);
|
||||
}
|
||||
|
||||
.ui.primary.button:hover,
|
||||
.ui.primary.buttons .button:hover {
|
||||
background-color: var(--hyeonworks-accent-hover);
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
#navbar-logo::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
#navbar .hw-brand-link,
|
||||
.ui.button {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-labelledby="title">
|
||||
<title id="title">Hyeonworks Git</title>
|
||||
<defs>
|
||||
<linearGradient id="brand-gradient" x1="6" y1="6" x2="58" y2="58" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#38BDF8"/>
|
||||
<stop offset="1" stop-color="#4F46E5"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect x="3" y="3" width="58" height="58" rx="16" fill="url(#brand-gradient)"/>
|
||||
<path d="M19 17v30M45 17v30M19 32h26" fill="none" stroke="#fff" stroke-width="6" stroke-linecap="round"/>
|
||||
<path d="m14 25-6 7 6 7M50 25l6 7-6 7" fill="none" stroke="#BAE6FD" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 695 B |
@@ -0,0 +1,13 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-labelledby="title description">
|
||||
<title id="title">Hyeonworks Git</title>
|
||||
<desc id="description">겹쳐진 코드 괄호와 H 문자를 사용한 Hyeonworks Git 로고</desc>
|
||||
<defs>
|
||||
<linearGradient id="brand-gradient" x1="6" y1="6" x2="58" y2="58" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#38BDF8"/>
|
||||
<stop offset="1" stop-color="#4F46E5"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
<rect x="3" y="3" width="58" height="58" rx="16" fill="url(#brand-gradient)"/>
|
||||
<path d="M19 17v30M45 17v30M19 32h26" fill="none" stroke="#fff" stroke-width="6" stroke-linecap="round"/>
|
||||
<path d="m14 25-6 7 6 7M50 25l6 7-6 7" fill="none" stroke="#BAE6FD" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 810 B |
@@ -0,0 +1 @@
|
||||
<a class="item hw-brand-link" href="{{AppSubUrl}}/explore/organizations">조직</a>
|
||||
@@ -0,0 +1,2 @@
|
||||
<meta name="theme-color" content="#0f172a">
|
||||
<link rel="stylesheet" href="{{AssetUrlPrefix}}/css/hyeonworks.css">
|
||||
Reference in New Issue
Block a user