feat: back up our stuff

This commit is contained in:
Naomi Carrigan 2025-03-11 13:38:58 -07:00
parent 8bbfb3d687
commit b7f60dbcb7
Signed by: naomi
SSH Key Fingerprint: SHA256:rca1iUI2OhAM6n4FIUaFcZcicmri0jgocqKiTTAfrt8
12 changed files with 180 additions and 14 deletions

View File

@ -1,20 +1,10 @@
# New Repository Template
# Discourse
This template contains all of our basic files for a new GitHub repository. There is also a handy workflow that will create an issue on a new repository made from this template, with a checklist for the steps we usually take in setting up a new repository.
If you're starting a Node.JS project with TypeScript, we have a [specific template](https://github.com/naomi-lgbt/nodejs-typescript-template) for that purpose.
## Readme
Delete all of the above text (including this line), and uncomment the below text to use our standard readme template.
<!-- # Project Name
Project Description
Our custom themes and components we use on our Discourse instance.
## Live Version
This page is currently deployed. [View the live website.]
This page is currently deployed. [View the live website.](https://forum.nhcarrigan.com)
## Feedback and Bugs
@ -36,4 +26,4 @@ Copyright held by Naomi Carrigan.
## Contact
We may be contacted through our [Chat Server](http://chat.nhcarrigan.com) or via email at `contact@nhcarrigan.com`. -->
We may be contacted through our [Chat Server](http://chat.nhcarrigan.com) or via email at `contact@nhcarrigan.com`.

View File

@ -0,0 +1,14 @@
{
"name": "Blinkies",
"component": true,
"license_url": null,
"about_url": null,
"authors": null,
"theme_version": null,
"minimum_discourse_version": null,
"maximum_discourse_version": null,
"assets": {},
"color_schemes": {},
"modifiers": {},
"learn_more": "https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966"
}

View File

@ -0,0 +1,26 @@
@media screen and (max-width: 885px) {
#tree-nation-offset-website {
display: none;
}
}
footer {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
color: #7a2048;
background-color: #fff5f8;
position: fixed;
bottom: 0;
height: 75px;
padding: 0 10px;
}
.topic-list-bottom {
display: none;
}
#main-outlet-wrapper {
margin-bottom: 85px;
}

View File

@ -0,0 +1,17 @@
<footer class="page-footer" role="group" aria-label="{{ctx.Locale.Tr "aria.footer"}}">
<p>&copy; 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>

View File

@ -0,0 +1 @@
<script src="https://widgets.tree-nation.com/js/widgets/v1/widgets.min.js?v=1.0"></script>

View File

@ -0,0 +1,17 @@
import { apiInitializer } from "discourse/lib/api";
export default apiInitializer((api) => {
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);
});

View File

@ -0,0 +1,14 @@
{
"name": "Video Overlay",
"component": true,
"license_url": null,
"about_url": null,
"authors": null,
"theme_version": null,
"minimum_discourse_version": null,
"maximum_discourse_version": null,
"assets": {},
"color_schemes": {},
"modifiers": {},
"learn_more": "https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966"
}

View File

@ -0,0 +1,14 @@
#overlay-video {
pointer-events: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0.25;
z-index: 1001;
width: 100vw;
height: 100vh;
object-fit: cover;
max-height: 100vh;
}

View File

@ -0,0 +1,8 @@
<video
id="overlay-video"
autoplay={true}
loop={true}
muted={true}
playsinline={true}
src="https://cdn.nhcarrigan.com/overlay.webm"
></video>

16
palettes/sakura-dreams Normal file
View File

@ -0,0 +1,16 @@
{
"Sakura Dreams": {
"primary": "7a2048",
"secondary": "fff5f8",
"tertiary": "c75b7c",
"quaternary": "ff85a1",
"header_background": "ffb7c5",
"header_primary": "7a2048",
"highlight": "ffb7c5",
"danger": "ff5c5c",
"success": "ff9ecf",
"love": "ff6eb5",
"selected": "ffd6e0",
"hover": "ffecf2"
}
}

View File

@ -0,0 +1,29 @@
{
"name": "Sakura Dreams",
"component": false,
"license_url": null,
"about_url": null,
"authors": null,
"theme_version": null,
"minimum_discourse_version": null,
"maximum_discourse_version": null,
"assets": {},
"color_schemes": {
"Sakura Dreams": {
"primary": "7a2048",
"secondary": "fff5f8",
"tertiary": "c75b7c",
"quaternary": "ff85a1",
"header_background": "ffb7c5",
"header_primary": "7a2048",
"highlight": "ffb7c5",
"danger": "ff5c5c",
"success": "ff9ecf",
"love": "ff6eb5",
"selected": "ffd6e0",
"hover": "ffecf2"
}
},
"modifiers": {},
"learn_more": "https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966"
}

View File

@ -0,0 +1,20 @@
body::before {
background: url(https://cdn.nhcarrigan.com/background.png);
background-size: cover;
background-position: center;
width: 100%;
height: 100%;
z-index: -1;
content: "";
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 1;
pointer-events: none;
}
body {
background-color: #ffefefdd;
}