File tree 3 files changed +3
-13
lines changed
3 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 1
1
const redirects = require ( "./redirects" ) ;
2
2
3
- exports . createPages = ( { actions, graphql } ) => {
4
- const { createPage , createRedirect } = actions ;
3
+ exports . createPages = ( { actions} ) => {
4
+ const { createRedirect } = actions ;
5
5
// Redirects
6
6
redirects . forEach ( ( redirect ) => {
7
7
createRedirect ( {
8
8
fromPath : redirect . from ,
9
9
toPath : redirect . to ,
10
10
redirectInBrowser : true ,
11
- isPermanent : true ,
12
11
} ) ;
13
12
} ) ;
14
-
13
+
15
14
} ;
Original file line number Diff line number Diff line change 1
- import { Link } from "gatsby" ;
2
1
import * as React from "react" ;
3
- import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" ;
4
- import {
5
- faGithub ,
6
- faSlack ,
7
- faTwitter ,
8
- faYoutube ,
9
- } from "@fortawesome/free-brands-svg-icons" ;
10
2
import Logo from "./Logo"
11
3
import Social from "./Social" ;
12
4
Original file line number Diff line number Diff line change 1
- import { Link } from "gatsby" ;
2
1
import React from "react" ;
3
2
import { ThemeToggler } from "gatsby-plugin-dark-mode" ;
4
3
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome" ;
You can’t perform that action at this time.
0 commit comments