-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbusiness.html
176 lines (174 loc) · 6.31 KB
/
business.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Business | NYTimes Top Stories</title>
<link rel="stylesheet" href="css/s.css" />
</head>
<body>
<header>
<div class="header-navigation-container--section">
<button id="btn-hamburger" class="btn-icon">
<img src="icons/hamburger.svg" alt="menu icon" />
</button>
<button id="btn-search" class="btn-icon">
<img src="icons/search.svg" alt="search icon" />
</button>
<nav class="inactive">
<button class="btn-icon btn-icon--close">
<img src="icons/close.svg" alt="menu icon" />
</button>
<ul>
<li>
<form action="search.html" class="header-search-container">
<input type="text" placeholder="SEARCH" id="header-search--nav" class="header-search-input" required />
<input type="submit" value="GO" class="btn-submit" />
</form>
</li>
<li><a href="index.html">Home</a></li>
<li><a href="arts.html">Arts</a></li>
<li><a href="business.html">Business</a></li>
<li><a href="politics.html">Politics</a></li>
<li><a href="technology.html">Technology</a></li>
<li><a href="world.html">World</a></li>
</ul>
</nav>
<form action="search.html" class="header-search-container inactive">
<input type="text" placeholder="SEARCH" id="header-search--header" class="header-search-input" required />
<input type="submit" value="GO" class="btn-submit" />
</form>
</div>
<div class="logo-nytimes">
<a href="index.html">
<img
src="https://upload.wikimedia.org/wikipedia/commons/5/58/NewYorkTimes.svg"
alt="The New York Times logo"
/>
</a>
</div>
<div class="header-navigation-container--action">
<button id="btn-action" class="btn-icon">
<img src="icons/star-svgrepo-com.svg" alt="action icon" />
</button>
<a href="https://www.nytimes.com/international/" class="btn-link">
<span>GO TO OFFICIAL SITE</span>
</a>
<nav class="inactive">
<button class="btn-icon btn-icon--close">
<img src="icons/close.svg" alt="menu icon" />
</button>
<ul>
<li><a href="https://www.nytimes.com/international/">GO TO OFFICIAL SITE</a></li>
<li><a href="https://www.nytimes.com/subscription?campaignId=9YU8R">SUBSCRIBE</a></li>
<li><a href="https://developer.nytimes.com/apis">ABOUT NYTIMES API</a></li>
</ul>
</nav>
</div>
</header>
<main class="section-page">
<template id="template-content--i">
<article class="content">
<a href="" id="content-src" class="content__src" target="_blank">
<div class="content__text">
<h3 id="content-title" class="content__title">
<div class="skeleton skeleton-text skeleton-text--md"></div>
</h3>
<small id="content-writers" class="content__writers">
<div class="skeleton skeleton-text skeleton-text--sm"></div>
</small>
</div>
<div class="content__thumbnail">
<img id="content-thumbnail" class="skeleton skeleton-thumbnail" src="" alt="" />
</div>
</a>
</article>
</template>
<template id="template-content--d-a-i">
<article class="content">
<div id="content-date" class="content__date">
<div class="skeleton skeleton-text skeleton-text--md"></div>
</div>
<a href="" id="content-src" class="content__src" target="_blank">
<div class="content__text">
<h3 id="content-title" class="content__title">
<div class="skeleton skeleton-text skeleton-text--md"></div>
</h3>
<small id="content-writers" class="content__writers">
<div class="skeleton skeleton-text skeleton-text--sm"></div>
</small>
<div id="content-abstract" class="content__abstract">
<div class="skeleton skeleton-text margin-bottom--sm"></div>
<div class="skeleton skeleton-text margin-bottom--sm"></div>
<div class="skeleton skeleton-text margin-bottom--sm"></div>
</div>
</div>
<div class="content__thumbnail">
<img id="content-thumbnail" class="skeleton skeleton-thumbnail" src="" alt="" />
</div>
</a>
</article>
</template>
<div class="section-page">
<h1 id="section-page-title">Business</h1>
<section id="section-page-top" class="section-page__top section--all-img">
<section class="section__body"> </section>
</section>
<section class="page__search-container">
<div class="search-bar">
<div class="search-bar__input">
<div class="btn-icon">
<img src="icons/search--input.svg" alt="" />
</div>
<input type="search" placeholder="SEARCH" autocomplete="off" />
</div>
<div class="search-bar__sort-container">
<div class="search-bar__sort search-bar__sort--date">
<label>Date</label>
<select name="sort-date" id="sort-date" autocomplete="off">
<option value="none" selected>None</option>
<option value="newest">Newest</option>
<option value="oldest">Oldest</option>
</select>
</div>
</div>
</div>
<section id="search-result" class="search-result"> </section>
<div class="search-result__loader"></div>
</section>
</div>
</main>
<footer>
<div>
<ul class="sections">
<div>
<li><a href="index.html">Home Page</a></li>
<li><a href="arts.html">Arts</a></li>
<li><a href="business.html">Business</a></li>
</div>
<div>
<li><a href="politics.html">U.S. Politics</a></li>
<li><a href="technology.html">Technology</a></li>
<li><a href="world.html">World</a></li>
</div>
</ul>
<ul class="nytimes">
<li><a href="https://www.nytimes.com/international/">Go to Official Site</a></li>
<li><a href="https://www.nytimes.com/subscription?campaignId=9YU8R">Subscribe</a></li>
<li><a href="https://developer.nytimes.com/apis">About NYTimes API</a></li>
</ul>
<ul class="dev">
<li><a href="">Source Code</a></li>
<li><a href="mailto:lingga.abdulrahman.u@gmail.com">Contact Developer</a></li>
<li>Abdulrahman Lingga</li>
</ul>
</div>
</footer>
</body>
<script src="js/header.js"></script>
<script>
const section = 'business';
</script>
<script src="js/section.js"></script>
</html>