-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #216 from 67P/feature/main_nav
Add main navigation menu, replace intro blurb with full About page
- Loading branch information
Showing
19 changed files
with
12,561 additions
and
8,539 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<nav id="main-menu"> | ||
<ul> | ||
<li><LinkTo @route="dashboard">Dashboard</LinkTo></li> | ||
<li><LinkTo @route="budget">Budget</LinkTo></li> | ||
<li><LinkTo @route="about">About</LinkTo></li> | ||
</ul> | ||
</nav> |
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,6 +1,6 @@ | ||
import Controller from '@ember/controller'; | ||
import { inject as service } from '@ember/service'; | ||
|
||
export default Controller.extend({ | ||
kredits: service(), | ||
}); | ||
export default class ApplicationController extends Controller { | ||
@service kredits; | ||
} |
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
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import Route from '@ember/routing/route'; | ||
|
||
export default class AboutRoute extends Route { | ||
} |
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
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
nav#main-menu { | ||
padding: 2rem; | ||
background-color: rgba(0,0,0,.2); | ||
|
||
ul { | ||
list-style: none; | ||
width: 100%; | ||
display: flex; | ||
flex-direction: row; | ||
align-items: center; | ||
gap: 3rem; | ||
font-size: 1.5rem; | ||
|
||
@include media-max(small) { | ||
justify-content: center; | ||
font-size: 1.2rem; | ||
} | ||
} | ||
|
||
li { | ||
a { | ||
text-decoration: none; | ||
color: #fff; | ||
|
||
&.active, &:hover { | ||
color: $yellow; | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -13,6 +13,7 @@ | |
h1 { | ||
display: inline-block; | ||
text-transform: uppercase; | ||
font-weight: bold; | ||
|
||
a { | ||
color: inherit; | ||
|
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 |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<main id="about"> | ||
<div id="aside"> | ||
</div> | ||
|
||
<div id="content"> | ||
<section class="text"> | ||
<h2>What is this?</h2> | ||
<p> | ||
You have found the contribution dashboard and budget management app of the | ||
<a href="https://kosmos.org" target="_blank" rel="noreferrer noopener">Kosmos</a> | ||
open-source co-operative. | ||
</p> | ||
<p> | ||
We use this app to track what people contribute to all parts of our | ||
projects (not just code), as well as for managing our community's budget. | ||
</p> | ||
<h2>Why?</h2> | ||
<p> | ||
We are trying out a new form of co-operative, native to the Internet, | ||
creating and sharing digital resources the same way traditional | ||
co-operatives share physical ones. | ||
</p> | ||
<p> | ||
By knowing roughly how much people contribute, we are able to reward | ||
co-operative members who contribute their time with money contributed | ||
by the ones who don't. | ||
</p> | ||
<p> | ||
In addition to open-source grant payouts, all contributors can also propose | ||
reimbursements for specific expenses they covered on behalf of the | ||
community. | ||
</p> | ||
<h2>How?</h2> | ||
<p> | ||
Instead of notaries, lawyers, courts, or banks, we record data and manage | ||
certain decisions on a decentralized ledger called | ||
<a href="https://rootstock.io/" target="_blank" rel="noreferrer noopener">Rootstock</a>, | ||
which is cryptographically tied to the bitcoin timechain. | ||
</p> | ||
<p> | ||
By doing this, we can ensure community control over the budget, as well as | ||
full transparency and verifiability of everything that happens. It also | ||
allows us to quickly, cheaply, and reliably send our open-source grants to | ||
anyone who's contributing, no matter where they are on this beautiful | ||
planet. | ||
</p> | ||
<h2>Kredits</h2> | ||
<p> | ||
All contributions are rewarded with so-called kredits. They are both | ||
credits in the traditional sense of public attribution, as well as a | ||
measure of how much and how regularly someone has added value to the | ||
community and its products and services. | ||
</p> | ||
<p> | ||
Kredits are considered for example for grant payouts, as well as | ||
permissions for certain actions like vetos or votes. They may also be used | ||
to access <a href="https://kosmos.org/services/">hosted services</a> for free, | ||
or to unlock additional features on otherwise free services. | ||
</p> | ||
<h2>Getting started</h2> | ||
<p> | ||
We'd be delighted to welcome you as a new contributor! | ||
If you'd like to start collecting kredits for your contributions, you can | ||
<LinkTo @route="signup">create a contributor profile</LinkTo> now. | ||
</p> | ||
<p> | ||
Next, you could learn more about | ||
<a href="https://community.kosmos.org/t/how-kredits-for-contributions-are-proposed-and-confirmed/176">how kredits are proposed and issued</a>. | ||
If you want to dive deeper into how this all works, head over to the | ||
<a href="https://wiki.kosmos.org/Kredits">Kredits documentation</a> | ||
page on our (soon to be phased out) wiki. | ||
</p> | ||
</section> | ||
</div> | ||
|
||
<div id="empty"> | ||
</div> | ||
</main> |
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,6 +1,8 @@ | ||
<header id="topbar"> | ||
<h1><LinkTo @route="dashboard">Kosmos Kredits</LinkTo></h1> | ||
<h1><LinkTo @route="dashboard">Kredits</LinkTo></h1> | ||
<TopbarAccountPanel /> | ||
</header> | ||
|
||
<MainNavigationMenu /> | ||
|
||
{{outlet}} |
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
1 change: 1 addition & 0 deletions
1
release/assets/kredits-web-651a47539df240d969d59469e72da490.map
Large diffs are not rendered by default.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...-web-f21602587acec9a1744c244385a83592.css → ...-web-a9dbff1f1ec96f860d4ebebcc808e6a6.css
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
release/assets/kredits-web-c6399723d7220b2a99dd4f3a76ffcb10.map
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.