Skip to content

Commit

Permalink
[fix] resolve #136, illustration visual assets
Browse files Browse the repository at this point in the history
  • Loading branch information
Amin Al Hazwani committed Nov 8, 2017
1 parent 216a496 commit 3def594
Show file tree
Hide file tree
Showing 16 changed files with 501 additions and 26 deletions.
6 changes: 0 additions & 6 deletions contents/includes/illustration/illustration-about.html

This file was deleted.

6 changes: 0 additions & 6 deletions contents/includes/illustration/illustration-errors.html

This file was deleted.

6 changes: 0 additions & 6 deletions contents/includes/illustration/illustration-onboarding.html

This file was deleted.

4 changes: 0 additions & 4 deletions contents/includes/illustration/illustration-whimsical.html

This file was deleted.

26 changes: 22 additions & 4 deletions contents/visuals/illustration.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,37 @@ <h2>Usage</h2>
<p>
Use illustration to encourage users who are frustrated, are lost, or have had something go wrong. Don't use illustration if the user is in danger.
</p>
<% include ../includes/illustration/illustration-errors.html %>
<figure>
<img src="../images/illustration/illustration-usage-1.svg" alt="Use of illustration in an error page">
<figcaption>
In pages like <em>error pages</em>, the illustration may bring a smile to the user's face
</figcaption>
</figure>
<p>
Use illustration to <strong>introduce</strong> and <strong>explain</strong> a product or feature. This can be especially helpful for new, misused, or neglected features.
</p>
<% include ../includes/illustration/illustration-onboarding.html %>
<figure>
<img src="../images/illustration/illustration-usage-4.svg" alt="Use of illustration in the onboarding">
<figcaption>
During <em>onboarding</em>, illustrations are used to introduce the user to the product's features
</figcaption>
</figure>
<p>
Use illustration to help people <strong>understand</strong> content by <strong>exemplifying</strong> it. This is especially useful in text-heavy components like announcements.
</p>
<% include ../includes/illustration/illustration-about.html %>
<figure>
<img src="../images/illustration/illustration-usage-2.svg" alt="Use of illustration in the 'About Your Rights' page">
<figcaption>
In pages like <em>about:rights</em>, the whimisical illustration encourages to read
</figcaption>
</figure>
<p>
Use illustration to <strong>congratulate</strong> or <strong>celebrate</strong> with people.
</p>
<% include ../includes/illustration/illustration-whimsical.html %>
<figure>
<img src="../images/illustration/illustration-usage-3.svg" alt="Use of illustration in the 'Our Contributors' page">
<figcaption>A whimisical unicorn celebrates our contributors in the <em>about:credits</em> page</figcaption>
</figure>
</section>

<section>
Expand Down
Binary file removed images/illustration/error-1.png
Binary file not shown.
Binary file removed images/illustration/error-2.png
Binary file not shown.
Binary file removed images/illustration/error-3.png
Binary file not shown.
Binary file removed images/illustration/error-4.png
Binary file not shown.
90 changes: 90 additions & 0 deletions images/illustration/illustration-usage-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
60 changes: 60 additions & 0 deletions images/illustration/illustration-usage-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
122 changes: 122 additions & 0 deletions images/illustration/illustration-usage-3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
207 changes: 207 additions & 0 deletions images/illustration/illustration-usage-4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/illustration/long-text-1.png
Binary file not shown.
Binary file removed images/illustration/long-text-2.png
Binary file not shown.
Binary file removed images/illustration/onboarding-1.png
Binary file not shown.

0 comments on commit 3def594

Please sign in to comment.