This file contains hidden or 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
| import React from "react" | |
| import { useStaticQuery, graphql } from "gatsby" | |
| import PropTypes from "prop-types" | |
| import Helmet from "react-helmet" | |
| function SEO({ description, lang, meta, title, ogImage }) { | |
| const { site } = useStaticQuery( | |
| graphql` | |
| query { | |
| site { |
This file contains hidden or 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
| Go to => node_modules/metro-config/defaults/blacklist.js and replace this line: | |
| var sharedBlacklist = [ | |
| /node_modules[/\\]react[/\\]dist[/\\].*/, | |
| /website\/node_modules\/.*/, | |
| /heapCapture\/bundle\.js/, | |
| /.*\/__tests__\/.*/ | |
| ]; | |
| with this one: | |
| var sharedBlacklist = [ |
This file contains hidden or 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
| Error From DevTop |
This file contains hidden or 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
| Online Now! |
This file contains hidden or 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
| hello jabe na to |
This file contains hidden or 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
| class HelloWorld: | |
| def __init__(self, name): | |
| self.name = name.capitalize() | |
| def sayHi(self): | |
| print "Hello " + self.name + "!" | |
| hello = HelloWorld("world") | |
| hello.sayHi() |
This file contains hidden or 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
| import React from 'react'; | |
| import ReactDOM from 'react-dom'; | |
| import './index.css'; | |
| import App from './App'; | |
| import * as serviceWorker from './serviceWorker'; | |
| import { BrowserRouter } from 'react-router-dom'; | |
| ReactDOM.render( | |
| <BrowserRouter basename="nasa-rocket-launch"> | |
| <App /> |
This file contains hidden or 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
| import React, { Component } from 'react'; | |
| import { Route } from 'react-router-dom'; | |
| import Home from './components/Home'; | |
| import SinglePage from './components/SinglePage'; | |
| import Footer from './components/Footer'; | |
| import './App.css'; |
This file contains hidden or 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
| RewriteEngine on | |
| # Don't rewrite files or directories | |
| RewriteCond %{REQUEST_FILENAME} -f [OR] | |
| RewriteCond %{REQUEST_FILENAME} -d | |
| RewriteRule ^ - [L] | |
| # Rewrite everything else to index.html to allow html5 state links | |
| RewriteRule ^ index.html [L] |
NewerOlder