git ssb

0+

Rômulo Alves / website



Commit 1c565fd835e560d9649f1839715e501895e84f77

Includes to best practices

Rômulo Alves committed on 5/5/2018, 10:30:29 PM
Parent: 0266257daf1eb551b1e0492b10ca0ff98040a895

Files changed

components/page.jschanged
components/post-link.jschanged
components/section.jschanged
components/social.jschanged
package.jsonchanged
pages/index.jschanged
pages/_document.jsadded
components/page.jsView
@@ -36,9 +36,8 @@
3636 }
3737
3838 a {
3939 color: #000;
40- font-size: 10pt;
4140 }
4241 a:hover {
4342 color: #81D4FA;
4443 }
components/post-link.jsView
@@ -14,9 +14,9 @@
1414 `${ta.ago(date)} (${date})`
1515 }</span>
1616 )
1717 }
18- <a href={ href } title={ children } download={ download }>
18 + <a href={ href } title={ children } download={ download } className="post-title">
1919 {
2020 lang && `(${lang}) `
2121 }
2222 { children }
@@ -25,11 +25,14 @@
2525 <style jsx global>{`
2626 .post-date {
2727 color: #757575;
2828 display: block;
29- font-size: 12px;
29 + font-size: 16px;
3030 margin-bottom: 2px;
3131 }
32 + .post-title {
33 + font-size: 17px;
34 + }
3235 `}</style>
3336 </div>
3437 );
3538
components/section.jsView
@@ -25,9 +25,9 @@
2525 margin-bottom: 15px;
2626 }
2727 .section h1,
2828 .section h1 a {
29- font-size: 30px;
29 + font-size: 26px;
3030 }
3131 `}</style>
3232 </section>
3333 );
components/social.jsView
@@ -6,21 +6,21 @@
66 <link rel="prefetch" href="/static/images/twitter.svg" />
77 <link rel="prefetch" href="/static/images/github.svg" />
88 </Head>
99 <a href="https://twitter.com/romuloalves" title="Twitter">
10- <img src="/static/images/twitter.svg" width="20" height="20" />
10 + <img src="/static/images/twitter.svg" alt="Twitter" width="20" height="20" />
1111 </a>
1212 <a href="https://github.com/romuloalves" title="GitHub">
13- <img src="/static/images/github.svg" width="20" height="20" />
13 + <img src="/static/images/github.svg" alt="GitHub" width="20" height="20" />
1414 </a>
1515
1616 <style jsx>{`
1717 .socials {
1818 overflow: auto;
1919 text-align: center;
2020 }
2121 .socials a {
22- margin: 0 5px;
22 + margin: 0 10px;
2323 }
2424 `}</style>
2525 </div>
2626 );