-
-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1fd9499
commit 502f3b8
Showing
35 changed files
with
5,125 additions
and
1,145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
{ | ||
presets: ["react", "env"], | ||
plugins: ["transform-class-properties"] | ||
presets: [ | ||
"@babel/react", | ||
"@babel/env" | ||
], | ||
plugins: [ | ||
"@babel/plugin-syntax-dynamic-import", | ||
"transform-class-properties" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
import React, { Component } from 'react'; | ||
import PropTypes from 'prop-types'; | ||
// import { withPrefix } from 'gatsby'; | ||
import Helmet from 'react-helmet'; | ||
|
||
import Nav from './Nav'; | ||
// import Loader from './Loader'; | ||
import Footer from './Footer'; | ||
|
||
import '../assets/lib/bootstrap/dist/css/bootstrap.min.css'; | ||
import '../assets/lib/owlcarousel/owl-carousel/owl.carousel.css'; | ||
import '../assets/lib/owlcarousel/owl-carousel/owl.theme.css'; | ||
import '../assets/lib/ionicons/css/ionicons.css'; | ||
import '../assets/lib/fontawesome/css/font-awesome.min.css'; | ||
import '../assets/extras/swipebox/css/swipebox.min.css'; | ||
import '../assets/extras/rotating-carousel/css/style.css'; | ||
import '../assets/extras/slick/slick.css'; | ||
import '../assets/extras/magnificpopup/magnific-popup.css'; | ||
import '../assets/lib/FlexSlider/flexslider.css'; | ||
import '../assets/css/main.css'; | ||
import '../assets/css/custom.css'; | ||
|
||
|
||
|
||
|
||
class TemplateWrapper extends Component { | ||
componentDidMount() { | ||
global.jQuery = require('../../static/vendor/jquery/dist/jquery'); | ||
require('../../static/vendor/bootstrap/dist/bootstrap'); | ||
window.$ = jQuery; | ||
window.jQuery = jQuery; | ||
} | ||
|
||
render() { | ||
const { children } = this.props; | ||
|
||
return ( | ||
<div> | ||
<Helmet> | ||
{/* <script src={withPrefix('/vendor/jquery/dist/jquery.js')} /> */} | ||
{/* <script src={withPrefix('/vendor/bootstrap/dist/bootstrap.js')} /> */} | ||
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBQt6WATWNedQ8TSM7sCKOI1uoPR2JrG-4" /> | ||
<script src="https://linked.chat/web/a9LB63" /> | ||
|
||
<title>#VetsWhoCode</title> | ||
<meta | ||
name="description" | ||
content="#VetsWhoCode is a veteran-led 501(c)(3) charitable non-profit that focuses on teaching | ||
veterans how to program free of charge so that they may find gainful employment after service." | ||
/> | ||
|
||
<meta itemProp="name" content="#VetsWhoCode 🇺🇸 " /> | ||
<meta | ||
itemProp="description" | ||
content="#VetsWhoCode is a veteran-led 501(c)(3) charitable non-profit that focuses on | ||
teaching veterans how to program free of charge so that they may find gainful employment after service." | ||
/> | ||
<meta | ||
itemProp="image" | ||
content="https://cdn-images-1.medium.com/max/1000/1*idlh1wOIqUQOj1LkOt51gA.png" | ||
/> | ||
|
||
<meta property="og:url" content="http://www.vetswhocode.io" /> | ||
<meta property="og:type" content="website" /> | ||
<meta property="og:title" content="#VetsWhoCode 🇺🇸 " /> | ||
<meta | ||
property="og:description" | ||
content="#VetsWhoCode is a veteran-led 501(c)(3) charitable non-profit that focuses on | ||
teaching veterans how to program free of charge so that they may find gainful employment after service." | ||
/> | ||
<meta | ||
property="og:image" | ||
content="https://cdn-images-1.medium.com/max/1000/1*idlh1wOIqUQOj1LkOt51gA.png" | ||
/> | ||
|
||
<meta name="twitter:card" content="summary_large_image" /> | ||
<meta name="twitter:title" content="#VetsWhoCode 🇺🇸 " /> | ||
<meta | ||
name="twitter:description" | ||
content="#VetsWhoCode is a veteran-led 501(c)(3) charitable non-profit that focuses on | ||
teaching veterans how to program free of charge so that they may find gainful employment after service." | ||
/> | ||
<meta | ||
name="twitter:image" | ||
content="https://cdn-images-1.medium.com/max/1000/1*idlh1wOIqUQOj1LkOt51gA.png" | ||
/> | ||
</Helmet> | ||
|
||
<main className="main_container"> | ||
{/* <Loader /> */} | ||
<Nav /> | ||
{children} | ||
<Footer /> | ||
</main> | ||
</div> | ||
|
||
); | ||
} | ||
} | ||
|
||
TemplateWrapper.propTypes = { | ||
children: PropTypes.array || PropTypes.object | ||
}; | ||
|
||
export default TemplateWrapper; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
import React from 'react'; | ||
import Layout from '../components/layout'; | ||
|
||
const NotFoundPage = () => ( | ||
<div> | ||
<Layout> | ||
<h1>NOT FOUND</h1> | ||
<p>You just hit a route that doesn't exist... the sadness.</p> | ||
</div> | ||
</Layout> | ||
); | ||
|
||
export default NotFoundPage; |
Oops, something went wrong.