Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help wanted #14

Merged
merged 4 commits into from
Jul 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/dockerfiles/.gitpod.Dockerfile

This file was deleted.

5 changes: 1 addition & 4 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
image:
file: .github/dockerfiles/.gitpod.Dockerfile
context: .github
tasks:
- init: gem install bundler && bundle install
- init: bundle install
command: bundle exec jekyll serve --livereload
vscode:
extensions:
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"conventionalCommits.scopes": [
"mobile"
"mobile",
"help"
]
}
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]
### Added
- Help wanted page
- `single-content` layout for pages without a multi-card layout.

### Changed

### Removed
- `margin-left` on the first nav `li`

## [0.0.1-beta.4] - 2022-07-16
### Added
Expand Down
19 changes: 19 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
layout: single-content
---

## Contribute to Chocolate Network 🍫

Chocolate is still growing, and we would like you to grow with us! Our vision for this platform is vast, but we can only do so much alone.

Generally, you can hop on any of these repositories on GitHub and checkout the issues tab for what is currently needed/being worked on. You can also consult the `README` file of each repository for more information with regards to setup, contribution, etc.

1. Parachain (Substrate + Rust): [chocolatenetwork/chocolate-parachain](https://github.com/chocolatenetwork/chocolate-parachain)
2. Web app (React + Typescript): [chocolatenetwork/chocolate-front-end](https://github.com/chocolatenetwork/chocolate-front-end)
3. Content and Documentation: [chocolatenetwork/choco-pages](https://github.com/chocolatenetwork/choco-pages)

### Contributor questions

Got further questions? Please reach out on our community [Discord](https://discord.gg/p6wqHGVMUP), or tag related maintainers on GitHub. We look forward to your contributions!

> \- Team Chocolate 🍫
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ GEM
unicode-display_width (1.8.0)

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ This is a simple site hosting content about chocolate network.

### Development flow:

1. Branch off of dev for feature
2. Merge into dev
3. Merge into local gh-pages
4. Merge into upstream gh-pages.
1. Branch off of `gh-pages` for feature
2. PR Merge into upstream gh-pages.

Open in Gitpod: [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/chocolatenetwork/choco-pages/tree/gh-pages)
1 change: 1 addition & 0 deletions _config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ exclude:
- vendor/cache/
- vendor/gems/
- vendor/ruby/
- .vscode/
- .gitpod.yml
- .gitignore
- CHANGELOG.md
Expand Down
3 changes: 3 additions & 0 deletions _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
<a class="logo link" href={{'/#home' | relative_url}}>
<i class="chocolate"></i><span class="text--light nav_home-link">chocolate <b data-target>network</b></span>
</a>
<a class="link button" href={{'/CONTRIBUTING' | relative_url}}>
HELP WANTED
</a>
<button type="button" data-state="closed" class="button--transparent nav_burger">
{% include burger-menu.svg %}
</button>
Expand Down
7 changes: 7 additions & 0 deletions _layouts/single-content.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: default
---

<div class="single-content-wrapper">
{{content}}
</div>
7 changes: 5 additions & 2 deletions _sass/_molecules.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

// <nav incs>
@mixin nav-li {
margin-left: 1rem;
&:not(:first-of-type) {
margin-left: 1rem;
}
}
@mixin nav-logo {
color: $nav-logo-text;
Expand Down Expand Up @@ -103,9 +105,10 @@
}
@mixin nav-main-grid{
display: grid;
grid-template-columns: auto max-content;
grid-template-columns: auto max-content max-content;
grid-auto-rows: minmax(75px, max-content);
row-gap: $body-padding;
column-gap: $body-padding;
align-items: center;
}
// <footer incs>
Expand Down
11 changes: 10 additions & 1 deletion _sass/primitives/_atoms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,21 @@ $transition-style: ease;
.button {
@include button;
}

.button--transparent {
// include var before @include so it's defined before use inside.
--btn-bg: transparent;
@include button-light;
}
// order must be maintained for overriding.
.single-content-wrapper a {
color: $blue-link;
}
.single-content-wrapper a:visited {
color: $visited-link;
}
.single-content-wrapper a:active {
color: $active-link;
}

// misc traits describing behaviour of organisms (cannot standalone, hence atomic).
html:focus-within {
Expand Down
5 changes: 5 additions & 0 deletions _sass/primitives/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ body {
background-color: $primary;
color: $text-color;
}

// links. best contrast.
$visited-link: #EBA3D6;
$blue-link: #BDBDFF;
$active-link: #FF9999;