Skip to content

Commit d26f22a

Browse files
committed
Initial commit
0 parents  commit d26f22a

19 files changed

+7145
-0
lines changed

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# fledgeling
2+
MasteryLA Project Bootstrapper

Diff for: components/Layout.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import React, { FunctionComponent } from 'react'
2+
import classNames from 'classnames'
3+
4+
interface Props {}
5+
6+
const Layout: FunctionComponent<Props> = ({ children }) => <>{children}</>
7+
8+
export default Layout

Diff for: lib/.gitkeep

Whitespace-only changes.

Diff for: next-env.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/types/global" />

Diff for: next-seo.config.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
export default {
2+
openGraph: {
3+
type: 'website',
4+
locale: 'en_IE',
5+
url: 'https://www.url.ie/',
6+
site_name: 'SiteName'
7+
},
8+
twitter: {
9+
handle: '@handle',
10+
site: '@site',
11+
cardType: 'summary_large_image'
12+
}
13+
}

Diff for: next.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
const withCSS = require('@zeit/next-css')
2+
module.exports = withCSS()

Diff for: now.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"env": {
3+
"IS_NOW": "true"
4+
}
5+
}

Diff for: package.json

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"name": "qinn-forget",
3+
"version": "1.0.0",
4+
"repository": "[email protected]:mastery-la/qinn-forget.git",
5+
"author": "Spencer Schoeben <[email protected]>",
6+
"license": "MIT",
7+
"scripts": {
8+
"dev": "next",
9+
"build": "next build",
10+
"start": "next start"
11+
},
12+
"dependencies": {
13+
"@zeit/next-css": "^1.0.1",
14+
"classnames": "^2.2.6",
15+
"next": "latest",
16+
"next-seo": "^3.1.0",
17+
"react": "^16.12.0",
18+
"react-dom": "^16.12.0",
19+
"react-use": "^13.8.0"
20+
},
21+
"devDependencies": {
22+
"@fullhuman/postcss-purgecss": "^1.3.0",
23+
"@now/node": "^1.1.2",
24+
"@types/classnames": "^2.2.9",
25+
"@types/node": "^12.12.8",
26+
"@types/react": "^16.9.11",
27+
"autoprefixer": "^9.6.5",
28+
"cssnano": "^4.1.0",
29+
"postcss-easy-import": "^3.0.0",
30+
"tailwindcss": "^1.0.1",
31+
"typescript": "^3.7.2"
32+
}
33+
}

Diff for: pages/_app.tsx

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import '../styles/main.css'
2+
3+
import React from 'react'
4+
import App from 'next/app'
5+
import { DefaultSeo } from 'next-seo'
6+
import SEO from '../next-seo.config'
7+
8+
export default class MyApp extends App {
9+
render() {
10+
const { Component, pageProps } = this.props
11+
12+
return (
13+
<>
14+
<DefaultSeo {...SEO} />
15+
<Component {...pageProps} />
16+
</>
17+
)
18+
}
19+
}

Diff for: pages/index.tsx

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import React from 'react'
2+
import { NextPage } from 'next'
3+
4+
const Page: NextPage = () => <h1>qinn</h1>
5+
6+
export default Page

Diff for: postcss.config.js

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const purgecss = require('@fullhuman/postcss-purgecss')({
2+
content: ['./pages/**/*.tsx', './components/**/*.tsx'],
3+
defaultExtractor: content => content.match(/[A-Za-z0-9-_:/]+/g) || []
4+
})
5+
6+
module.exports = {
7+
plugins: [
8+
require('postcss-easy-import'),
9+
require('tailwindcss')('./tailwind.config.js'),
10+
process.env.IS_NOW ? purgecss : undefined,
11+
require('autoprefixer'),
12+
require('cssnano')
13+
]
14+
}

Diff for: public/.gitkeep

Whitespace-only changes.

Diff for: styles/base.css

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
body {
2+
background-color: white;
3+
}

Diff for: styles/main.css

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@import './base.css';
2+
3+
/* purgecss start ignore */
4+
@tailwind base;
5+
/* purgecss end ignore */
6+
@tailwind components;
7+
@tailwind utilities;

Diff for: tailwind.config.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module.exports = {
2+
theme: {
3+
extend: {
4+
fontSize: {
5+
'7xl': '5rem'
6+
}
7+
}
8+
},
9+
variants: {},
10+
plugins: []
11+
}

Diff for: tsconfig.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"lib": ["dom", "dom.iterable", "esnext"],
5+
"allowJs": true,
6+
"skipLibCheck": true,
7+
"strict": false,
8+
"forceConsistentCasingInFileNames": true,
9+
"noEmit": true,
10+
"esModuleInterop": true,
11+
"module": "esnext",
12+
"moduleResolution": "node",
13+
"resolveJsonModule": true,
14+
"isolatedModules": true,
15+
"jsx": "preserve"
16+
},
17+
"exclude": ["node_modules"],
18+
"include": ["types/*.d.ts", "**/*.ts", "**/*.tsx"]
19+
}

Diff for: types/mastery.d.ts

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
interface MasteryProject {
2+
artist: string
3+
title: string
4+
}

Diff for: types/next-env.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/types/global" />

0 commit comments

Comments
 (0)