Skip to content

Commit fdc75d8

Browse files
committed
2022 Books
1 parent c146659 commit fdc75d8

File tree

5 files changed

+56
-23
lines changed

5 files changed

+56
-23
lines changed

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
bookfooter: $route.name !== 'Home',
2222
}"
2323
>
24-
<p>All rights reserved &#169; 2021 | Designed & developed by <a href="https://twitter.com/kavisherlock">Kavish</a></p>
24+
<p>All rights reserved &#169; 2022 | Designed & developed by <a href="https://twitter.com/kavisherlock">Kavish</a></p>
2525
<p class="credit">
2626
Glitchy buttons in the header based on <a href="https://codepen.io/jh3y/pen/PoGbxLp">
2727
https://codepen.io/jh3y/pen/PoGbxLp

src/pages/Books.vue

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22
<div class="books-container">
33
<h2 class="subtext">Yearly Target: 52 Books</h2>
44
<p class="subtext">Blog: <a href="https://kavishandbooks.wordpress.com/" target="_blank">Kavish and Books</a></p>
5+
<BookSection
6+
:year="'2022'"
7+
:bookCount="'(' + bookNames2022.length + '/52)'"
8+
:books="bookNames2022"
9+
:apiKey="apiKey"
10+
:initialShowBooks="true"
11+
/>
512
<BookSection
613
:year="'2021'"
714
:bookCount="'(' + bookNames2021.length + '/52)'"
815
:books="bookNames2021"
916
:apiKey="apiKey"
10-
:initialShowBooks="true"
1117
/>
1218
<BookSection
1319
:year="'2020'"
@@ -38,6 +44,7 @@
3844

