Commit Graph

153 Commits

Author SHA1 Message Date
Alexander Shelepenok
4647c63538
Merge pull request #669 from sparklesam/master
Add Medium Icon to Contact Links
2020-09-12 01:35:45 +03:00
alxshelepenok
5c7fa10460 bugfix/#741 - fix type of socialImage, fix condition 2020-09-10 01:09:00 +03:00
alxshelepenok
4a9648b189 bugfix/#741 - fix type of socialImage, fix condition 2020-09-10 01:01:35 +03:00
alxshelepenok
f0c22e3583 bugfix/#741 - fix socialImageUrl 2020-09-10 00:53:50 +03:00
alxshelepenok
c785820b0d bugfix/#741 - update Node type 2020-09-10 00:48:41 +03:00
alxshelepenok
9dbf9fb059 bugfix/#741 - remove socialImageUrl from Node type 2020-09-10 00:44:05 +03:00
alxshelepenok
fe42497431 bugfix/#741 - upgrade gatsby-remark-relative-images 2020-09-10 00:42:30 +03:00
alxshelepenok
74289df9f4 fix: eslint errors 2020-07-08 22:37:52 +03:00
Samuel W
66ee71d4cf Fix Print Width 2020-05-09 00:12:57 +08:00
Samuel W
4592baba95 Fix Semi 2020-05-09 00:08:44 +08:00
Samuel W
cabbd611ed Fix Single Quote 2020-05-09 00:07:57 +08:00
Samuel W
c87e5472ec Add Medium Logo & Links in Contact 2020-05-09 00:02:54 +08:00
Sean Dearnaley
9b1fb82ff3 Update get-contact-href.js 2020-01-08 02:14:38 -05:00
Sean Dearnaley
deeaa9f947 add soundcloud to contacts 2020-01-08 02:05:20 -05:00
Robert Veitch
05bb4fe493 Add YouTube icon 2019-12-12 23:33:16 -06:00
Robert Veitch
9b39a037e7 Add youtube as a contact option 2019-12-07 01:48:40 -06:00
RB
26f41aeb78 remove trailing spaces 2019-09-08 20:02:50 +02:00
Rémi BRUGUIER
24c64df8ca
Update get-contact-href.test.js 2019-09-08 19:53:52 +02:00
Rémi BRUGUIER
c9edcee12d
Update get-contact-href.test.js 2019-09-08 19:49:36 +02:00
Rémi BRUGUIER
e76ba88171
Update get-icon.test.js
add codepen
2019-09-08 19:34:46 +02:00
Rémi BRUGUIER
3d81a8e6bd
Update get-icon.js
add codepen
2019-09-08 19:34:13 +02:00
Rémi BRUGUIER
bb292044f1
Update get-contact-href.test.js
add codepen
2019-09-08 19:33:39 +02:00
Rémi BRUGUIER
edf37bdd36
Update get-contact-href.js
add codepen
2019-09-08 19:33:06 +02:00
Rémi BRUGUIER
aadea63ef8
Update use-site-metadata.js
add codepen
2019-09-08 19:32:37 +02:00
Rémi BRUGUIER
feae81015f
Update icons.js
add codepen
2019-09-08 19:32:04 +02:00
Aleksander Helgaker
844128b800
Update src/assets/scss/base/_generic.scss
Co-Authored-By: Alexander Shelepenok <alxshelepenok@gmail.com>
2019-08-26 20:23:55 +02:00
Aleksander Helgaker
6a9f76a7b1
Update src/assets/scss/base/_generic.scss
Use margin shorthand

