-
Notifications
You must be signed in to change notification settings - Fork 21
/
highlights.js
71 lines (68 loc) · 2.73 KB
/
highlights.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
import React from 'react';
import circle from 'uswds/img/circle-124.png';
/*
Use this section to highlight key elements of your site. Some sites will only have two while others may have six to eight.
*/
const Highlights = () => (
<section className="usa-graphic-list usa-section usa-section--dark">
<div className="grid-container">
<div className="usa-graphic-list__row grid-row grid-gap">
<div className="usa-media-block tablet:grid-col">
<img className="usa-media-block__img" src={circle} alt="Alt text" />
<div className="usa-media-block__body">
<h3 className="usa-graphic-list__heading">
Graphic headings can vary.
</h3>
<p>
Graphic headings can be used a few different ways, depending on
what your landing page is for. Highlight your values, specific
program areas, or results.
</p>
</div>
</div>
<div className="usa-media-block tablet:grid-col">
<img className="usa-media-block__img" src={circle} alt="Alt text" />
<div className="usa-media-block__body">
<h3 className="usa-graphic-list__heading">
Stick to 6 or fewer words.
</h3>
<p>
Keep body text to about 30 words. They can be shorter, but try to
be somewhat balanced across all four. It creates a clean
appearance with good spacing.
</p>
</div>
</div>
</div>
<div className="usa-graphic-list__row grid-row grid-gap">
<div className="usa-media-block tablet:grid-col">
<img className="usa-media-block__img" src={circle} alt="Alt text" />
<div className="usa-media-block__body">
<h3 className="usa-graphic-list__heading">
Never highlight anything without a goal.
</h3>
<p>
For anything you want to highlight here, understand what your
users know now, and what activity or impression you want from them
after they see it.
</p>
</div>
</div>
<div className="usa-media-block tablet:grid-col">
<img className="usa-media-block__img" src={circle} alt="Alt text" />
<div className="usa-media-block__body">
<h3 className="usa-graphic-list__heading">
Could also have 2 or 6.
</h3>
<p>
In addition to your goal, find out your users’ goals. What do they
want to know or do that supports your mission? Use these headings
to show those.
</p>
</div>
</div>
</div>
</div>
</section>
);
export default Highlights;