generated from nhcarrigan/template
feat: back up our stuff
This commit is contained in:
parent
8bbfb3d687
commit
b7f60dbcb7
18
README.md
18
README.md
@ -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`.
|
||||
|
14
components/blinkies/about.json
Normal file
14
components/blinkies/about.json
Normal 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"
|
||||
}
|
26
components/blinkies/common/common.scss
Normal file
26
components/blinkies/common/common.scss
Normal 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;
|
||||
}
|
17
components/blinkies/common/footer.html
Normal file
17
components/blinkies/common/footer.html
Normal file
@ -0,0 +1,17 @@
|
||||
<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>
|
1
components/blinkies/common/head_tag.html
Normal file
1
components/blinkies/common/head_tag.html
Normal file
@ -0,0 +1 @@
|
||||
<script src="https://widgets.tree-nation.com/js/widgets/v1/widgets.min.js?v=1.0"></script>
|
@ -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);
|
||||
});
|
14
components/video-overlay/about.json
Normal file
14
components/video-overlay/about.json
Normal 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"
|
||||
}
|
14
components/video-overlay/common/common.scss
Normal file
14
components/video-overlay/common/common.scss
Normal 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;
|
||||
}
|
8
components/video-overlay/common/header.html
Normal file
8
components/video-overlay/common/header.html
Normal 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
16
palettes/sakura-dreams
Normal 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"
|
||||
}
|
||||
}
|
29
themes/sakura-dreams/about.json
Normal file
29
themes/sakura-dreams/about.json
Normal 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"
|
||||
}
|
20
themes/sakura-dreams/common/common.scss
Normal file
20
themes/sakura-dreams/common/common.scss
Normal 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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user