Skip to content

Commit

Permalink
Merge branch 'release/0.7.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticicestudio committed Jan 26, 2019
2 parents ff74f2d + 13aa3c1 commit 263dc5a
Show file tree
Hide file tree
Showing 88 changed files with 18,202 additions and 206 deletions.
72 changes: 72 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,69 @@

<!-- lint disable no-duplicate-headings -->

# 0.7.0

![Release Date: 2019-01-26](https://img.shields.io/badge/Release_Date-2019--01--26-88c0d0.svg?style=flat-square&colorA=4c566a) [![Project Board](https://img.shields.io/badge/Project_Board-0.7.0-88c0d0.svg?style=flat-square&colorA=4c566a&logo=github&logoColor=eceff4)](https://github.com/arcticicestudio/nord-docs/projects/9) [![Milestone](https://img.shields.io/badge/Milestone-0.7.0-88c0d0.svg?style=flat-square&colorA=4c566a&logo=github&logoColor=eceff4)](https://github.com/arcticicestudio/nord-docs/milestone/7)

This version mainly focused on the [sections of the community page][gh-115] to represent Nord's community chat channels as well as the content & knowledge bases.

## Features

<p align="center"><img src="https://user-images.githubusercontent.com/7836623/48676311-39475300-eb65-11e8-9654-16c24c1c9a94.png" width="12%"/></p>

The following issues are related to the [“Components” design concept][gh-63].

**Community Page Sections**#115#116 (⊶ 5fb775c7)
↠ Implemented all community page sections including required dependencies, components and illustrations.
All sections follow the [“Responsive Web” design concept][gh-52] to adjust the rendered content based on the available width and provide an optimal UX on smaller viewports.

<p align="center"><img src="https://user-images.githubusercontent.com/7836623/51789079-bb677f80-2185-11e9-8069-782a098c3d50.png"/></p>

### Hero

The first section is the “hero” of the community page that renders a description about the page's purpose and an animated SVG component.

<p align="center"><img src="https://user-images.githubusercontent.com/7836623/51789084-bb677f80-2185-11e9-8f01-06d2d1b24b5a.png"/></p>

<p align="center"><img src="https://user-images.githubusercontent.com/7836623/51789085-bc001600-2185-11e9-8711-fc6c7a082405.png"/></p>

<p align="center"><img src="https://user-images.githubusercontent.com/7836623/51789098-da661180-2185-11e9-86af-cfafc58395f3.gif"/></p>

### Chats

The 2nd section is about Nord's community chats where each platform is represented as card rendered in a two-column grid layout. Each card contains the platforms official logo, colorized with colors of the respective brand guidelines, a short summary about the platform/service and a link component that'll forward to the community within the platform.
Next to the official main channel each platform also provides sub-channels for all port projects

As of now the following community chats of Nord are represented:

- Arctic Ice Studio's official community on [Spectrum][spectrum-ais]
- Nord's official [Keybase team chat][kb-chat-nord]
- Nord's official [Slack][slack-ais] workspace
- Nord's official [Discord][] space

<p align="center"><img src="https://user-images.githubusercontent.com/7836623/51789080-bb677f80-2185-11e9-8c28-5d429bfa14e0.png"/></p>

<p align="center"><img src="https://user-images.githubusercontent.com/7836623/51789081-bb677f80-2185-11e9-9a81-b00b77af90e9.png"/></p>

### Content

The 3th and also currently last section presents platforms where the community can create content and ask questions for and about Nord. Next to the official documentation these content & knowledge bases are also powered by community.

Like the chat platforms in the previous section each platform/service is represented as card including the same information, rendered by the same components, and also structured in a two-column grid layout.
Next to this, each card includes the latest three items (questions, posts etc.) of the platform's community rendered as link component with the item's title and metadata like tags, the name of the author and the relative creation date/time.

As of now the following community platforms of Nord are represented:

- Latest questions from [Stack Overflow][stof-nord-tagged] tagged with `nord` or `nordtheme`
- Nord's official [/r/nordtheme][] subreddit

All data is fetched from the official REST APIs of the respective platform using [axios][gh-axios].
The processing of any date/time data is handled with [date-fns][gh-date-fns], a modern and more lightweight ES6+ library with tree-shaking support that'll be used project-wide for Nord Docs to handle any other date/time data like e.g. blog posts metadata.

<p align="center"><img src="https://user-images.githubusercontent.com/7836623/51789082-bb677f80-2185-11e9-99f3-5cb9387fcefa.png"/></p>

<p align="center"><img src="https://user-images.githubusercontent.com/7836623/51789083-bb677f80-2185-11e9-9920-64914402da26.png"/></p>

# 0.6.0

![Release Date: 2019-01-13](https://img.shields.io/badge/Release_Date-2019--01--13-88c0d0.svg?style=flat-square&colorA=4c566a) [![Project Board](https://img.shields.io/badge/Project_Board-0.6.0-88c0d0.svg?style=flat-square&colorA=4c566a&logo=github&logoColor=eceff4)](https://github.com/arcticicestudio/nord-docs/projects/8) [![Milestone](https://img.shields.io/badge/Milestone-0.6.0-88c0d0.svg?style=flat-square&colorA=4c566a&logo=github&logoColor=eceff4)](https://github.com/arcticicestudio/nord-docs/milestone/6)
Expand Down Expand Up @@ -813,11 +876,13 @@ Note that packages marked with an double exclamation mark `‼` have been affect

<!-- Base Links -->

[/r/nordtheme]: https://www.reddit.com/r/nordtheme
[babel]: https://babeljs.io
[babel-docs-plug]: https://babeljs.io/docs/en/plugins
[circleci]: https://circleci.com
[codecov]: https://codecov.io
[cra]: https://facebook.github.io/create-react-app
[discord]: https://discordapp.com
[editorconfig]: https://editorconfig.org
[eslint]: https://eslint.org
[eslint-docs-auto-fix]: https://eslint.org/docs/user-guide/command-line-interface#fixing-problems
Expand Down Expand Up @@ -875,10 +940,13 @@ Note that packages marked with an double exclamation mark `‼` have been affect
[gh-109]: https://github.com/arcticicestudio/nord-docs/issues/109
[gh-110]: https://github.com/arcticicestudio/nord-docs/issues/110
[gh-112]: https://github.com/arcticicestudio/nord-docs/issues/112
[gh-115]: https://github.com/arcticicestudio/nord-docs/issues/112
[gh-arcland]: https://github.com/arcticicestudio/arctic-landscape
[gh-arcocfrac]: https://www.npmjs.com/package/arctic-ocean-fractal
[gh-axios]: https://github.com/axios/axios
[gh-bsl]: https://github.com/willmcpo/body-scroll-lock
[gh-community-profile]: https://github.com/arcticicestudio/nord-docs/community
[gh-date-fns]: https://github.com/date-fns/date-fns
[gh-eslint-config-arcticicestudio]: https://github.com/arcticicestudio/eslint-config-arcticicestudio
[gh-gp-ws]: https://github.com/axe312ger/gatsby-plugin-webpack-size
[gh-help-coc]: https://help.github.com/articles/adding-a-code-of-conduct-to-your-project
Expand Down Expand Up @@ -908,6 +976,7 @@ Note that packages marked with an double exclamation mark `‼` have been affect
[inter-ui]: https://rsms.me/inter
[jest]: https://jestjs.io
[json-ld]: https://json-ld.org
[kb-chat-nord]: https://keybase.io/team/nord.chat
[md]: https://material.io
[md-com-es]: https://material.io/design/communication/empty-states.html
[mdn-button]: https://developer.mozilla.org/de/docs/Web/HTML/Element/button
Expand Down Expand Up @@ -956,10 +1025,13 @@ Note that packages marked with an double exclamation mark `‼` have been affect
[react-pose]: https://popmotion.io/pose
[remark]: https://remark.js.org
[schema.org]: https://schema.org
[slack-ais]: https://arcticicestudio.slack.com
[spectrum-ais]: https://spectrum.chat/arcticicestudio
[stc-docs-globstyle]: https://www.styled-components.com/docs/api#createglobalstyle
[stc-docs-mqt]: https://www.styled-components.com/docs/advanced#media-templates
[stc-docs-thprov]: https://www.styled-components.com/docs/api#themeprovider
[stc-docs-tooling-jest]: https://www.styled-components.com/docs/tooling#jest-integration
[stof-nord-tagged]: https://stackoverflow.com/questions/tagged/nord+or+nordtheme
[styled-components]: https://styled-components.com
[styleguide-javascript]: https://arcticicestudio.github.io/styleguide-javascript
[styleguide-markdown]: https://arcticicestudio.github.io/styleguide-markdown
Expand Down
16,261 changes: 16,261 additions & 0 deletions assets/images/illustrations/community-cohesion.ai

Large diffs are not rendered by default.

33 changes: 28 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nord-docs",
"title": "Nord Docs",
"version": "0.6.0",
"version": "0.7.0",
"description": "The official Nord website and documentation",
"author": {
"name": "Arctic Ice Studio",
Expand Down Expand Up @@ -85,7 +85,9 @@
"dependencies": {
"arctic-landscape": ">=0.1.0 <1.0.0",
"arctic-ocean-fractal": ">=0.1.0 <1.0.0",
"axios": "0.18.0",
"body-scroll-lock": "2.6.1",
"date-fns": "2.0.0-alpha.27",
"gatsby": "2.0.75",
"gatsby-plugin-canonical-urls": "2.0.8",
"gatsby-plugin-catch-links": "2.0.9",
Expand Down
5 changes: 4 additions & 1 deletion src/components/atoms/core/Button/Button.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const BaseButton = styled.button`
* @since 0.6.0
* @see https://developer.mozilla.org/de/docs/Web/HTML/Element/button
*/
const Button = ({ children, dashed, disabled, ghost, href, onClick, outlined, quiet, to, variant }) => {
const Button = ({ children, dashed, disabled, ghost, href, onClick, outlined, quiet, to, variant, ...passProps }) => {
if (href) {
return (
<BaseButton
Expand All @@ -41,6 +41,7 @@ const Button = ({ children, dashed, disabled, ghost, href, onClick, outlined, qu
outlined={outlined}
quiet={quiet}
variant={variant}
{...passProps}
>
{children}
</BaseButton>
Expand All @@ -57,6 +58,7 @@ const Button = ({ children, dashed, disabled, ghost, href, onClick, outlined, qu
quiet={quiet}
to={to}
variant={variant}
{...passProps}
>
{children}
</BaseButton>
Expand All @@ -71,6 +73,7 @@ const Button = ({ children, dashed, disabled, ghost, href, onClick, outlined, qu
outlined={outlined}
quiet={quiet}
variant={variant}
{...passProps}
>
{children}
</BaseButton>
Expand Down
4 changes: 2 additions & 2 deletions src/components/atoms/core/HTMLElements/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@

import { A, Code } from "./inline-text-semantics";
import { H1, H2, H3, H4, H5, H6 } from "./sectioning";
import { P, Pre } from "./text";
import { Hr, P, Pre } from "./text";

export { A, Code, H1, H2, H3, H4, H5, H6, P, Pre };
export { A, Code, H1, H2, H3, H4, H5, H6, Hr, P, Pre };
36 changes: 36 additions & 0 deletions src/components/atoms/core/HTMLElements/text/Hr.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* Copyright (C) 2018-present Arctic Ice Studio <[email protected]>
* Copyright (C) 2018-present Sven Greb <[email protected]>
*
* Project: Nord Docs
* Repository: https://github.com/arcticicestudio/nord-docs
* License: MIT
*/

import styled from "styled-components";

import { colors, motion, themedMode, MODE_BRIGHT_SNOW_FLURRY, MODE_DARK_NIGHT_FROST } from "styles/theme";

const backgroundColor = themedMode({
[MODE_BRIGHT_SNOW_FLURRY]: colors.nord4,
[MODE_DARK_NIGHT_FROST]: colors.nord2
});

/**
* A base HTML component that represents a visual thematic break between paragraph-level elements.
*
* @author Arctic Ice Studio <[email protected]>
* @author Sven Greb <[email protected]>
* @since 0.7.0
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr
*/
const Hr = styled.hr`
background-color: ${backgroundColor};
border: 0;
height: ${({ size }) => size || 1}px;
margin: ${({ spacing }) => spacing || 5}em auto;
width: ${({ spreadPercent }) => spreadPercent || 35}%;
transition: background-color ${motion.speed.duration.transition.base.themeModeSwitch}ms ease-in-out;
`;

export default Hr;
3 changes: 2 additions & 1 deletion src/components/atoms/core/HTMLElements/text/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
* @since 0.3.0
*/

import Hr from "./Hr";
import P from "./P";
import Pre from "./Pre";

export { P, Pre };
export { Hr, P, Pre };
28 changes: 28 additions & 0 deletions src/components/atoms/core/vectors/divider/WaveSwaying.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* Copyright (C) 2018-present Arctic Ice Studio <[email protected]>
* Copyright (C) 2018-present Sven Greb <[email protected]>
*
* Project: Nord Docs
* Repository: https://github.com/arcticicestudio/nord-docs
* License: MIT
*/

import React from "react";

import DividerSvg from "./DividerSvg";

/**
* A SVG vector graphic divider component rendering a "swaying" wave form.
*
* @author Arctic Ice Studio <[email protected]>
* @author Sven Greb <[email protected]>
* @since 0.7.0
* @see https://developer.mozilla.org/de/docs/Web/SVG
*/
const WaveSwaying = props => (
<DividerSvg {...props} viewBox="0 0 1440 94" xmlns="http://www.w3.org/2000/svg">
<path d="M0 .91c37.102-3.789 72.529 8.207 112.12 35.083 104.792 71.133 186.932 18.896 299.41-18.297 112.476-37.193 128.544 64.109 218.349 43.87 89.805-20.238 155.519-61.91 327.519-21.16s253.141 66.825 357.309 36.95c49.177-14.104 85.113-37.259 125.293-57.88V94H0V.91z" />
</DividerSvg>
);

export default WaveSwaying;
28 changes: 28 additions & 0 deletions src/components/atoms/core/vectors/divider/WaveWobbly.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/*
* Copyright (C) 2018-present Arctic Ice Studio <[email protected]>
* Copyright (C) 2018-present Sven Greb <[email protected]>
*
* Project: Nord Docs
* Repository: https://github.com/arcticicestudio/nord-docs
* License: MIT
*/

import React from "react";

import DividerSvg from "./DividerSvg";

/**
* A SVG vector graphic divider component rendering a "wobbly" wave form.
*
* @author Arctic Ice Studio <[email protected]>
* @author Sven Greb <[email protected]>
* @since 0.7.0
* @see https://developer.mozilla.org/de/docs/Web/SVG
*/
const WaveWobbly = props => (
<DividerSvg {...props} viewBox="0 0 2463.834 324" xmlns="http://www.w3.org/2000/svg">
<path d="M449.979 194.247c116.719-64.927 202.059-74.405 277.129 8.894S854.826 70.9 945.537 63.955s132.559 75.705 222.363 55.469 213.11-152.42 385.11-111.672c172 40.747 160.191 200.818 264.359 170.945 104.167-29.873 125.46-98.789 203.364-79.848 64.65 15.721 100.484 121.061 177.736 86.945C2451.397 74.1 2463.834 324 2463.834 324H0s63.247-148.374 251.034-95.148c91.928 26.056 122.236 8.066 198.945-34.605z" />
</DividerSvg>
);

export default WaveWobbly;
14 changes: 13 additions & 1 deletion src/components/atoms/core/vectors/divider/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,17 @@ import WaveRough from "./WaveRough";
import WaveSmooth from "./WaveSmooth";
import WaveSmooth2 from "./WaveSmooth2";
import WaveSmoothFlat from "./WaveSmoothFlat";
import WaveSwaying from "./WaveSwaying";
import WaveWobbly from "./WaveWobbly";

export { LinesWavyIntersecting, WaveFooter, WaveRoaring, WaveRough, WaveSmooth, WaveSmooth2, WaveSmoothFlat };
export {
LinesWavyIntersecting,
WaveFooter,
WaveRoaring,
WaveRough,
WaveSmooth,
WaveSmooth2,
WaveSmoothFlat,
WaveSwaying,
WaveWobbly
};
1 change: 1 addition & 0 deletions src/components/containers/core/Section/Content.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import CoreContent from "containers/core/Content";
const Content = styled(CoreContent)`
padding-top: ${({ compact }) => !compact && "2.5em"};
padding-bottom: ${({ compact }) => !compact && "2.5em"};
position: ${({ decorated }) => decorated && "relative"};
${({ theme }) => theme.media.tabletLandscape`
padding-top: ${({ compact }) => !compact && "5em"};
Expand Down
10 changes: 8 additions & 2 deletions src/components/containers/core/Section/Section.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,18 @@ import styled from "styled-components";

import { motion } from "styles/theme";

import { baseBackgroundColor, primaryBackgroundColor, secondaryBackgroundColor } from "../shared/styles";
import {
baseBackgroundColor,
primaryBackgroundColor,
secondaryBackgroundColor,
tertiaryBackgroundColor
} from "../shared/styles";

const variants = {
base: baseBackgroundColor,
primary: primaryBackgroundColor,
secondary: secondaryBackgroundColor
secondary: secondaryBackgroundColor,
tertiary: tertiaryBackgroundColor
};

/**
Expand Down
Loading

0 comments on commit 263dc5a

Please sign in to comment.