-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathHomeLinks.jsx
44 lines (38 loc) · 982 Bytes
/
HomeLinks.jsx
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
import React from 'react';
const HomeLinks = () => (
<div className="home-header-links">
<HomeRestaurantLink />
<HomeNightlifeLink />
<SearchExample />
<LogoInstruction />
</div>
);
export default HomeLinks;
const HomeRestaurantLink = () => (
<span className="home-header-link">
<i className="fa fa-cutlery" aria-hidden="true" />
<a href="#/businesses/?name=&location=New%20York">
Restaurants
</a>
</span>
);
const HomeNightlifeLink = () => (
<span className="home-header-link">
<i className="fa fa-glass" aria-hidden="true" />
<a href="#/businesses/?name=&location=New%20York&tag=nightlife">
Nightlife
</a>
</span>
);
const SearchExample = () => (
<p>Search Example:
<a href="#/businesses/?name=burger&location=19th%20St">
find "burger" near "19th St"
</a>
</p>
);
const LogoInstruction = () => (
<p>
Click on bara logo for new random featured businesses
</p>
);