mirror of
https://github.com/asimonson1125/asimonson1125.github.io.git
synced 2026-02-25 05:09:49 -06:00
Book Update
This commit is contained in:
@@ -284,6 +284,10 @@ a {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nomargin {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.flex {
|
.flex {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
@@ -710,7 +714,7 @@ a {
|
|||||||
color: lightgray;
|
color: lightgray;
|
||||||
margin: .5em;
|
margin: .5em;
|
||||||
border-bottom: solid black 3px;
|
border-bottom: solid black 3px;
|
||||||
margin-right: 5em;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bookContainer {
|
.bookContainer {
|
||||||
|
|||||||
@@ -1,11 +1,16 @@
|
|||||||
{
|
{
|
||||||
"selection": [
|
"selection": [
|
||||||
"Freakonomics",
|
"The Rational Optimist",
|
||||||
"Zero To One",
|
|
||||||
"The Accidental Superpower",
|
"The Accidental Superpower",
|
||||||
"David and Goliath"
|
"Freakonomics",
|
||||||
|
"Zero To One"
|
||||||
],
|
],
|
||||||
"books": {
|
"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": {
|
"Freakonomics": {
|
||||||
"filename": "freakonomics.jpeg",
|
"filename": "freakonomics.jpeg",
|
||||||
"link": "https://freakonomics.com/books/",
|
"link": "https://freakonomics.com/books/",
|
||||||
|
|||||||
BIN
src/static/photos/books/ratOpt.jpg
Normal file
BIN
src/static/photos/books/ratOpt.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 164 KiB |
@@ -1,7 +1,10 @@
|
|||||||
{% macro bookshelf(books) %}
|
{% macro bookshelf(books) %}
|
||||||
<a href="/books">
|
<a href="/books">
|
||||||
<div class="bookshelf">
|
<div class="bookshelf">
|
||||||
<h5 class="bookshelfHeader">Check out the things I read:</h5>
|
<div class="flex">
|
||||||
|
<h4 class="bookshelfHeader">Check out the things I read:</h4>
|
||||||
|
<p class='nomargin'>See More >></p>
|
||||||
|
</div>
|
||||||
<div class="bookContainer">
|
<div class="bookContainer">
|
||||||
{% for i in books.selection %} {% set book = books.books[i] %}
|
{% for i in books.selection %} {% set book = books.books[i] %}
|
||||||
<a href="/books#'{{i}}'">
|
<a href="/books#'{{i}}'">
|
||||||
|
|||||||
Reference in New Issue
Block a user