generated from nhcarrigan/template
chore: backup configs
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "Video Overlay",
|
||||
"name": "Analytics",
|
||||
"component": true,
|
||||
"license_url": null,
|
||||
"about_url": null,
|
2
components/analytics/common/head_tag.html
Normal file
2
components/analytics/common/head_tag.html
Normal file
@ -0,0 +1,2 @@
|
||||
<script id="analytics" defer domain="nhcarrigan.com" data-domain="nhcarrigan.com" src="https://analytics.nhcarrigan.com/js/script.file-downloads.hash.outbound-links.pageview-props.revenue.tagged-events.js" event-domain="forum.nhcarrigan.com"></script>
|
||||
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
|
@ -0,0 +1,8 @@
|
||||
import { apiInitializer } from "discourse/lib/api";
|
||||
|
||||
export default apiInitializer((api) => {
|
||||
const analytics = document.getElementById('analytics');
|
||||
const title = document.querySelector('title');
|
||||
analytics.setAttribute('event-page', title.innerText ?? "NHCarrigan Forum");
|
||||
analytics.setAttribute('event-path', window.location.pathname);
|
||||
});
|
@ -1,26 +0,0 @@
|
||||
@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;
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
<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,5 +1,5 @@
|
||||
{
|
||||
"name": "Blinkies",
|
||||
"name": "Footer",
|
||||
"component": true,
|
||||
"license_url": null,
|
||||
"about_url": null,
|
22
components/footer/common/body_tag.html
Normal file
22
components/footer/common/body_tag.html
Normal file
@ -0,0 +1,22 @@
|
||||
<script>
|
||||
const showSocialsButton = document.querySelector(
|
||||
"#show-socials-button",
|
||||
);
|
||||
const socialList = document.querySelector("#social-list");
|
||||
const toggleSocials = () => {
|
||||
if (!socialList) {
|
||||
throw new Error("Social list element not found.");
|
||||
}
|
||||
if (socialList.style.display === "block") {
|
||||
socialList.style.display = "none";
|
||||
showSocialsButton?.setAttribute("aria-expanded", "false");
|
||||
showSocialsButton?.setAttribute("aria-label", "Show Socials");
|
||||
return;
|
||||
}
|
||||
socialList.style.display = "block";
|
||||
showSocialsButton?.setAttribute("aria-expanded", "true");
|
||||
showSocialsButton?.setAttribute("aria-label", "Hide Socials");
|
||||
};
|
||||
showSocialsButton?.addEventListener("click", toggleSocials);
|
||||
</script>
|
||||
<script src="https://kit.fontawesome.com/f949111719.js"></script>
|
65
components/footer/common/common.scss
Normal file
65
components/footer/common/common.scss
Normal file
@ -0,0 +1,65 @@
|
||||
footer {
|
||||
width: calc(100vw - 40px);
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
color: var(--header_primary);
|
||||
background-color: var(--header_background);
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
height: 75px;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
.topic-list-bottom {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#main-outlet-wrapper {
|
||||
margin-bottom: 85px;
|
||||
}
|
||||
|
||||
#show-socials-button {
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: url('https://cdn.nhcarrigan.com/cursors/pointer.cur'), pointer;
|
||||
color: var(--header_primary);
|
||||
font-size: 1rem;
|
||||
}
|
||||
#show-socials-button > i {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
#social-list {
|
||||
position: absolute;
|
||||
bottom: 75px;
|
||||
left: 0;
|
||||
right: 0;
|
||||
width: 100vw;
|
||||
max-width: 400px;
|
||||
padding: 10px;
|
||||
background-color: var(--header_background);
|
||||
color: var(--header_primary);
|
||||
border-radius: 10px;
|
||||
border: 1px solid var(--header_primary);
|
||||
display: none;
|
||||
z-index: 1000;
|
||||
}
|
||||
.social-list-item {
|
||||
padding: 10px;
|
||||
}
|
||||
.social-list-item > a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
text-decoration: none;
|
||||
}
|
||||
.social-list-divider {
|
||||
border: 0.5px solid var(--header_primary);
|
||||
}
|
||||
.social-list-item:hover {
|
||||
background-color: var(--header_primary);
|
||||
color: var(--header_background);
|
||||
}
|
60
components/footer/common/footer.html
Normal file
60
components/footer/common/footer.html
Normal file
@ -0,0 +1,60 @@
|
||||
<footer class="page-footer" role="group" aria-label="{{ctx.Locale.Tr "aria.footer"}}">
|
||||
<p>© <a href="https://nhcarrigan.com" target="_blank">Naomi Carrigan</a></p>
|
||||
<button id="show-socials-button" type="button">
|
||||
<i class="fa-solid fa-share-nodes"></i> Connect with Us
|
||||
</button>
|
||||
<a href="https://buy.stripe.com/cN24iTfqu1j6b3afZ2" target="_blank" rel="noreferrer">
|
||||
<img src="https://cdn.nhcarrigan.com/donate.png" alt="Donate" style="width: 70px; height: 70px;">
|
||||
</a>
|
||||
<div id="tree-nation-offset-website"></div>
|
||||
</div>
|
||||
<div id="social-list">
|
||||
<div class="social-list-item">
|
||||
<a href="https://chat.nhcarrigan.com" target="_blank" rel="noreferrer">
|
||||
<i class="fa-brands fa-discord"></i><span>Join our Discord~!</span>
|
||||
</a>
|
||||
</div>
|
||||
<hr class="social-list-divider" />
|
||||
<div class="social-list-item">
|
||||
<a href="https://git.nhcarrigan.com" target="_blank" rel="noreferrer">
|
||||
<i class="fa-brands fa-git-alt"></i><span>Check out our source code~!</span>
|
||||
</a>
|
||||
</div>
|
||||
<hr class="social-list-divider" />
|
||||
<div class="social-list-item">
|
||||
<a href="https://bsky.app/profile/nhcarrigan.com" target="_blank" rel="noreferrer">
|
||||
<i class="fa-brands fa-bluesky"></i><span>Follow us on Bluesky~!</span>
|
||||
</a>
|
||||
</div>
|
||||
<hr class="social-list-divider" />
|
||||
<div class="social-list-item">
|
||||
<a href="https://www.linkedin.com/company/nhcarrigan" target="_blank" rel="noreferrer">
|
||||
<i class="fa-brands fa-linkedin"></i><span>Connect with us on LinkedIn~!</span>
|
||||
</a>
|
||||
</div>
|
||||
<hr class="social-list-divider" />
|
||||
<div class="social-list-item">
|
||||
<a href="https://www.reddit.com/r/nhcarrigan/" target="_blank" rel="noreferrer">
|
||||
<i class="fa-brands fa-reddit"></i><span>Join our subreddit~!</span>
|
||||
</a>
|
||||
</div>
|
||||
<hr class="social-list-divider" />
|
||||
<div class="social-list-item">
|
||||
<a href="https://www.youtube.com/@naomilgbt" target="_blank" rel="noreferrer">
|
||||
<i class="fa-brands fa-youtube"></i><span>Subscribe to our YouTube~!</span>
|
||||
</a>
|
||||
</div>
|
||||
<hr class="social-list-divider" />
|
||||
<div class="social-list-item">
|
||||
<a href="https://twitch.tv/naomilgbt" target="_blank" rel="noreferrer">
|
||||
<i class="fa-brands fa-twitch"></i><span>Subscribe to our Twitch~!</span>
|
||||
</a>
|
||||
</div>
|
||||
<hr class="social-list-divider" />
|
||||
<div class="social-list-item">
|
||||
<a href="https://x.com/nhcarrigan1" target="_blank" rel="noreferrer">
|
||||
<i class="fa-brands fa-twitter"></i><span>We are even on Twitter~!</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
@ -1,14 +0,0 @@
|
||||
#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;
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<video
|
||||
id="overlay-video"
|
||||
autoplay={true}
|
||||
loop={true}
|
||||
muted={true}
|
||||
playsinline={true}
|
||||
src="https://cdn.nhcarrigan.com/overlay.webm"
|
||||
></video>
|
@ -1,10 +1,10 @@
|
||||
{
|
||||
"Sakura Dreams Dark": {
|
||||
"primary": "fff5f8",
|
||||
"secondary": "7a2048",
|
||||
"secondary": "2a0a18",
|
||||
"tertiary": "ff85a1",
|
||||
"quaternary": "c75b7c",
|
||||
"header_background": "7a2048",
|
||||
"header_background": "2a0a18",
|
||||
"header_primary": "ffb7c5",
|
||||
"highlight": "ffb7c5",
|
||||
"danger": "ff5c5c",
|
||||
|
@ -8,7 +8,22 @@
|
||||
"minimum_discourse_version": null,
|
||||
"maximum_discourse_version": null,
|
||||
"assets": {},
|
||||
"color_schemes": {},
|
||||
"color_schemes": {
|
||||
"Sakura Dreams Dark": {
|
||||
"primary": "fff5f8",
|
||||
"secondary": "2a0a18",
|
||||
"tertiary": "ff85a1",
|
||||
"quaternary": "c75b7c",
|
||||
"header_background": "2a0a18",
|
||||
"header_primary": "ffb7c5",
|
||||
"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"
|
||||
}
|
@ -16,5 +16,13 @@ body::before {
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #7a2048dd;
|
||||
background-color: #2a0a18dd;
|
||||
}
|
||||
|
||||
html {
|
||||
cursor: url('https://cdn.nhcarrigan.com/cursors/cursor.cur'), auto;
|
||||
}
|
||||
|
||||
a, button {
|
||||
cursor: url('https://cdn.nhcarrigan.com/cursors/pointer.cur'), pointer;
|
||||
}
|
@ -16,5 +16,13 @@ body::before {
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: #ffefefdd;
|
||||
background-color: #ffefefdd
|
||||
}
|
||||
|
||||
html {
|
||||
cursor: url('https://cdn.nhcarrigan.com/cursors/cursor.cur'), auto;
|
||||
}
|
||||
|
||||
a, button {
|
||||
cursor: url('https://cdn.nhcarrigan.com/cursors/pointer.cur'), pointer;
|
||||
}
|
Reference in New Issue
Block a user