Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replicated parking page #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
332 changes: 175 additions & 157 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"@fontsource/open-sans": "^4.5.2",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-brands-svg-icons": "^6.0.0",
"@fortawesome/free-regular-svg-icons": "^6.1.1",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.16",
"@mdx-js/mdx": "^1.6.22",
Expand All @@ -44,7 +45,7 @@
"latest-version": "^6.0.0",
"node-sass": "^6.0.1",
"react": "^17.0.2",
"react-bootstrap": "^2.0.2",
"react-bootstrap": "^2.4.0",
"react-dom": "^17.0.2",
"sass": "^1.43.4",
"styled-components": "^5.3.3",
Expand Down
Binary file modified src/.DS_Store
Binary file not shown.
Binary file modified src/components/.DS_Store
Binary file not shown.
Binary file modified src/components/Content/.DS_Store
Binary file not shown.
12 changes: 6 additions & 6 deletions src/components/Layout/Layout.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import * as React from 'react'
import { useStaticQuery, graphql } from 'gatsby'
// import { Container, Row } from 'react-bootstrap'
import Banner from '../Banner/Banner'
import Header from '../Header/Header'
import Footer from '../Footer/Footer'
// import Banner from '../Banner/Banner'
// import Header from '../Header/Header'
// import Footer from '../Footer/Footer'
import { createGlobalStyle } from 'styled-components'

const GlobalStyle = createGlobalStyle`
Expand All @@ -25,12 +25,12 @@ const Layout = ({ pageTitle, children }) => {
<div>
<GlobalStyle />
<title>{pageTitle} | {data.site.siteMetadata.title}</title>
<Banner />
<Header />
{/* <Banner /> */}
{/* <Header /> */}
<div>
{children}
</div>
<Footer />
{/* <Footer /> */}
</div>
)
}
Expand Down
Binary file modified src/components/UI/.DS_Store
Binary file not shown.
Binary file added src/images/parking-lot.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/pages/.DS_Store
Binary file not shown.
79 changes: 79 additions & 0 deletions src/pages/parking/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
import * as React from 'react'
import { Link } from "gatsby"
import Layout from '../../components/Layout/Layout'
import { Container, Row, Col } from 'react-bootstrap'
import { StaticImage } from 'gatsby-plugin-image'
import Title from '../../components/UI/Title/Title'
import Subtitle from '../../components/UI/Subtitle/Subtitle'
import BrandButton from "../../components/UI/BrandButton/BrandButton"
import "../../styles/main.scss"
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faMapMarkerAlt } from '@fortawesome/free-solid-svg-icons'

const ParkingPage = ({ data }) => {
return (
<Layout pageTitle="Parking">

{/* header */}
<Container>
<Row>
<Col className="mx-auto my-5" xs={12} sm={{ offset: 1, span: 10}} md={{ offset: 3, span: 6}}>
<Title className="text-center">PARKING</Title>
</Col>
<Col className="text-center mt-3" xs={12} sm={{ offset: 1, span: 10}} md={{ offset: 3, span: 6}}>
{/* LEFT ALIGNED */}
<p>
After 5pm, free parking spaces are widely available downtown. However, during the day, it helps to be strategic. Here's a map and some general guidelines for parking near Awesome Inc.
</p>
</Col>
</Row>
</Container>

{/* parking button */}
<Container>
<Row className="mb-5">
<Col className="d-flex justify-content-center">
{/* ICON IN BUTTON - <span class="glyphicon glyphicon-map-marker" aria-hidden="true"></span> */}
<Link to="https://www.google.com/maps/d/u/0/viewer?ll=38.041577,-84.492438&hl=en&f=q&hq=parking+near+awesome+inc&source=s_q&spn=0.003333,0.004823&t=h&geocode&msa=0&z=18&ie=UTF8&hnear&mid=z5wCavIrp2b8.km_5j-S7N-EY">
<BrandButton className='my-5'>
Parking map&nbsp;
<i class="fa-solid fa-user">
<FontAwesomeIcon icon={ faMapMarkerAlt } />
</i>
</BrandButton>
</Link>
</Col>
{/* image */}
<Col className="text-center" xs={12}>
<StaticImage md={{ span: 6, offset: 3 }} src="../../images/parking-lot.jpeg" width="500" alt="parking lot at Awesome Inc"/>
</Col>
{/* where to park */}
<Col md={{ span: 8, offset: 2 }}>
<Subtitle className="mt-5">Do Park</Subtitle>
<p>
<ul>
<li>Spaces marked for Awesome Inc in the lot East of our building</li>
<li>Free 2-hour parking spaces along East Vine Street</li>
<li>Free full-day spaces on Short Street near Thoroughbred Park and Ransom Ave near Second Presbyterian church</li>
<li>Deweese Street (PNC Bank) Parking Garage, ~$4/day</li>
<li>Metered spaces on Water Street, Main Street, or Eastern Avenue</li>
</ul>
</p>
<Subtitle className="mt-5">Don't Park</Subtitle>
<p>
<ul>
<li>Spaces marked for Carson's Restaurant or PPG Paints (East side of building)</li>
<li>Spaces marked for Commerce Lexington, Northwestern Mutual, Tate/Hill/Jacobs Architects, or Awesome Inc Directors (West side of building)</li>
<li>Spaces in the Main and Vine retail / residential complex</li>
<li>In the "Loading Zone" on Main Street, directly in front of Awesome Inc</li>
</ul>
</p>
</Col>
</Row>
</Container>

</Layout>
)
}

export default ParkingPage;
Binary file modified src/styles/.DS_Store
Binary file not shown.