Skip to content

Commit

Permalink
Merge pull request #37 from rrigato/dev2
Browse files Browse the repository at this point in the history
extract book titles and descriptions
  • Loading branch information
rrigato authored Jan 1, 2024
2 parents ea59429 + 16147fc commit 0b2e5f3
Show file tree
Hide file tree
Showing 3 changed files with 642 additions and 583 deletions.
2 changes: 1 addition & 1 deletion static/css/homepageSection.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ ul{
background-color: #aaaaaa;
border-radius: 5%;
color:black;

max-width: 750px;
}

82 changes: 55 additions & 27 deletions static/js/BookRecommendations.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,34 @@
import React from 'react';
import '../css/homepageSection.css';

/**
* @type {string[]} bookDescriptions summary of book
*/
const bookDescriptions = [
'Five book collection centered around the understanding the impacts of randomness.',
'View health span as a constant downward slope instead of a constant as years pass by.',
'Evaluate each item in your life for whether it continues to bring you joy.',
'Having 1 friend with a negative personality is asymmetrically harmful to your well being.',
'The goal of software architecture is to minimize the human resources required to build and maintain the desired application.',
'Outlines office culture for working remote',
'Outside of the fact that he objectively has the coolest first name a human can have, this is the definitive guide on how iterations should be structured in any devops oriented team.',
'Scaling software engineering team size leads to increased communication overhead and might cause the project to miss deadlines.'
]

/**
* @type {string[]} bookTitles list of book titles
*/
const bookTitles = [
'Incerto by',
'Outlive by',
'The Life Cleaning Magic Of Tidying Up by',
'The Power Of Bad by',
'Clean Architecture by',
'Rework by',
'Shape Up by',
'The Mythical Man Month by'
]

/**
* @type {string[]} bookUrls list of book urls
*/
Expand All @@ -11,7 +39,9 @@ const bookUrls = [
'https://www.amazon.com/Power-Bad-Negativity-Effect-Rules-ebook/dp/B07Q3NHPGZ',
'https://www.amazon.com/Clean-Architecture-Craftsmans-Software-Structure/dp/0134494164',
'https://basecamp.com/books/rework',
'https://basecamp.com/shapeup'
'https://basecamp.com/shapeup',
'https://en.wikipedia.org/wiki/The_Mythical_Man-Month'

]
/**Book Recommendations
*
Expand All @@ -23,93 +53,91 @@ export function BookRecommendations(){
<div>
<ul>
<h3>Everyday Reads</h3>
<li>Incerto by
<li>{bookTitles[0]}
<a
href={book[0]}
href={bookUrls[0]}
target={'_blank'}
>Nassim Taleb</a>

</li>
<li className='book-details'>
Five book collection centered around the understanding the impacts of randomness.
{bookDescriptions[0]}
</li>

<li>Outlive by
<li>{bookTitles[1]}
<a
href={book[1]}
href={bookUrls[1]}
target={'_blank'}
>Peter Attia</a>

</li>
<li className='book-details'>
View health span as a constant downward slope instead of a constant as years pass by.
{bookDescriptions[1]}
</li>

<li>The Life Cleaning Magic Of Tidying Up by
<li>{bookTitles[2]}
<a
href={book[2]}
href={bookUrls[2]}
target={'_blank'}
>Marie Kondo</a>

</li>
<li className='book-details'>
Evaluate each item in your life for whether it continues to bring you joy.
{bookDescriptions[2]}
</li>

<li>The Power Of Bad by
<li>{bookTitles[3]}
<a
href={book[3]}
href={bookUrls[3]}
target={'_blank'}
> John Tierney and Roy Baumeister</a>

</li>
<li className='book-details'>
Having 1 friend with a negative personality is asymmetrically harmful to your well being.
{bookDescriptions[3]}
</li>


<h3>Software Engineering</h3>

<li>Clean Architecture by
<li>{bookTitles[4]}
<a
href={book[4]}
href={bookUrls[4]}
target={'_blank'}
>Bob Martin</a>
</li>
<li className='book-details'>
The goal of software architecture is to minimize the human resources required to build and maintain the desired application.
{bookDescriptions[4]}
</li>

<li>Rework by
<li>{bookTitles[5]}
<a
href={book[5]}
href={bookUrls[5]}
target={'_blank'}
>DHH and Jason Fried</a>
</li>
<li className='book-details'>
Outlines office culture for working remote
{bookDescriptions[5]}
</li>

<li>Shape Up by
<li>{bookTitles[6]}
<a
href={book[6]}
href={bookUrls[6]}
target={'_blank'}
>Ryan Singer</a>
</li>
<li className='book-details'>
Outside of the fact that he objectively has the coolest first name a human can have,
this is the definitive guide on how iterations should be structured in any devops oriented team.
{bookDescriptions[6]}
</li>

<li>The Mythical Man Month by
<li>{bookTitles[7]}
<a
href={book[7]}
href={bookUrls[7]}
target={'_blank'}
>Fred Brooks</a>
</li>
<li className='book-details'>
Scaling software engineering team size leads to increased communication overhead
and might cause the project miss deadlines.
{bookDescriptions[7]}
</li>

</ul>
Expand Down
Loading

0 comments on commit 0b2e5f3

Please sign in to comment.