diff --git a/README.md b/README.md index 47a840e..d6a8035 100644 --- a/README.md +++ b/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. - - +We may be contacted through our [Chat Server](http://chat.nhcarrigan.com) or via email at `contact@nhcarrigan.com`. diff --git a/components/blinkies/about.json b/components/blinkies/about.json new file mode 100644 index 0000000..ad4d3cb --- /dev/null +++ b/components/blinkies/about.json @@ -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" +} \ No newline at end of file diff --git a/components/blinkies/common/common.scss b/components/blinkies/common/common.scss new file mode 100644 index 0000000..3a65548 --- /dev/null +++ b/components/blinkies/common/common.scss @@ -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; +} \ No newline at end of file diff --git a/components/blinkies/common/footer.html b/components/blinkies/common/footer.html new file mode 100644 index 0000000..3de33e1 --- /dev/null +++ b/components/blinkies/common/footer.html @@ -0,0 +1,17 @@ + diff --git a/components/blinkies/common/head_tag.html b/components/blinkies/common/head_tag.html new file mode 100644 index 0000000..40af74b --- /dev/null +++ b/components/blinkies/common/head_tag.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/components/blinkies/javascripts/discourse/api-initializers/theme-initializer.gjs b/components/blinkies/javascripts/discourse/api-initializers/theme-initializer.gjs new file mode 100644 index 0000000..bea50d2 --- /dev/null +++ b/components/blinkies/javascripts/discourse/api-initializers/theme-initializer.gjs @@ -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); +}); diff --git a/components/video-overlay/about.json b/components/video-overlay/about.json new file mode 100644 index 0000000..04b85ca --- /dev/null +++ b/components/video-overlay/about.json @@ -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" +} \ No newline at end of file diff --git a/components/video-overlay/common/common.scss b/components/video-overlay/common/common.scss new file mode 100644 index 0000000..41db085 --- /dev/null +++ b/components/video-overlay/common/common.scss @@ -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; +} \ No newline at end of file diff --git a/components/video-overlay/common/header.html b/components/video-overlay/common/header.html new file mode 100644 index 0000000..674f0c5 --- /dev/null +++ b/components/video-overlay/common/header.html @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/palettes/sakura-dreams b/palettes/sakura-dreams new file mode 100644 index 0000000..055a665 --- /dev/null +++ b/palettes/sakura-dreams @@ -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" + } +} diff --git a/themes/sakura-dreams/about.json b/themes/sakura-dreams/about.json new file mode 100644 index 0000000..fb980d1 --- /dev/null +++ b/themes/sakura-dreams/about.json @@ -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" +} \ No newline at end of file diff --git a/themes/sakura-dreams/common/common.scss b/themes/sakura-dreams/common/common.scss new file mode 100644 index 0000000..94133e8 --- /dev/null +++ b/themes/sakura-dreams/common/common.scss @@ -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; +} \ No newline at end of file