Skip to content

Commit 7a2d7ed

Browse files
committed
Reinitialize Gatsby project with Tailwind starter
1 parent 547700c commit 7a2d7ed

20 files changed

+4578
-4451
lines changed

.gitignore

+10-65
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,14 @@
1-
# Logs
2-
logs
3-
*.log
4-
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
8-
# Runtime data
9-
pids
10-
*.pid
11-
*.seed
12-
*.pid.lock
13-
14-
# Directory for instrumented libs generated by jscoverage/JSCover
15-
lib-cov
16-
17-
# Coverage directory used by tools like istanbul
18-
coverage
19-
20-
# nyc test coverage
21-
.nyc_output
22-
23-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24-
.grunt
25-
26-
# Bower dependency directory (https://bower.io/)
27-
bower_components
28-
29-
# node-waf configuration
30-
.lock-wscript
31-
32-
# Compiled binary addons (http://nodejs.org/api/addons.html)
33-
build/Release
34-
35-
# Dependency directories
36-
node_modules/
37-
jspm_packages/
38-
39-
# Typescript v1 declaration files
40-
typings/
41-
42-
# Optional npm cache directory
43-
.npm
44-
45-
# Optional eslint cache
46-
.eslintcache
47-
48-
# Optional REPL history
49-
.node_repl_history
50-
51-
# Output of 'npm pack'
52-
*.tgz
53-
54-
# dotenv environment variable files
55-
.env*
1+
# Project dependencies
2+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
3+
.cache
4+
node_modules
5+
yarn-error.log
566

57-
# gatsby files
58-
.cache/
59-
public
7+
# Build directory
8+
/public
609

61-
# Mac files
10+
# macOS
6211
.DS_Store
6312

64-
# Yarn
65-
yarn-error.log
66-
.pnp/
67-
.pnp.js
68-
# Yarn Integrity file
69-
.yarn-integrity
13+
# deployment-specific configs
14+
now.json

.prettierignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
.cache
2-
package.json
3-
package-lock.json
2+
node_modules
43
public

.prettierrc

-7
This file was deleted.

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2015 gatsbyjs
3+
Copyright (c) 2020 tjCSL
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

gatsby-browser.js

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1 @@
1-
/**
2-
* Implement Gatsby's Browser APIs in this file.
3-
*
4-
* See: https://www.gatsbyjs.org/docs/browser-apis/
5-
*/
6-
7-
// You can delete this file if you're not using it
1+
import './src/css/style.css';

gatsby-config.js

+19-22
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,31 @@
11
module.exports = {
22
siteMetadata: {
3-
title: `Gatsby Default Starter`,
4-
description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`,
5-
author: `@gatsbyjs`,
3+
title: `tjCSL Sysadmins`,
4+
description: `Official website of Thomas Jefferson High School for Science and Technology's systems administrator team.`,
5+
author: `tjCSL`
66
},
77
plugins: [
88
`gatsby-plugin-react-helmet`,
9-
{
10-
resolve: `gatsby-source-filesystem`,
11-
options: {
12-
name: `images`,
13-
path: `${__dirname}/src/images`,
14-
},
15-
},
16-
`gatsby-transformer-sharp`,
17-
`gatsby-plugin-sharp`,
189
{
1910
resolve: `gatsby-plugin-manifest`,
2011
options: {
21-
name: `gatsby-starter-default`,
12+
name: `gatsby-starter-tailwind`,
2213
short_name: `starter`,
2314
start_url: `/`,
24-
background_color: `#663399`,
25-
theme_color: `#663399`,
15+
background_color: `#ffffff`,
16+
theme_color: `#4dc0b5`,
2617
display: `minimal-ui`,
27-
icon: `src/images/gatsby-icon.png`, // This path is relative to the root of the site.
28-
},
18+
icon: `src/images/tailwind-icon.png`
19+
}
20+
},
21+
`gatsby-plugin-postcss`,
22+
{
23+
resolve: `gatsby-plugin-purgecss`,
24+
options: {
25+
tailwind: true,
26+
purgeOnly: [`src/css/style.css`]
27+
}
2928
},
30-
// this (optional) plugin enables Progressive Web App + Offline functionality
31-
// To learn more, visit: https://gatsby.dev/offline
32-
// `gatsby-plugin-offline`,
33-
],
34-
}
29+
`gatsby-plugin-offline`
30+
]
31+
};

gatsby-node.js

-7
This file was deleted.

gatsby-ssr.js

-7
This file was deleted.

0 commit comments

Comments
 (0)