-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpage-adventures-hikes.js
51 lines (46 loc) · 1.72 KB
/
page-adventures-hikes.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
import React, { useState } from "react"
import BodyClassName from "react-body-classname"
import {Helmet} from "react-helmet"
import HeaderPortal from "components/header-portal"
import Slideshow from "components/slideshow/slideshow"
import "components/styles/page-adventure-ideas.scss"
import * as imageURLs from "../images/adventure-ideas/hikes/*.{png,jpg}"
import { useMainHeading } from "./main-heading-context"
const HikesPage = () => {
useMainHeading('CampSpots - Adventure Ideas: Hikes')
const images = [{
"src": "img1.jpg",
"alt": "",
"caption": "Late afternoon sun over Skyline Divide"
},{
"src": "img2.jpg",
"alt": "",
"caption": "Sunset from Olympic National Park"
},{
"src": "img3.jpg",
"alt": "",
"caption": "Wildflowers on Washington Highway 20"
},{
"src": "img4.jpg",
"alt": "",
"caption": "Hiking the North Cascades with a slice of berry pie"
}]
return (
<BodyClassName className="header-overlap page-adventure-ideas">
<section aria-labelledby="heading-1">
<header className="page-header">
<div className="page-header-content layout">
<h2 className="primary-heading h1-style" id="heading-1">Adventure Ideas: Hikes</h2>
</div>
</header>
<article className="layout">
<div className="inspiration-slideshow">
<h3>Inspiration Gallery</h3>
<Slideshow images={images} imageURLs={imageURLs} />
</div>
</article>
</section>
</BodyClassName>
)
}
export default HikesPage