Skip to content

Commit

Permalink
docs: crate main doc for how to deal with brand (#2100)
Browse files Browse the repository at this point in the history
* Create main doc for how to deal with brand

* Add pages to brand seciton

* Correct MDX v2 issues

* Removed draft docs

* Add link from theming to brand section

---------

Co-authored-by: Tobias Høegh <[email protected]>
  • Loading branch information
joakbjerk and tujoworker authored Mar 16, 2023
1 parent 7f0caee commit 0144b5c
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: 'Development'
---

# Development
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: 'Import styles'
level: 1
---

# Import styles
79 changes: 65 additions & 14 deletions packages/dnb-design-system-portal/src/docs/contribute.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -38,20 +38,71 @@ Colors, fonts and logo guidelines are set in the DNB Brandbook and the digital v

## Dive in

<div align="center" className="dnb-section dnb-section--spacing dnb-section--mint-green">
<div style={{display: 'flex', flexWrap: 'wrap', marginBottom: '1rem'}}>
<Card url="/contribute/rules" about="Code of conduct and Development principles" title="Ground rules" icon={Principles} />
<Card url="/contribute/first-contribution" about="Your first contribution, Pull Requests and Technical information " title="New contributor" icon={NewContributor} />
<Card url="/contribute/getting-started" about="Set up environment, Make changes and Run tests " title="Getting started" icon={GettingStarted} />
</div>

<strong>Or go directly to</strong>

<Button href="/contribute/style-guides" size="large" variant="secondary" text="Style guides" icon="chevron_right" right />
<Button href="/contribute/deploy" size="large" variant="secondary" text="Deployment" icon="chevron_right" right />
<Button href="/contribute/faq" size="large" variant="secondary" text="FAQ" icon="chevron_right" right />
<Button href="/contribute/contact" size="large" variant="secondary" text="Contact" icon="chevron_right" />

<div
align="center"
className="dnb-section dnb-section--spacing dnb-section--mint-green"
>
<div style={{ display: 'flex', flexWrap: 'wrap', marginBottom: '1rem' }}>
<Card
url="/contribute/rules"
about="Code of conduct and Development principles"
title="Ground rules"
icon={Principles}
/>
<Card
url="/contribute/first-contribution"
about="Your first contribution, Pull Requests and Technical information "
title="New contributor"
icon={NewContributor}
/>
<Card
url="/contribute/getting-started"
about="Set up environment, Make changes and Run tests "
title="Getting started"
icon={GettingStarted}
/>
</div>
<h3>Or go directly to</h3>
<div
style={{
display: 'flex',
flexWrap: 'wrap',
gap: '1rem',
justifyContent: 'center',
}}
>
<Button
href="/contribute/style-guides"
size="large"
variant="secondary"
text="Style guides"
icon="chevron_right"
right
/>
<Button
href="/contribute/deploy"
size="large"
variant="secondary"
text="Deployment"
icon="chevron_right"
right
/>
<Button
href="/contribute/faq"
size="large"
variant="secondary"
text="FAQ"
icon="chevron_right"
right
/>
<Button
href="/contribute/contact"
size="large"
variant="secondary"
text="Contact"
icon="chevron_right"
/>
</div>
</div>

### Links to important resources
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ import { Button } from '@dnb/eufemia/src'

For all discussion topics, ask in Slack:

<Button href="https://dnb-it.slack.com/archives/CMXABCHEY">
#eufemia-web
</Button>
<Button
href="https://dnb-it.slack.com/archives/CMXABCHEY"
text="#eufemia-web"
/>

### Related channels in [DNB IT](https://dnb-it.slack.com)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Theming is a umbrella term of a wide range of different ways and needs of custom

This section covers some of the needs we've seen in DNB productions as of now.

You may also check out the section in the contribution docs on [how to maintain and create a theme](/contribute/style-guides/theming/).
You may also check out the section in the contribution docs on [how to maintain and create a theme](/contribute/style-guides/theming/) or [how to deal with the brand as a developer](/brand/development/).

- [Theming](#theming)
- [Integrated theming](#integrated-theming)
Expand Down

0 comments on commit 0144b5c

Please sign in to comment.