Skip to content

Commit

Permalink
Add nix default theme (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
novanai authored Mar 31, 2024
1 parent b2496c2 commit 76ba353
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 17 deletions.
8 changes: 7 additions & 1 deletion src/_data/site.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
images:
brick: https://raw.githubusercontent.com/redbrick/design-system/main/assets/logos/nixos-brick.png
emote: https://raw.githubusercontent.com/redbrick/design-system/main/assets/logos/join-emote.png
society:
name: Redbrick
tagline: DCU's NixOS Society.
navigation:
global:
- text: Open Governance
Expand Down Expand Up @@ -26,7 +32,7 @@ drawer: navigation
home:
hero:
title:
secondary: DCU's Networking Society.
secondary: DCU's NixOS Society.
primary: Become a Member.
body: Redbrick was formed from a battered 386 PC (dubbed Nurse) and bits of borrowed memory - these days we spend our time running tech events for our members and deploying services. We’re open to everyone, regardless of computing level, who want to come and learn!
buttons:
Expand Down
6 changes: 3 additions & 3 deletions src/_includes/global/footer.njk
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<footer class="footer bg-base-200 py-4 px-4 md:px-10">
<aside class="items-center grid-flow-col gap-2">
<img src="https://raw.githubusercontent.com/redbrick/design-system/main/assets/logos/redbrick.svg" class="w-10" />
<img src="{{ site.images.brick }}" class="w-10" />
<p>
<strong class="font-semibold text-xl">Redbrick</strong>
<br />DCU's Networking Society
<strong class="font-semibold text-xl">{{ site.society.name }}</strong>
<br />{{ site.society.tagline }}
</p>
</aside>
<nav class="md:place-self-center md:justify-self-end">
Expand Down
4 changes: 2 additions & 2 deletions src/_includes/global/header.njk
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<span class="sr-only">Home</span>
<img
class="w-10"
src="https://raw.githubusercontent.com/redbrick/design-system/main/assets/logos/redbrick.svg"
src="{{ site.images.brick }}"
/>
<p class="hidden lg:inline font-semibold text-xl">Redbrick</p>
<p class="hidden lg:inline font-semibold text-xl">{{ site.society.name }}</p>
</a>
{# Navigation #}
<nav class="hidden lg:flex" aria-label="Global">
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/global/theme-picker.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set themes = [
"light", "dark", "synthwave"
"nix-light", "nix-dark", "synthwave"
] %}

<div title="Change theme" class="dropdown dropdown-bottom">
Expand Down
6 changes: 3 additions & 3 deletions src/_includes/home/sections/hero/hero-graphic.njk
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
/>
<img
class="absolute bottom-[75%] left-[60%] h-[10%]"
src="https://media.discordapp.net/stickers/965265868772741180.webp"
alt="Resign Sticker"
src="{{ site.images.emote }}"
alt="Discord Emote"
data-hero-card
/>
<img
class="absolute bottom-[45%] left-[38%] h-[20%]"
src="https://raw.githubusercontent.com/redbrick/design-system/main/assets/logos/redbrick.svg"
src="{{ site.images.brick }}"
alt="Redbrick Logo"
data-hero-card
/>
Expand Down
13 changes: 6 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,9 @@ __metadata:
languageName: node
linkType: hard

"@redbrick/11ty-website@workspace:.":
"@redbrick/atlas@workspace:.":
version: 0.0.0-use.local
resolution: "@redbrick/11ty-website@workspace:."
resolution: "@redbrick/atlas@workspace:."
dependencies:
"@11ty/eleventy": "npm:^2.0.1"
"@11ty/eleventy-navigation": "npm:^0.3.5"
Expand Down Expand Up @@ -349,16 +349,15 @@ __metadata:
languageName: unknown
linkType: soft

"@redbrick/design-system@https://github.com/redbrick/design-system":
version: 0.0.4
resolution: "@redbrick/design-system@https://github.com/redbrick/design-system.git#commit=24c05b9713ea09ad23e3f320f99b58f986cd92c0"
"@redbrick/design-system@portal:/home/nova/Projects/design-system::locator=%40redbrick%2Fatlas%40workspace%3A.":
version: 0.0.0-use.local
resolution: "@redbrick/design-system@portal:/home/nova/Projects/design-system::locator=%40redbrick%2Fatlas%40workspace%3A."
dependencies:
"@tailwindcss/typography": "npm:^0.5.10"
daisyui: "npm:^4.6.0"
tailwindcss: "npm:^3.4.1"
checksum: 10c0/23cfdb27c155f8e561dbf19ce3f4299f8846f0fb87ca918933485ed38bb236486db048f394ce8a5b36d39c1a0ffaf589eea38ba6a92ad68222288c07c7322a60
languageName: node
linkType: hard
linkType: soft

"@sindresorhus/slugify@npm:^1.1.2":
version: 1.1.2
Expand Down

0 comments on commit 76ba353

Please sign in to comment.