Skip to content

Commit 9b3b26e

Browse files
committed
added basic branding content
1 parent ccf9cbb commit 9b3b26e

12 files changed

+131
-64
lines changed

config.js

+14-27
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,36 @@
11
'use strict';
22

33
module.exports = {
4-
url: 'https://lumen.netlify.com',
4+
url: 'https://blog.storypurpose.info',
55
pathPrefix: '/',
6-
title: 'Blog by John Doe',
7-
subtitle: 'Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.',
8-
copyright: All rights reserved.',
6+
title: 'Storypurpose blog',
7+
subtitle: 'Ensure every story\'s purpose aligns with that of organization.',
8+
copyright: AD.',
99
disqusShortname: '',
1010
postsPerPage: 4,
11-
googleAnalyticsId: 'UA-73379983-2',
11+
googleAnalyticsId: 'UA-160827143-1',
1212
useKatex: false,
1313
menu: [
1414
{
1515
label: 'Articles',
1616
path: '/'
1717
},
1818
{
19-
label: 'About me',
19+
label: 'About',
2020
path: '/pages/about'
21-
},
22-
{
23-
label: 'Contact me',
24-
path: '/pages/contacts'
2521
}
2622
],
2723
author: {
28-
name: 'John Doe',
24+
name: 'StoryPurpose',
2925
photo: '/photo.jpg',
30-
bio: 'Pellentesque odio nisi, euismod in, pharetra a, ultricies in, diam. Sed arcu.',
26+
bio: 'Build purposeful stories.',
3127
contacts: {
32-
email: '',
33-
facebook: '#',
34-
telegram: '#',
35-
twitter: '#',
36-
github: '#',
37-
rss: '',
38-
vkontakte: '',
39-
linkedin: '#',
40-
instagram: '#',
41-
line: '',
42-
gitlab: '',
43-
weibo: '',
44-
codepen: '',
45-
youtube: '',
46-
soundcloud: '',
28+
email: 'adhamankar@gmail.com',
29+
facebook: 'https://www.facebook.com/Storypurpose-101985351530587',
30+
twitter: 'https://twitter.com/story_purpose',
31+
github: 'https://github.com/adhamankar/storypurpose',
32+
linkedin: '',
33+
youtube: ''
4734
}
4835
}
4936
};

package.json

