Skip to content

Commit 1f78c39

Browse files
author
Sergei Orlow
committed
💄 Replace emotion with tailwind
1 parent 896a643 commit 1f78c39

38 files changed

+1089
-896
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,4 @@ dist
112112
# TernJS port file
113113
.tern-port
114114

115-
./lighthouse.html
115+
lighthouse.html

content/2020/09/factory-arrow-functions-in-js/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ song: https://music.apple.com/ru/album/strawberry-avalanche-album-version-album-
99
image: ./hero.png
1010
imageAlt: Me and Procreate
1111
description: Use arrow functions for constructing objects in JavaScript. Part I.
12+
featured: true
1213
published: true
1314
imageShare: './og-image.png'
1415
---

content/2021/03/using-custom-ssl-certificate-with-netlify/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ song: 'https://music.apple.com/ru/album/sober/1341562656?i=1341562806&l=en'
1111
image: './clouds-billy-huynh.jpg'
1212
imageAlt: 'Billy Huynh (Unsplash)'
1313
description: 'A short guide on how to use custom SSL certificates with Netlify to improve security of your users in the cloud.'
14+
featured: true
1415
published: true
1516
imageShare: './og-image.png'
1617
---
2.39 MB
Loading
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: 'Recurring dates in Notion - for real!'
3+
date: '2021-04-08'
4+
tags:
5+
- short-guide
6+
- netlify
7+
- ssl
8+
- cloud
9+
- security
10+
song: 'https://music.apple.com/ru/album/love-is-madness-feat-halsey/1440900559?i=1440900578&l=en'
11+
image: './hero.jpg'
12+
imageAlt: 'Brett Jordan (Unsplash)'
13+
description: "You can get your tasks automatically recur - you set the interval, the formula does the rest. Here's how."
14+
featured: true
15+
published: false
16+
imageShare: './og-image.png'
17+
---
18+
19+
**Skibidish**
114 KB
Loading

gatsby-browser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import './src/tailwind.css'

gatsby-config.js

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ const {
1212
const isNetlifyProduction = NETLIFY_ENV === 'production'
1313

1414
const siteUrl = isNetlifyProduction ? NETLIFY_SITE_URL : NETLIFY_DEPLOY_URL
15-
const title = 'Hi'
15+
const title = 'Much Sergei Orlov Website'
1616
const description =
17-
'Tips on how to grow as a software developer, improve productivity, boost management and leadership skills, and jump into tracks beyond software engineering'
18-
const name = 'Sergei Orlow'
17+
'Advice on improving developer productivity and continuously growing as a dev. Tips on how to grow as a software developer, improve productivity, boost management and leadership skills, and jump into tracks beyond software engineering'
18+
const name = 'Sergei Orlov'
1919
const bio =
20-
'Solution Architect and a full stack developer. Mainly codes in JavaScript/TypeScript and Rust.'
20+
'Sergei is a full stack JavaScript developer. He is obsessed with improving developer productivity. He likes TypeScript projects without a single "any", Prettier formatting, Mazda cars, and handwriting. He prefers tabs over spaces and paid time over free time. He spends his free time giving advice to his friends who never asked him to do so.'
2121

2222
module.exports = {
2323
siteMetadata: {
@@ -30,9 +30,17 @@ module.exports = {
3030
},
3131
},
3232
plugins: [
33-
'gatsby-plugin-emotion',
33+
'gatsby-plugin-postcss',
3434
'gatsby-plugin-react-helmet',
3535
'gatsby-plugin-sitemap',
36+
{
37+
resolve: 'gatsby-plugin-web-font-loader',
38+
options: {
39+
google: {
40+
families: ['JetBrains Mono'],
41+
},
42+
},
43+
},
3644
{
3745
resolve: 'gatsby-source-filesystem',
3846
options: {
@@ -134,12 +142,6 @@ module.exports = {
134142
],
135143
},
136144
},
137-
{
138-
resolve: 'gatsby-plugin-typography',
139-
options: {
140-
pathToConfigModule: 'src/typography.js',
141-
},
142-
},
143145
'gatsby-plugin-sharp',
144146
'gatsby-transformer-sharp',
145147
{

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@
5454
},
5555
"dependencies": {
5656
"@deckdeckgo/highlight-code": "^2.5.0",
57-
"@emotion/core": "^11.0.0",
58-
"@emotion/react": "^11.1.5",
59-
"@emotion/styled": "^11.1.5",
57+
"@tailwindcss/forms": "^0.3.2",
58+
"@tailwindcss/typography": "^0.4.0",
59+
"autoprefixer": "^10.2.5",
6060
"gatsby": "^3.0.2",
6161
"gatsby-background-image": "^1.4.1",
6262
"gatsby-image": "^3.0.0",
@@ -66,11 +66,14 @@
6666
"gatsby-plugin-manifest": "^3.0.0",
6767
"gatsby-plugin-nprogress": "^3.0.0",
6868
"gatsby-plugin-offline": "^4.0.0",
69+
"gatsby-plugin-postcss": "^4.2.0",
70+
"gatsby-plugin-prefetch-google-fonts": "^1.4.3",
6971
"gatsby-plugin-react-helmet": "^4.0.0",
7072
"gatsby-plugin-robots-txt": "^1.5.5",
7173
"gatsby-plugin-sharp": "^3.0.0",
7274
"gatsby-plugin-sitemap": "^3.0.0",
7375
"gatsby-plugin-typography": "^3.0.0",
76+
"gatsby-plugin-web-font-loader": "^1.0.4",
7477
"gatsby-remark-autolink-headers": "^3.0.0",
7578
"gatsby-remark-embedder": "^4.1.0",
7679
"gatsby-remark-external-links": "^0.0.4",
@@ -79,11 +82,13 @@
7982
"gatsby-source-filesystem": "^3.0.0",
8083
"gatsby-transformer-remark": "^3.0.0",
8184
"gatsby-transformer-sharp": "^3.0.0",
85+
"postcss": "^8.2.9",
8286
"react": "^17.0.1",
8387
"react-dom": "^17.0.1",
8488
"react-helmet": "^6.1.0",
8589
"react-typography": "^0.16.19",
8690
"simple-icons": "^4.13.0",
91+
"tailwindcss": "^2.1.1",
8792
"typography": "^0.16.19"
8893
}
8994
}

postcss.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
plugins: {
3+
tailwindcss: {},
4+
autoprefixer: {},
5+
},
6+
}

0 commit comments

Comments
 (0)