quotes-nextjs

My favourite quotes. (nextjs)
git clone http://git.hanabi.in/repos/quotes-nextjs.git
Log | Files | Refs | LICENSE

commit 931a662162d193d561c6116093aacda4955f937d
parent 618f40ff2e613cc529d822dfecb993dfbc63ac16
Author: Agastya Chandrakant <me@hanabi.in>
Date:   Tue,  4 May 2021 18:42:54 +0530

add quotes + fix quotes + rm script + rm unused CSS + add CSS

Diffstat:
Mcomponents/CommonHead.js | 6------
Aquotes/Christopher Hitchens/dont-take-refuge.md | 14++++++++++++++
Mquotes/Mary Beth Tinker/i-was-a.md | 2+-
Mquotes/Paul Graham/if-a-piece-of-code.md | 2+-
Mquotes/Soumya Nandi/it-is-always.md | 2+-
Aquotes/Thomas Paine/a-long-habit.md | 14++++++++++++++
Aquotes/Thomas Paine/for-where-the.md | 14++++++++++++++
Aquotes/Thomas Paine/the-more-simple.md | 14++++++++++++++
Aquotes/Thomas Paine/who-the-author-of.md | 14++++++++++++++
Dstyles/Home.module.css | 122-------------------------------------------------------------------------------
Mstyles/custom.css | 51+++++----------------------------------------------
Dstyles/globals.css | 16----------------
12 files changed, 78 insertions(+), 193 deletions(-)