+7-20
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": "3.0.3",
3-
"name": "gatsby-starter-lumen",
4-
"description": "A minimal, lightweight and mobile-first starter for creating blazing-fast static blogs",
3+
"name": "storypurposeblog",
4+
"description": "Thoughts about writing purposeful user stories",
55
"main": "n/a",
66
"scripts": {
77
"develop": "yarn run clean && gatsby develop",
@@ -16,26 +16,13 @@
1616
"test:coverage": "jest --coverage --config ./jest/jest-config.js",
1717
"test:watch": "jest --watch --config ./jest/jest-config.js"
1818
},
19-
"repository": "https://github.com/alxshelepenok/gatsby-starter-lumen",
20-
"author": "Alexander Shelepenok <alxshelepenok@gmail.com>",
19+
"repository": "https://github.com/adhamankar/storypurposeblog",
20+
"author": "Abhijeet Dhamankar <adhamankar@gmail.com>",
2121
"license": "MIT",
2222
"keywords": [
23-
"gatsby",
24-
"graphql",
25-
"netlify",
26-
"netlify-cms",
27-
"pagination",
28-
"categories",
29-
"tags",
30-
"prismjs",
31-
"static",
32-
"lost",
33-
"blog",
34-
"minimal",
35-
"react",
36-
"theme",
37-
"starter",
38-
"disqus"
23+
"user stories",
24+
"epic",
25+
"agile"
3926
],
4027
"dependencies": {
4128
"bluebird": "^3.7.2",

src/hooks/use-site-metadata.js

-9
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,8 @@ const useSiteMetadata = () => {
1616
linkedin
1717
github
1818
twitter
19-
telegram
20-
instagram
2119
email
22-
rss
23-
vkontakte
24-
line
25-
gitlab
26-
weibo
27-
codepen
2820
youtube
29-
soundcloud
3021
}
3122
}
3223
menu {

src/templates/categories-list-template.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const CategoriesListTemplate = () => {
1313

1414
return (
1515
<Layout title={`Categories - ${title}`} description={subtitle}>
16-
<Sidebar />
1716
<Page title="Categories">
1817
<ul>
1918
{categories.map((category) => (
@@ -25,6 +24,7 @@ const CategoriesListTemplate = () => {
2524
))}
2625
</ul>
2726
</Page>
27+
<Sidebar />
2828
</Layout>
2929
);
3030
};

src/templates/category-template.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ const CategoryTemplate = ({ data, pageContext }: Props) => {
3131

3232
return (
3333
<Layout title={pageTitle} description={siteSubtitle}>
34-
<Sidebar />
3534
<Page title={category}>
3635
<Feed edges={edges} />
3736
<Pagination
@@ -41,6 +40,7 @@ const CategoryTemplate = ({ data, pageContext }: Props) => {
4140
hasNextPage={hasNextPage}
4241
/>
4342
</Page>
43+
<Sidebar />
4444
</Layout>
4545
);
4646
};

src/templates/index-template.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ const IndexTemplate = ({ data, pageContext }: Props) => {
3131

3232
return (
3333
<Layout title={pageTitle} description={siteSubtitle}>
34-
<Sidebar isIndex />
3534
<Page>
3635
<Feed edges={edges} />
3736
<Pagination
@@ -41,6 +40,7 @@ const IndexTemplate = ({ data, pageContext }: Props) => {
4140
hasNextPage={hasNextPage}
4241
/>
4342
</Page>
43+
<Sidebar isIndex />
4444
</Layout>
4545
);
4646
};

src/templates/not-found-template.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ const NotFoundTemplate = () => {
1010

1111
return (
1212
<Layout title={`Not Found - ${title}`} description={subtitle}>
13-
<Sidebar />
1413
<Page title="NOT FOUND">
1514
<p>You just hit a route that doesn&#39;t exist... the sadness.</p>
1615
</Page>
16+
<Sidebar />
1717
</Layout>
1818
);
1919
};

src/templates/page-template.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ const PageTemplate = ({ data }: Props) => {
2222

2323
return (
2424
<Layout title={`${pageTitle} - ${siteTitle}`} description={metaDescription} socialImage={socialImage} >
25-
<Sidebar />
2625
<Page title={pageTitle}>
2726
<div dangerouslySetInnerHTML={{ __html: pageBody }} />
2827
</Page>
28+
<Sidebar />
2929
</Layout>
3030
);
3131
};

src/templates/tag-template.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ const TagTemplate = ({ data, pageContext }: Props) => {
3131

3232
return (
3333
<Layout title={pageTitle} description={siteSubtitle}>
34-
<Sidebar />
3534
<Page title={tag}>
3635
<Feed edges={edges} />
3736
<Pagination
@@ -41,6 +40,7 @@ const TagTemplate = ({ data, pageContext }: Props) => {
4140
hasNextPage={hasNextPage}
4241
/>
4342
</Page>
43+
<Sidebar />
4444
</Layout>
4545
);
4646
};

src/templates/tags-list-template.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ const TagsListTemplate = () => {
1313

1414
return (
1515
<Layout title={`Tags - ${title}`} description={subtitle}>
16-
<Sidebar />
1716
<Page title="Tags">
1817
<ul>
1918
{tags.map((tag) => (
@@ -25,6 +24,7 @@ const TagsListTemplate = () => {
2524
))}
2625
</ul>
2726
</Page>
27+
<Sidebar />
2828
</Layout>
2929
);
3030
};

static/css/prismjs/theme.min.css

+103-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,103 @@
1-
code[class*=language-],pre[class*=language-]{color:#657b83;font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-] ::-moz-selection,code[class*=language-]::-moz-selection,pre[class*=language-] ::-moz-selection,pre[class*=language-]::-moz-selection{background:#073642}code[class*=language-] ::selection,code[class*=language-]::selection,pre[class*=language-] ::selection,pre[class*=language-]::selection{background:#073642}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-],pre[class*=language-]{background-color:#fdf6e3}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#93a1a1}.token.punctuation{color:#586e75}.namespace{opacity:.7}.token.boolean,.token.constant,.token.deleted,.token.number,.token.property,.token.symbol,.token.tag{color:#268bd2}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string,.token.url{color:#2aa198}.token.entity{color:#657b83;background:#eee8d5}.token.atrule,.token.attr-value,.token.keyword{color:#859900}.token.class-name,.token.function{color:#b58900}.token.important,.token.regex,.token.variable{color:#cb4b16}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}
1+
code[class*="language-"],
2+
pre[class*="language-"] {
3+
color: #657b83;
4+
font-family: Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
5+
font-size: 1em;
6+
text-align: left;
7+
white-space: pre;
8+
word-spacing: normal;
9+
word-break: normal;
10+
word-wrap: normal;
11+
line-height: 1.5;
12+
-moz-tab-size: 4;
13+
-o-tab-size: 4;
14+
tab-size: 4;
15+
-webkit-hyphens: none;
16+
-moz-hyphens: none;
17+
-ms-hyphens: none;
18+
hyphens: none;
19+
}
20+
code[class*="language-"] ::-moz-selection,
21+
code[class*="language-"]::-moz-selection,
22+
pre[class*="language-"] ::-moz-selection,
23+
pre[class*="language-"]::-moz-selection {
24+
background: #073642;
25+
}
26+
code[class*="language-"] ::selection,
27+
code[class*="language-"]::selection,
28+
pre[class*="language-"] ::selection,
29+
pre[class*="language-"]::selection {
30+
background: #073642;
31+
}
32+
pre[class*="language-"] {
33+
padding: 1em;
34+
margin: 0.5em 0;
35+
overflow: auto;
36+
border-radius: 0.3em;
37+
}
38+
:not(pre) > code[class*="language-"],
39+
pre[class*="language-"] {
40+
background-color: #fdf6e3;
41+
}
42+
:not(pre) > code[class*="language-"] {
43+
padding: 0.1em;
44+
border-radius: 0.3em;
45+
}
46+
.token.cdata,
47+
.token.comment,
48+
.token.doctype,
49+
.token.prolog {
50+
color: #93a1a1;
51+
}
52+
.token.punctuation {
53+
color: #586e75;
54+
}
55+
.namespace {
56+
opacity: 0.7;
57+
}
58+
.token.boolean,
59+
.token.constant,
60+
.token.deleted,
61+
.token.number,
62+
.token.property,
63+
.token.symbol,
64+
.token.tag {
65+
color: #268bd2;
66+
}
67+
.token.attr-name,
68+
.token.builtin,
69+
.token.char,
70+
.token.inserted,
71+
.token.selector,
72+
.token.string,
73+
.token.url {
74+
color: #2aa198;
75+
}
76+
.token.entity {
77+
color: #657b83;
78+
background: #eee8d5;
79+
}
80+
.token.atrule,
81+
.token.attr-value,
82+
.token.keyword {
83+
color: #859900;
84+
}
85+
.token.class-name,
86+
.token.function {
87+
color: #b58900;
88+
}
89+
.token.important,
90+
.token.regex,
91+
.token.variable {
92+
color: #cb4b16;
93+
}
94+
.token.bold,
95+
.token.important {
96+
font-weight: 700;
97+
}
98+
.token.italic {
99+
font-style: italic;
100+
}
101+
.token.entity {
102+
cursor: help;
103+
}

static/photo.jpg

6.81 KB
Loading

0 commit comments

Comments
 (0)