-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (56 loc) · 3.25 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>NAPS - National Association to Promote Siestas</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:300,400,700">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<header>
<div class="content-wrapper">
<img src="img/[email protected]" class="logo" alt="NAPS Logo">
<nav>
<ul>
<li><a href="#">SiestaCon</a></li>
<li><a href="#">Press</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</div>
</header>
<div class="hero">
<h1>National Association to Promote Siestas</h1>
<p>Promoting siestas for increased health & happiness.</p>
</div>
<main role="main">
<div class="content-wrapper">
<p id="press-quote">NAPS is by far the most significant cultural force of the decade. — New York Times</p>
<p>We work hard to make sure your boss, your family, and your friends know that it’s okay for you to take a siesta wherever and whenever you want. We also educate city governments nation-wide about the benefits of sleeping on park benches. Thanks to our efforts, most criminals respect the siesta and will not steal your personal belongings while you take a siesta in a public area. We’re currently working with the U.S. congress to introduce legislation designed to safeguard the jobs of employees who take siestas at work. We also help fund many local chapter organizations. If you’re interested in starting a NAPS chapter in your local community, please <a href="#">contact us</a>.</p>
<h2>Our History</h2>
<figure>
<img src="img/[email protected]" alt="William Dozer">
<figcaption>William Dozer on that fateful day</figcaption>
</figure>
<p>NAPS began in 1938 when our founder, William Dozer, was fired from his job for taking a siesta during work hours at a Baltimore factory. William realized that siestas are a fundamental human right, so he organized a strike at the factory. The strike was a success and led to a company-wide policy which allowed three siestas per day. After the successful strike, William Dozer started NAPS with the goal of implementing similar policies across the United States. Today NAPS operates out of Washington, D.C. with local chapters in all 50 states, advocating for free sleep in all spheres of life.</p>
</div>
</main>
<footer>
<p>Copyright © National Association to Promote Siestas</p>
</footer>
<script>
let quotesArray = [
'"NAPS is by far the most significant cultural force of the decade." — New York Times',
'"These days sleeping at your desk is not just acceptable, it’s encouraged." — The Atlantic',
'"NAPS has changed the way people think about sleep, on a grand scale." — Washington Post',
'"Happiness increased 200% since NAPS began promoting siestas." — National Science Review',
'"NAPS has ushered in a new era of sleep." — USA Today',
'"Not surprisingly, more siestas means more productivity." — Wall Street Journal',
'"NAPS is doing the hard work of helping people get the rest they need." — U.S. News'
]
let randomNumber = Math.floor(Math.random() * quotesArray.length); //
document.getElementById('press-quote').textContent = quotesArray[randomNumber]; //
</script>
</body>
</html>