3945
<script>
4046
import BookSection from '../components/Books/BookSection.vue';
47+
import bookList2022 from '../resources/books/bookList2022.txt';
4148
import bookList2021 from '../resources/books/bookList2021.txt';
4249
import bookList2020 from '../resources/books/bookList2020.txt';
4350
import bookList2019 from '../resources/books/bookList2019.txt';
@@ -51,6 +58,7 @@ export default {
5158
},
5259
data() {
5360
return {
61+
bookNames2022: [],
5462
bookNames2021: [],
5563
bookNames2020: [],
5664
bookNames2019: [],
@@ -62,6 +70,7 @@ export default {
6270
BookSection,
6371
},
6472
mounted() {
73+
this.bookNames2022 = bookList2022.split('\n');
6574
this.bookNames2021 = bookList2021.split('\n');
6675
this.bookNames2020 = bookList2020.split('\n');
6776
this.bookNames2019 = bookList2019.split('\n');

src/resources/books/bookList2021.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,14 @@ NPCs Drew Hayes
1919
Waking Gods Sylvain Neuvel
2020
The Light Fantastic Terry Pratchett
2121
Mythos Stephen Fry
22-
The Uterrly Uninteresting and Unadventurous Tales of Fred, the Vampire Accountant
2322
Elemental Tim James
23+
The Searcher Tana French
2424
Mort Terry Pratchett 9780061803888
25-
Psychology of Time Travel Kate Mascarenhas
25+
The Uterrly Uninteresting and Unadventurous Tales of Fred, the Vampire Accountant
26+
The Song of Achilles 0062060635
27+
Psychology of Time Travel Kate Mascarenhas
28+
This Poison Heart Kalynn Bayron
29+
The Library of the Unwritten
30+
Appointment with Death
31+
Kitchen Confidential Anthony Bourdain 9780060899226
32+
Hercule Poirot's Christmas: A Hercule Poirot Mystery 006174669X
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Split the Party Drew Hayes
2+
The Elements of Investing Burton Malkiel
3+
The Faceless Ones Derek Landy 0062043889
4+
A Most Elegant Equation David Stipp
5+
The Name of the Wind 0575087056
6+
The Travelling Cat Chronicles
7+
Blood, Bones, and Butter
8+
The Grand Design
9+
Going Rogue Drew Hayes
10+
The Wise Man's Fear
11+
The Way of Kings
12+
The Light Fantastic Terry Pratchett
13+
Fermat's Enigma

yarn.lock

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1290,9 +1290,9 @@ ansi-regex@^4.1.0:
12901290
integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==
12911291

12921292
ansi-regex@^5.0.0:
1293-
version "5.0.0"
1294-
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75"
1295-
integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==
1293+
version "5.0.1"
1294+
resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304"
1295+
integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==
12961296

12971297
ansi-styles@^2.2.1:
12981298
version "2.2.1"
@@ -1504,11 +1504,11 @@ aws4@^1.8.0:
15041504
integrity sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==
15051505

15061506
axios@^0.21.1:
1507-
version "0.21.1"
1508-
resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8"
1509-
integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA==
1507+
version "0.21.4"
1508+
resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575"
1509+
integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==
15101510
dependencies:
1511-
follow-redirects "^1.10.0"
1511+
follow-redirects "^1.14.0"
15121512

15131513
babel-code-frame@^6.22.0, babel-code-frame@^6.26.0:
15141514
version "6.26.0"
@@ -3710,7 +3710,7 @@ flush-write-stream@^1.0.0:
37103710
inherits "^2.0.3"
37113711
readable-stream "^2.3.6"
37123712

3713-
follow-redirects@^1.0.0, follow-redirects@^1.10.0:
3713+
follow-redirects@^1.0.0, follow-redirects@^1.14.0:
37143714
version "1.14.9"
37153715
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.9.tgz#dd4ea157de7bfaf9ea9b3fbd85aa16951f78d8d7"
37163716
integrity sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==
@@ -3865,9 +3865,9 @@ glob-parent@^3.1.0:
38653865
path-dirname "^1.0.0"
38663866

38673867
glob-parent@~5.1.0:
3868-
version "5.1.1"
3869-
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.1.tgz#b6c1ef417c4e5663ea498f1c45afac6916bbc229"
3870-
integrity sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==
3868+
version "5.1.2"
3869+
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
3870+
integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
38713871
dependencies:
38723872
is-glob "^4.0.1"
38733873

@@ -5965,6 +5965,11 @@ performance-now@^2.1.0:
59655965
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b"
59665966
integrity sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=
59675967

5968+
picocolors@^0.2.1:
5969+
version "0.2.1"
5970+
resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-0.2.1.tgz#570670f793646851d1ba135996962abad587859f"
5971+
integrity sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA==
5972+
59685973
picomatch@^2.0.4, picomatch@^2.2.1:
59695974
version "2.2.2"
59705975
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad"
@@ -6386,13 +6391,12 @@ postcss@^6.0.1, postcss@^6.0.23:
63866391
supports-color "^5.4.0"
63876392

63886393
postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.27, postcss@^7.0.32:
6389-
version "7.0.35"
6390-
resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.35.tgz#d2be00b998f7f211d8a276974079f2e92b970e24"
6391-
integrity sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==
6394+
version "7.0.39"
6395+
resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.39.tgz#9624375d965630e2e1f2c02a935c82a59cb48309"
6396+
integrity sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==
63926397
dependencies:
6393-
chalk "^2.4.2"
6398+
picocolors "^0.2.1"
63946399
source-map "^0.6.1"
6395-
supports-color "^6.1.0"
63966400

63976401
prelude-ls@~1.1.2:
63986402
version "1.1.2"
@@ -7325,9 +7329,9 @@ ssri@^5.2.4:
73257329
safe-buffer "^5.1.1"
73267330

73277331
ssri@^6.0.1:
7328-
version "6.0.1"
7329-
resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.1.tgz#2a3c41b28dd45b62b63676ecb74001265ae9edd8"
7330-
integrity sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==
7332+
version "6.0.2"
7333+
resolved "https://registry.yarnpkg.com/ssri/-/ssri-6.0.2.tgz#157939134f20464e7301ddba3e90ffa8f7728ac5"
7334+
integrity sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==
73317335
dependencies:
73327336
figgy-pudding "^3.5.1"
73337337

0 commit comments

Comments
 (0)