generated from nhcarrigan/template
feat: back up our stuff
This commit is contained in:
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>
|
Reference in New Issue
Block a user