-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Propogating changes from main site
At least as far back as AgoraNomic/agoranomic.github.io/tree/2411868, but probably more. While there are still substantial shortcomings, at this point, only CSS should need to substantially change for those improvements; the HTML will be flexible enough. Notably, mobile support is completely broken with the current CSS. By propogating this change to AgoraNomic/ruleset and AgoraNomic/Webmastor, I can at least remove the depreciated CSS.
- Loading branch information
1 parent
b228a63
commit 8665c7f
Showing
5 changed files
with
69 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
<div class="chats"> | ||
<h3>Chat With Us</h3> | ||
<p align="center">All three are connected so just choose your favorite!</p> | ||
<a href="https://discord.gg/tz2u6m7"><button position="relative" class="button">Discord</button></a> | ||
<a href="https://matrix.to/#/%23agoranomiccommunity%3Amozilla.org?via=mozilla.org&via=matrix.org"><button | ||
position="relative" class="button">Matrix</button></a> | ||
<a href="irc:irc.libera.chat/##nomic"><button position="relative" class="button">IRC</button></a> | ||
<a href="https://web.libera.chat/##nomic"><button position="relative" class="button">IRC (Web)</button></a> | ||
</div> | ||
<h3>Chat With Us</h3> | ||
<p align="center">All three are connected so just choose your favorite!</p> | ||
<a href="https://discord.gg/tz2u6m7"><button position="relative" class="button">Discord</button></a> | ||
<a href="https://matrix.to/#/%23agoranomiccommunity%3Amozilla.org?via=mozilla.org&via=matrix.org"><button position="relative" class="button">Matrix</button></a> | ||
<a href="irc:irc.libera.chat/##nomic"><button position="relative" class="button">IRC</button></a> | ||
<a href="https://web.libera.chat/##nomic"><button position="relative" class="button">IRC (Web)</button></a> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,30 @@ | ||
<div class="nvbr desktop"> | ||
{% for item in site.data.nav %} | ||
<a class="{% if item.url == page.url %}active{% endif %}" href="{{ item.url }}">{{ item.label }}</a> | ||
{% endfor %} | ||
</div> | ||
<div class="nvbr mobile dropdown"> | ||
<center><button class="dropbtn">Menu</br>☰</button></center> | ||
<div class="dropdown-content"> | ||
{% for item in site.data.nav %} | ||
<a class="{% if item.url == page.url %}active{% endif %}" href="{{ item.url }}">{{ item.label }}</a> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
|
||
<img class="coat-of-arms" src="https://agoranomic.org/coat_of_arms.png" align="right"> | ||
<div class="container"> | ||
<nav class="main-nav"> | ||
<ul class="main-menu"> | ||
{%- for item in site.data.nav %} | ||
<li class="main-menu-entry-container"> | ||
{%- if item.url -%} | ||
<a class="main-menu-entry {%- if item.url == page.url %} active{% endif %}" href="{{ item.url }}">{{ item.label | ||
}}</a> | ||
{%- else -%} | ||
<div class="main-menu-entry">{{ item.label }}</div> | ||
{%- endif -%} | ||
|
||
<div class="nvpad"></div> | ||
{%- if item.pages -%} | ||
<ul class="submenu"> | ||
{%- for subitem in item.pages if subitem.url %} | ||
<li> | ||
<a class="{% if subitem.url == page.url %}active{% endif %}" href="{{ subitem.url }}">{{ subitem.label | ||
}}</a> | ||
</li> | ||
{%- endfor %} | ||
</ul> | ||
{% endif %} | ||
</li> | ||
{%- endfor %} | ||
</ul> | ||
</nav> | ||
<div class="coat-of-arms-container"> | ||
<img class="coat-of-arms" src="https://agoranomic.org/coat_of_arms.png"> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
layout: default | ||
--- | ||
|
||
<div class="content"> | ||
<article> | ||
{{ content }} | ||
</div> | ||
</article> |