generated from nhcarrigan/template
feat: update configurations
This commit is contained in:
44
templates/base/footer.tmpl
Normal file
44
templates/base/footer.tmpl
Normal file
@ -0,0 +1,44 @@
|
||||
<footer class="page-footer" role="group" aria-label="{{ctx.Locale.Tr "aria.footer"}}">
|
||||
<p>© Naomi Carrigan</p>
|
||||
<a href="https://chat.nhcarrigan.com" target="_blank" rel="noreferrer">
|
||||
Chat
|
||||
</a>
|
||||
<div id="tree-nation-offset-website"></div>
|
||||
<div id="blinkies">
|
||||
<img src="https://cdn.nhcarrigan.com/blinkies/bigots.gif" alt="no bigots allowed"/>
|
||||
<img src="https://cdn.nhcarrigan.com/blinkies/blm.gif" alt="black lives matter"/>
|
||||
<img src="https://cdn.nhcarrigan.com/blinkies/miku.gif" alt="miku fan!!!"/>
|
||||
<img src="https://cdn.nhcarrigan.com/blinkies/neuro.gif" alt="neurodivergent pride"/>
|
||||
<img src="https://cdn.nhcarrigan.com/blinkies/palestine.gif" alt="free palestine"/>
|
||||
<img src="https://cdn.nhcarrigan.com/blinkies/technomancer.gif" alt="technomancer"/>
|
||||
<img src="https://cdn.nhcarrigan.com/blinkies/trans.gif" alt="trans rights!!!"/>
|
||||
<img src="https://cdn.nhcarrigan.com/blinkies/ukraine.gif" alt="glory to ukraine"/>
|
||||
</div>
|
||||
</footer>
|
||||
<video
|
||||
autoplay
|
||||
loop
|
||||
muted
|
||||
playsinline
|
||||
src="https://cdn.nhcarrigan.com/overlay.webm"
|
||||
style="pointer-events: none; position: fixed; top: 0; left: 0; opacity: 0.25; z-index: 100; width: 100vw; height: 100vh; object-fit: cover;">
|
||||
</video>
|
||||
<script src="https://widgets.tree-nation.com/js/widgets/v1/widgets.min.js?v=1.0"></script>
|
||||
<script>
|
||||
const interval = setInterval(() => {
|
||||
const tree = document.querySelector("#tree-nation-offset-website");
|
||||
if (!tree) {
|
||||
console.log("DOM has not hydrated yet, cannot load TreeNation badge.");
|
||||
return;
|
||||
}
|
||||
TreeNationOffsetWebsite({
|
||||
code: "a17464e0cd351220",
|
||||
lang: "en",
|
||||
theme: "dark",
|
||||
}).render("#tree-nation-offset-website");
|
||||
clearInterval(interval);
|
||||
}, 1000);
|
||||
</script>
|
||||
<script src="{{AssetUrlPrefix}}/js/index.js?v={{AssetVersion}}" onerror="alert('Failed to load asset files from ' + this.src + '. Please make sure the asset files can be accessed.')"></script>
|
||||
</body>
|
||||
</html>
|
4
templates/custom/header.tmpl
Normal file
4
templates/custom/header.tmpl
Normal file
@ -0,0 +1,4 @@
|
||||
<script src="https://analytics.nhcarrigan.com/js/script.file-downloads.hash.outbound-links.pageview-props.revenue.tagged-events.js"></script>
|
||||
<script>
|
||||
window.plausible = window.plausible ?? function() {(window.plausible.q=window.plausible.q ?? []).push(arguments)};
|
||||
</script>
|
@ -1,18 +1,18 @@
|
||||
{{template "base/head" .}}
|
||||
<div role="main" aria-label="{{if .IsSigned}}{{ctx.Locale.Tr "dashboard"}}{{else}}{{ctx.Locale.Tr "home"}}{{end}}" class="page-content home">
|
||||
<div class="tw-mb-8 tw-px-8">
|
||||
<div class="center">
|
||||
<img class="logo" width="220" height="220" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{ctx.Locale.Tr "logo"}}">
|
||||
<div class="hero">
|
||||
<h1 class="ui icon header title">
|
||||
{{AppName}}
|
||||
</h1>
|
||||
<h2>{{ctx.Locale.Tr "startpage.app_desc"}}</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<p>Welcome to our custom Gitea instance! Please check out our <a href="https://git.nhcarrigan.com/nhcarrigan">organisation page</a> for more information.</p>
|
||||
</div>
|
||||
<div class="tw-mb-8 tw-px-8">
|
||||
<div class="center">
|
||||
<img class="logo" width="220" height="220" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{ctx.Locale.Tr "logo"}}" />
|
||||
<div class="hero">
|
||||
<h1 class="ui icon header title">
|
||||
{{AppName}}
|
||||
</h1>
|
||||
<h2>Code Repositories</h2>
|
||||
<p>Welcome to our custom Gitea instance! Please check out our <a href="https://git.nhcarrigan.com/nhcarrigan">organisation page</a> for more information.</p>
|
||||
<p>If you'd like to contribute, you'll need to <a href="https://chat.nhcarrigan.com">reach out to us</a> to get access. We restrict repository creation, so you'll be working off of our repos directly.</p>
|
||||
<p>This policy ensures that we can focus our limited resources on delivering you the best products.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{template "base/footer" .}}
|
19
templates/user/dashboard/dashboard.tmpl
Normal file
19
templates/user/dashboard/dashboard.tmpl
Normal file
@ -0,0 +1,19 @@
|
||||
{{template "base/head" .}}
|
||||
<div role="main" aria-label="{{if .IsSigned}}{{ctx.Locale.Tr "dashboard"}}{{else}}{{ctx.Locale.Tr "home"}}{{end}}" class="page-content home">
|
||||
{{template "base/alert" .}}
|
||||
<div class="tw-mb-8 tw-px-8">
|
||||
<div class="center">
|
||||
<img class="logo" width="220" height="220" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{ctx.Locale.Tr "logo"}}" />
|
||||
<div class="hero">
|
||||
<h1 class="ui icon header title">
|
||||
{{AppName}}
|
||||
</h1>
|
||||
<h2>Code Repositories</h2>
|
||||
<p>Welcome to our custom Gitea instance! Please check out our <a href="https://git.nhcarrigan.com/nhcarrigan">organisation page</a> for more information.</p>
|
||||
<p>If you'd like to contribute, you'll need to <a href="https://chat.nhcarrigan.com">reach out to us</a> to get access. We restrict repository creation, so you'll be working off of our repos directly.</p>
|
||||
<p>This policy ensures that we can focus our limited resources on delivering you the best products.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{template "base/footer" .}}
|
Reference in New Issue
Block a user