Co-Authored-By: Alexander Shelepenok <alxshelepenok@gmail.com>
2019-08-26 20:23:28 +02:00
Aleksander Helgaker
a528e8838a Prevent the page content from jumping when you navigate between screens where one screen has a scrollbar and the other doesn't. 2019-08-26 19:07:34 +02:00
Aleksander Helgaker
849ef16d67 Fix QA comment. 2019-08-25 14:50:58 +02:00
Aleksander Helgaker
d12a416a3d Fix linting errors. 2019-08-25 14:15:37 +02:00
Aleksander Helgaker
c94d7409c8 Fix linting errors. 2019-08-25 13:50:36 +02:00
Aleksander Helgaker
fabb799f93 Fix linting errors. 2019-08-25 13:20:50 +02:00
Aleksander Helgaker
488841cf47 Fix tests. 2019-08-25 12:55:42 +02:00
Aleksander Helgaker
ebc6134453 Add thumbnail image to Twitter cards. 2019-08-25 12:29:51 +02:00
Aleksander Helgaker
fcedb2194a Add the twitter:description meta tag. 2019-08-25 11:14:14 +02:00
Aleksander Helgaker
86f87c2d4e Only show Facebook, Telegram, Instagram, Twitter, Github and LinkedIn contact icons by default. 2019-08-24 11:50:38 +02:00
Aleksander Helgaker
71a45ab084 Fix broken tests. 2019-08-24 10:12:30 +02:00
Aleksander Helgaker
1eadc1bc5d Add gitlab and weibo contact links. 2019-08-24 09:53:42 +02:00
Aleksander Helgaker
2d590f411e Add contact icons for Facebook, LinkedIn, Instagram and Line. 2019-08-23 21:59:21 +02:00
Victor Zhou
0ba0cc9c61 Enable Flow Strict 2019-07-31 22:05:23 -04:00
Victor Zhou
4bddafc707 Add missing @flow comment 2019-07-30 01:43:18 -04:00
Victor Zhou
03cdea6852
Merge pull request #319 from stigrune/master
Fixed invalid Telegram contact url
2019-07-25 10:02:59 -04:00
Victor Zhou
96b487cd9a Add title to <Icon /> for accessibility 2019-07-24 23:24:07 -04:00
Stig Rune
8737090d05 Fixed invalid telegram contact url 2019-07-24 22:39:06 +02:00
Victor Zhou
368217d428
Update Contacts.js 2019-07-22 16:08:17 -04:00
Victor Zhou
3b6b3649d2
Update Contacts.js 2019-07-22 16:03:42 -04:00
Stig Rune
0f01ddf4e0 Hides the contact icon if empty in config 2019-07-22 21:46:00 +02:00
alxshelepenok
e7331551d5 fix: pagination links 2019-07-21 11:20:13 +03:00
alxshelepenok
98ffd67d23 chore(deps): update flow-bin 2019-07-19 23:38:20 +03:00
alxshelepenok
d5d6b2bf50 chore: add useKatex option 2019-07-19 20:42:20 +03:00
alxshelepenok
f6860c8a75 chore: replace netlify-cms to netlify-cms-app 2019-07-16 14:59:08 +03:00
vstoms
040424b184
Add Twitter Card 2019-05-23 07:02:34 +02:00
alxshelepenok
35f2170bf5 improvement: flow coverage 2019-05-10 02:15:43 +03:00
alxshelepenok
091834f16a chore: change netlify cms module path 2019-05-10 02:13:51 +03:00
alxshelepenok
4ada925e0f refactor: using react hooks 2019-05-09 16:57:42 +03:00
alxshelepenok
768464477d test: improved coverage 2019-05-09 16:34:32 +03:00
alxshelepenok
d5ec42d62e chore: move flow dir to root 2019-05-09 00:07:01 +03:00
alxshelepenok
420e422eb8 fix: error when navigating to a post that has no tags 2019-05-08 22:03:12 +03:00
Victor Zhou
1b863ade9e Add Flow typing for Sidebar/Contacts 2019-04-10 16:23:17 -04:00
Victor Zhou
744363e307 Add Flow Typing for Post/Author.js 2019-04-10 16:21:54 -04:00
Victor Zhou
c11a2731a4 Add Flow typing for all files in constants/ and utils/ 2019-04-10 16:19:40 -04:00
Victor Zhou
e62c37d91d Integrate Flow typing 2019-04-08 11:55:23 -04:00
Alexander Shelepenok
2933b1fb73
Merge pull request #95 from vzhou842/disqus-url-prop
Fixed url prop bug for <ReactDisqusComments />
2019-03-03 23:11:38 +03:00
BigTony
01fe35095c fix: align the headers 2019-02-16 13:41:20 -05:00
alxshelepenok
05e6f44761 Add KaTeX support 2019-02-15 01:41:24 +03:00
Alexander Shelepenok
bf8a726f79
Merge pull request #94 from vzhou842/isIndex
Add isIndex prop to Sidebar in index-template
2019-02-13 22:55:41 +03:00
Victor Zhou
1a81d54db5 Add isIndex prop to Sidebar component in index-template 2019-02-10 12:56:12 -05:00
Alexander Shelepenok
7f6713044e
Merge pull request #99 from vzhou842/html-lang
Add lang="en" to <html>
2019-02-10 09:54:12 +03:00
Victor Zhou
5d2fbb3f58 Add lang="en" to <html> 2019-02-09 17:50:54 -05:00
alxshelepenok
9d3cdcbe01 Remove body margin 2019-02-09 16:28:37 +03:00
alxshelepenok
1ac51111f7 Autoscrolling on mobile devices 2019-02-09 15:54:31 +03:00
Victor Zhou
4b3eeae699 Fixed url prop bug for <ReactDisqusComments /> 2019-02-07 15:08:12 -05:00
Victor Zhou
3e9a1a4230 Removed .gatsby-highlight selectors 2019-02-04 17:35:56 -05:00
alxshelepenok
dd96057494 Fix error when disqus shortname is empty 2019-01-24 20:44:13 +03:00
alxshelepenok
7fe055d94e Fix eslint errors 2019-01-21 17:18:15 +03:00
alxshelepenok
79d6093b7b Fix image size 2019-01-21 15:46:01 +03:00
alxshelepenok
1a7deacd3f Fix Netlify CMS templates 2019-01-21 15:32:18 +03:00
alxshelepenok
bd0677dfd3 Fix preview templates 2018-11-13 17:14:46 +03:00
alxshelepenok
913da4453b Update snapshots 2018-11-11 23:43:22 +03:00
alxshelepenok
5272e4052e Fix slugs 2018-11-11 23:40:08 +03:00
alxshelepenok
440d4e88c7 Change frontmatter fields 2018-11-11 19:32:51 +03:00
alxshelepenok
55e877a81b Update tests 2018-11-11 14:51:07 +03:00
alxshelepenok
cca1567f16 Update button styles 2018-11-11 14:45:46 +03:00
alxshelepenok
ffbe3e2c4f Fix lint issues 2018-11-11 14:23:45 +03:00
alxshelepenok
338317803e Add pagination 2018-11-11 14:19:06 +03:00
alxshelepenok
38090a3a0f Update tests 2018-11-09 23:03:28 +03:00
alxshelepenok
4cc45f66da Move author photo to config 2018-11-09 22:20:44 +03:00
alxshelepenok
8b92891329 Upgrade to Gatsby v2 2018-11-09 20:08:48 +03:00
Yanda Huang
2ceac61daf Try fix the new line format again 2018-05-06 15:48:03 -04:00
Yanda Huang
448541831f Fix format 2018-05-06 15:43:52 -04:00
Yanda Huang
1dd12522e5 Refactor duplicate GraphQL to Fragment, eliminate all the spread syntax 2018-05-06 15:32:25 -04:00
ybbarng
1995b25ba3
Get siteMetadata via GraphQL
It is important that decoupling between node code and browser code.
The 'gatsby-config.js' file must be kept in node code, but it exposed
into browser code because of the Disqus module.
To decouple this, all of the siteMetadata information is served via
GraphQL.
This commit has this change.
2018-02-06 17:45:30 +09:00
Nilan Marktanner
7c696b3da2 Fixed two typos. 2018-02-03 19:09:59 +01:00
Nilan Marktanner
6a9e8e8641
fix twitter link in post details 2018-01-30 19:39:56 +01:00
wpioneer
9cf753b94b Added Google Fonts support 2018-01-21 18:54:33 +03:00
wpioneer
35d5d7c244 New version 2018-01-21 03:03:59 +03:00
Alexander Shelepenok
b5daed447e
Merge pull request #43 from marcelabomfim/master
Disqus support
2017-10-30 19:15:44 +02:00
Alexander Shelepenok
4ad32fb854
Merge pull request #45 from ybbarng/master
Fixes a crash when a post has no tag
2017-10-30 17:57:38 +02:00
Alexander Shelepenok
498d871326
Merge branch 'master' into master 2017-10-30 17:48:08 +02:00
ybbarng
d207f68e43
Fixes a crash when a post has no tag
This commit avoids undefined.map() or null.map() is calling.

When there is no tag in a post, there are two cases in frontmatter.

1)
title: title
categories: Technical
...

2)
title: title
tags:
categories: Technical
...

Let's look at `post.node.frontmatter.tags` in both situations.
`FILE1 = /gatsby-node.js`
`FILE2 = /src/components/PostTemplateDetails/index.jsx`

In the first case, it is `undefined` in `FILE1`.
Cheking `undefined` is already implemented at FILE1#126, so undefined.map()
is not called.
But it is `null` in `FILE2#22`
and a crash will be occurred because it tries to run `null.map()`.

In the second case, it is `null` in `FILE1` and `FILE2`.
In this case, there will be two crashes in both files because both codes
try to run `null.map()`.

This commit avoids these crashes.
2017-10-30 23:25:49 +09:00