diff --git a/src/static/css/App.css b/src/static/css/App.css index e7725e8..c6056e5 100644 --- a/src/static/css/App.css +++ b/src/static/css/App.css @@ -284,6 +284,10 @@ a { margin: 0; } +.nomargin { + margin: 0; +} + .flex { display: flex; justify-content: space-around; @@ -710,7 +714,7 @@ a { color: lightgray; margin: .5em; border-bottom: solid black 3px; - margin-right: 5em; + flex-grow: 1; } .bookContainer { diff --git a/src/static/json/books.json b/src/static/json/books.json index de4f328..5ec3fa4 100644 --- a/src/static/json/books.json +++ b/src/static/json/books.json @@ -1,11 +1,16 @@ { "selection": [ - "Freakonomics", - "Zero To One", + "The Rational Optimist", "The Accidental Superpower", - "David and Goliath" + "Freakonomics", + "Zero To One" ], "books": { + "The Rational Optimist": { + "filename": "ratOpt.jpg", + "link": "https://www.amazon.com/Rational-Optimist-Prosperity-Evolves-P-s/dp/0061452068", + "review": "The story of humanity's growth with a refined variation of a lens I very much believe deserves greater publicity. Long, yes, but ultimately one of the most important books for me to have read." + }, "Freakonomics": { "filename": "freakonomics.jpeg", "link": "https://freakonomics.com/books/", diff --git a/src/static/photos/books/ratOpt.jpg b/src/static/photos/books/ratOpt.jpg new file mode 100644 index 0000000..c41646a Binary files /dev/null and b/src/static/photos/books/ratOpt.jpg differ diff --git a/src/templates/partials/bookshelf.html b/src/templates/partials/bookshelf.html index ed2846a..24d6f09 100644 --- a/src/templates/partials/bookshelf.html +++ b/src/templates/partials/bookshelf.html @@ -1,7 +1,10 @@ {% macro bookshelf(books) %}
-
Check out the things I read:
+
+

Check out the things I read:

+

See More >>

+
{% for i in books.selection %} {% set book = books.books[i] %}