Skip to content

Commit 72cabdc

Browse files
committed
Added 2024 books
1 parent 57fc84d commit 72cabdc

File tree

6 files changed

+64
-37
lines changed

6 files changed

+64
-37
lines changed

src/components/Books/BookSection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default {
3434
name: 'BookSection',
3535
props: {
3636
bookCount: String,
37-
year: String,
37+
year: Number,
3838
books: Array,
3939
initialShowBooks: {
4040
type: Boolean,

src/pages/Books.vue

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div class="books-container">
33
<h2 class="subtext">Yearly Target: 52 Books</h2>
4-
<p class="subtext">Blog: <a href="https://kavishandbooks.wordpress.com/" target="_blank">Kavish and Books</a></p>
4+
<p class="subtext">Old Blog: <a href="https://kavishandbooks.wordpress.com/" target="_blank">Kavish and Books</a></p>
55
<BookSection
66
v-for="(booksList, index) in books.slice().reverse()"
77
:key="2017 + books.length - 1 - index"
@@ -11,41 +11,12 @@
1111
:apiKey="apiKey"
1212
:initialShowBooks="index == 0"
1313
/>
14-
<!-- <BookSection
15-
:year="'2021'"
16-
:bookCount="'(' + bookNames2021.length + '/52)'"
17-
:books="bookNames2021"
18-
:apiKey="apiKey"
19-
/>
20-
<BookSection
21-
:year="'2020'"
22-
:bookCount="'(' + bookNames2020.length + '/52)'"
23-
:books="bookNames2020"
24-
:apiKey="apiKey"
25-
/>
26-
<BookSection
27-
:year="'2019'"
28-
:bookCount="'(' + bookNames2019.length + '/52)'"
29-
:books="bookNames2019"
30-
:apiKey="apiKey"
31-
/>
32-
<BookSection
33-
:year="'2018'"
34-
:bookCount="'(' + bookNames2018.length + '/52)'"
35-
:books="bookNames2018"
36-
:apiKey="apiKey"
37-
/>
38-
<BookSection
39-
:year="'2017'"
40-
:bookCount="'(' + bookNames2017.length + '/52)'"
41-
:books="bookNames2017"
42-
:apiKey="apiKey"
43-
/> -->
4414
</div>
4515
</template>
4616

4717
<script>
4818
import BookSection from '../components/Books/BookSection.vue';
19+
import bookList2024 from '../resources/books/bookList2024.txt';
4920
import bookList2023 from '../resources/books/bookList2023.txt';
5021
import bookList2022 from '../resources/books/bookList2022.txt';
5122
import bookList2021 from '../resources/books/bookList2021.txt';
@@ -76,6 +47,7 @@ export default {
7647
bookList2021.split('\n'),
7748
bookList2022.split('\n'),
7849
bookList2023.split('\n'),
50+
bookList2024.split('\n'),
7951
];
8052
},
8153
};

src/pages/Home.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
<h2>Reading since 2017</h2>
1010
<h2>Blogged between 2018-2020</h2>
1111
<h2>Gaming since 2020</h2>
12-
<h2>Cat-Dad since 2021</h2>
12+
<h2>Have a Cat since 2021</h2>
13+
<h2>Drawing since 2023</h2>
1314
</div>
1415
</div>
1516
</div>
@@ -78,7 +79,7 @@ export default {
7879
color: hsl(335, 99%, 68%);
7980
}
8081
81-
.about h2:nth-child(3), .about h2:nth-child(5) {
82+
.about h2:nth-child(3), .about h2:nth-child(5), .about h2:nth-child(7) {
8283
margin-left: 350px;
8384
}
8485

src/resources/books/bookList2022.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The Atlas Six
1111
Mort Terry Pratchett 9780062225719
1212
Siege Tactics Drew Hayes
1313
Murder With Mirros
14-
Good Omens 9780060853969
14+
Good Omens 0061991120
1515
The Priory of the Orange Tree
1616
The Poppy War
1717
The Last Wish

src/resources/books/bookList2023.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ The Burning God
1919
Winnie-the-Pooh
2020
The Island of Doctor Moreau
2121
Labyrinth Kate Mosse
22-
Words of Radiance
2322
Heroes 9781405940382
24-
Babel: An Arcane History
23+
Elantris
24+
The Martian Chronicles
25+
The Satsuma Complex
26+
The Body in the Library
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
The Moving Finger
2+
The Way of Kings
3+
A Murder is Announced 0008611947
4+
The Emperor's Soul
5+
Cat About Town
6+
They Both Die at the End
7+
Warbreaker
8+
The Kamogawa Food Detectives
9+
A Day of Fallen Night
10+
Sword of Destiny
11+
The Cat Who Saved Books
12+
Days at the Morisaki Bookshop
13+
And Then There Were None
14+
Words of Radiance 9781429949620
15+
The Murder of Roger Ackroyd 9780486848723
16+
This is How You Lose the Time War
17+
Vera Wong's Unsolicited Advice for Murderers
18+
The Sword of Kaigen
19+
Yellowface
20+
We Have Always Lived in the Castle
21+
Small Things Like These
22+
Zeus Grants Stupid Wishes
23+
Edgedancer 1938570359
24+
Good Omens 0061991120
25+
Remarkably Bright Creatures
26+
OMFG, Bees
27+
Binti
28+
House of Crimson Hearts
29+
Six Easy Pieces 9780465025299
30+
The Thursday Murder Club
31+
The Cat Who Could Read Backwards 9780515090178
32+
The Blade Itself
33+
All Systems Red
34+
Pretty Girls
35+
The President Is Missing
36+
Raven Black
37+
You'd Look Better as a Ghost
38+
The Theoretical Minimum
39+
A Darker Shade of Magic
40+
The Hobbit
41+
4:50 from Paddington
42+
Oathbringer
43+
Artificial Condition
44+
A Pirate's Life for Tea
45+
11/22/63
46+
Dawnshard 9781938570261
47+
Before They Are Hanged
48+
The Invisible Life of Addie LaRue
49+
Odd Thomas
50+
The Seven Husbands of Evelyn Hugo
51+
The ABC Murders
52+
Rhythm of War

0 commit comments

Comments
 (0)