Skip to content

Commit f670e12

Browse files
committed
Changed the new layout
0 parents  commit f670e12

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+4442
-0
lines changed

.env.development

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GATSBY_GRAPHQL_IDE=playground

.eslintrc.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
module.exports = {
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
},
6+
"plugins": [
7+
"react",
8+
],
9+
"globals": {
10+
"graphql": false,
11+
},
12+
"parserOptions": {
13+
"sourceType": "module",
14+
"ecmaFeatures": {
15+
"experimentalObjectRestSpread": true,
16+
"jsx": true,
17+
},
18+
}
19+
}

.gitignore

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
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 variables file
55+
.env
56+
57+
# gatsby files
58+
.cache/
59+
public
60+
61+
# Mac files
62+
.DS_Store
63+
64+
# Yarn
65+
yarn-error.log
66+
.pnp/
67+
.pnp.js
68+
# Yarn Integrity file
69+
.yarn-integrity
70+
71+
package-lock.json
72+
yarn.lock

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"trailingComma": "es5",
3+
"semi": false,
4+
"singleQuote": true
5+
}

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# language: node_js
2+
# os:
3+
# - linux
4+
5+
# node_js:
6+
# - stable
7+
8+
# script:
9+
# - yarn build
10+
# - bash ./script/deploy-to-gh-pages.sh

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"editor.formatOnSave": true
3+
}

LICENSE-website

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Gatsbyjs
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# elangovan.in       [![Netlify Status](https://api.netlify.com/api/v1/badges/21f90e8b-9a99-4752-af8e-f9b426b2da06/deploy-status)](https://app.netlify.com/sites/elangovan/deploys)
2+
3+
4+
My personal blog - [Elangovan.in](https://github.com/elangosundar/elangovan.in).
5+
6+
To run locally, `yarn`, then `yarn dev`, then open https://localhost:8000.
7+
8+
If you translate content into other languages feel free to PR links. Please ensure translations link to the original content.

gatsby-browser.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
import './src/utils/theme.css'
2+
import 'bootstrap/dist/css/bootstrap.min.css';

gatsby-config.js

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
module.exports = {
2+
siteMetadata: {
3+
title: '10secondsofcode',
4+
author: '10secondsofcode',
5+
description: 'Love to Code',
6+
siteUrl: 'https://10secondsofcode.com',
7+
social: {
8+
twitter: '#',
9+
},
10+
},
11+
pathPrefix: '/',
12+
plugins: [
13+
{
14+
resolve: `gatsby-source-filesystem`,
15+
options: {
16+
path: `${__dirname}/src/pages`,
17+
name: 'pages',
18+
},
19+
},
20+
{
21+
resolve: `gatsby-transformer-remark`,
22+
options: {
23+
plugins: [
24+
{
25+
resolve: `gatsby-remark-images`,
26+
options: {
27+
maxWidth: 590,
28+
},
29+
},
30+
{
31+
resolve: `gatsby-remark-responsive-iframe`,
32+
options: {
33+
wrapperStyle: `margin-bottom: 1.0725rem`,
34+
},
35+
},
36+
'gatsby-remark-autolink-headers',
37+
{
38+
resolve: 'gatsby-remark-prismjs',
39+
options: {
40+
inlineCodeMarker: '÷',
41+
},
42+
},
43+
'gatsby-remark-copy-linked-files',
44+
'gatsby-remark-smartypants',
45+
],
46+
},
47+
},
48+
`gatsby-transformer-sharp`,
49+
`gatsby-plugin-sharp`,
50+
{
51+
resolve: `gatsby-plugin-google-analytics`,
52+
options: {
53+
trackingId: `UA-122222-1`,
54+
head: true
55+
},
56+
},
57+
`gatsby-plugin-feed`,
58+
`gatsby-plugin-sitemap`,
59+
{
60+
resolve: `gatsby-plugin-manifest`,
61+
options: {
62+
name: `10secondsofcode`,
63+
short_name: `10secondsofcode`,
64+
start_url: `/`,
65+
background_color: `#ffffff`,
66+
theme_color: `#d23636`,
67+
display: `minimal-ui`,
68+
icon: `src/assets/icon.png`,
69+
},
70+
},
71+
`gatsby-plugin-react-helmet`,
72+
{
73+
resolve: 'gatsby-plugin-typography',
74+
options: {
75+
pathToConfigModule: 'src/utils/typography',
76+
},
77+
},
78+
'gatsby-plugin-offline',
79+
],
80+
}

0 commit comments

Comments
 (0)