diff --git a/components/CommonHead.js b/components/CommonHead.js @@ -6,12 +6,6 @@ function CommonHead({ cover }) { if (!cover) cover = site.cover; return ( <Head> - <script - async - defer - data-website-id="9dcef91e-bdbc-4ded-9c29-2f87778f1db0" - src="https://umami.hanabi.in/umami.js" - ></script> <meta charSet="utf-8" key="charset" /> <meta httpEquiv="x-ua-compatible" diff --git a/quotes/Christopher Hitchens/dont-take-refuge.md b/quotes/Christopher Hitchens/dont-take-refuge.md @@ -0,0 +1,14 @@ +--- +attributed: false +date: '2006-11-01' +draft: false +lang: 'en' +misattributed: false +tags: ['Belief', 'Consensus', 'Education', 'Evidence', 'False security', 'Knowledge', 'Logic', 'Thinking', 'Understanding', 'Wrong'] +title: "Don't take refuge in the false security of consensus." +unverified: false +--- + +# *Don't take refuge in the false security of consensus.* +&mdash; Christopher Hitchens, <cite>[Christopher Hitchens - Free Speech [2006]](https://www.youtube.com/watch?v=olefVguutfo&t=334 +)</cite>. diff --git a/quotes/Mary Beth Tinker/i-was-a.md b/quotes/Mary Beth Tinker/i-was-a.md @@ -1,5 +1,5 @@ --- -attributed: true +attributed: false date: '2021-02-07' draft: false lang: 'en' diff --git a/quotes/Paul Graham/if-a-piece-of-code.md b/quotes/Paul Graham/if-a-piece-of-code.md @@ -4,7 +4,7 @@ date: '2007-08-01' draft: false lang: 'en' misattributed: false -tags: ['Authorship', Coding', 'Programming'] +tags: ['Authorship', 'Coding', 'Programming'] title: '[I]f a piece of code is written by multiple authors, none of them understand it as well as a single author would.' unverified: false --- diff --git a/quotes/Soumya Nandi/it-is-always.md b/quotes/Soumya Nandi/it-is-always.md @@ -9,6 +9,6 @@ title: "It's always the simplest quotes like that [w]hich make the most sense" unverified: false --- -# *[L]et's acknowledge the difference between speaking up with intention and speaking up for attention.* +# *It's always the simplest quotes like that [w]hich make the most sense* &mdash; Soumya Nandi diff --git a/quotes/Thomas Paine/a-long-habit.md b/quotes/Thomas Paine/a-long-habit.md @@ -0,0 +1,14 @@ +--- +attributed: false +date: '1776-02-14' +draft: false +lang: 'en' +misattributed: false +tags: ['Culture', 'Custom', 'Habit', 'Morality', 'Right', 'Wrong'] +title: '[A] long habit of not thinking a thing WRONG, gives it a superficial appearance of being RIGHT, and raises at first a formidable outcry in defense of custom.' +unverified: false +--- + +# *[A] long habit of not thinking a thing WRONG, gives it a superficial appearance of being RIGHT, and raises at first a formidable outcry in defense of custom.* +&mdash; Thomas Paine, in Philadelphia, February 14, 1776 <cite><abbr title="ISBN-13: 9780143036258">Common Sense +</abbr></cite>. diff --git a/quotes/Thomas Paine/for-where-the.md b/quotes/Thomas Paine/for-where-the.md @@ -0,0 +1,14 @@ +--- +attributed: false +date: '1776-02-14' +draft: false +lang: 'en' +misattributed: false +tags: ['Advise', 'Conscience', 'Evil', 'Governance', 'Knowledge', 'Law', 'Reasoning', 'Thinking'] +title: 'For were the impulses of conscience clear, uniform, and irresistibly obeyed, man would need no other lawgiver' +unverified: false +--- + +# *For were the impulses of conscience clear, uniform, and irresistibly obeyed, man would need no other lawgiver; but that not being the case, he finds it necessary to surrender up a part of his property to furnish means for the protection of the rest; and this he is induced to do by the same prudence which in every other case advises him out of two evils to choose the least.* +&mdash; Thomas Paine, in Philadelphia, February 14, 1776 <cite><abbr title="ISBN-13: 9780143036258">Common Sense +</abbr></cite>. diff --git a/quotes/Thomas Paine/the-more-simple.md b/quotes/Thomas Paine/the-more-simple.md @@ -0,0 +1,14 @@ +--- +attributed: false +date: '1776-02-14' +draft: false +lang: 'en' +misattributed: false +tags: ['Disorder', 'Liability', 'Simplicity'] +title: 'The more simple any thing is, the less liable it is to be disordered; and the easier repaired when disordered' +unverified: false +--- + +# *The more simple any thing is, the less liable it is to be disordered; and the easier repaired when disordered* +&mdash; Thomas Paine, in Philadelphia, February 14, 1776 <cite><abbr title="ISBN-13: 9780143036258">Common Sense +</abbr></cite>. diff --git a/quotes/Thomas Paine/who-the-author-of.md b/quotes/Thomas Paine/who-the-author-of.md @@ -0,0 +1,14 @@ +--- +attributed: false +date: '1776-02-14' +draft: false +lang: 'en' +misattributed: false +tags: ['Attention', 'Authorship', 'Doctrine', 'Idea', 'Intention'] +title: 'Who the Author of this Production is, is wholly unnecessary to the Public, as the Object for Attention is the DOCTRINE ITSELF, not the MAN.' +unverified: false +--- + +# *Who the Author of this Production is, is wholly unnecessary to the Public, as the Object for Attention is the DOCTRINE ITSELF, not the MAN. Yet it may not be unnecessary to say, That he is unconnected wit hany Party, and under no sort of Influence public or private, but the influence of reason and principle.* +&mdash; Thomas Paine, in Philadelphia, February 14, 1776 <cite><abbr title="ISBN-13: 9780143036258">Common Sense +</abbr></cite>. diff --git a/styles/Home.module.css b/styles/Home.module.css @@ -1,122 +0,0 @@ -.container { - min-height: 100vh; - padding: 0 0.5rem; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; -} - -.main { - padding: 5rem 0; - flex: 1; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; -} - -.footer { - width: 100%; - height: 100px; - border-top: 1px solid #eaeaea; - display: flex; - justify-content: center; - align-items: center; -} - -.footer img { - margin-left: 0.5rem; -} - -.footer a { - display: flex; - justify-content: center; - align-items: center; -} - -.title a { - color: #0070f3; - text-decoration: none; -} - -.title a:hover, -.title a:focus, -.title a:active { - text-decoration: underline; -} - -.title { - margin: 0; - line-height: 1.15; - font-size: 4rem; -} - -.title, -.description { - text-align: center; -} - -.description { - line-height: 1.5; - font-size: 1.5rem; -} - -.code { - background: #fafafa; - border-radius: 5px; - padding: 0.75rem; - font-size: 1.1rem; - font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, - Bitstream Vera Sans Mono, Courier New, monospace; -} - -.grid { - display: flex; - align-items: center; - justify-content: center; - flex-wrap: wrap; - max-width: 800px; - margin-top: 3rem; -} - -.card { - margin: 1rem; - flex-basis: 45%; - padding: 1.5rem; - text-align: left; - color: inherit; - text-decoration: none; - border: 1px solid #eaeaea; - border-radius: 10px; - transition: color 0.15s ease, border-color 0.15s ease; -} - -.card:hover, -.card:focus, -.card:active { - color: #0070f3; - border-color: #0070f3; -} - -.card h3 { - margin: 0 0 1rem 0; - font-size: 1.5rem; -} - -.card p { - margin: 0; - font-size: 1.25rem; - line-height: 1.5; -} - -.logo { - height: 1em; -} - -@media (max-width: 600px) { - .grid { - width: 100%; - flex-direction: column; - } -} diff --git a/styles/custom.css b/styles/custom.css @@ -1,55 +1,14 @@ -figure figcaption { - text-align: center; - font-size: 0.7em; -} - -details { - border: 1px solid #aaa; - border-radius: 4px; - padding: 0.5em 0.5em 0; -} - -summary { - font-weight: bold; - margin: -0.5em -0.5em 0; - padding: 0.5em; - cursor: pointer; - display: list-item; -} - -details[open] { - padding: 0.5em; -} - -details[open] summary { - border-bottom: 1px solid #aaa; - margin-bottom: 0.5em; -} - -.autolink-header-anchor { - border-bottom: none !important; - margin-left: -22px; - margin-right: 6px; - fill: #324996; - opacity: 0.3; -} - -h1:hover > .autolink-header-anchor, -h2:hover > .autolink-header-anchor, -h3:hover > .autolink-header-anchor, -h4:hover > .autolink-header-anchor, -h5:hover > .autolink-header-anchor, -h6:hover > .autolink-header-anchor { - opacity: 0.5; -} - .entry-content h1, h2, h3, h4, h5, h6 { - font-family: 'Times New Roman', Times, serif; + font-family: "Times New Roman", Times, serif; letter-spacing: -1px; word-spacing: 2px; } + +.list-item-title { + cursor: pointer; +} diff --git a/styles/globals.css b/styles/globals.css @@ -1,16 +0,0 @@ -html, -body { - padding: 0; - margin: 0; - font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, - Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; -} - -a { - color: inherit; - text-decoration: none; -} - -* { - box-sizing: border-box; -}