|
1 | 1 | <template> |
2 | 2 | <div class="books-container"> |
3 | 3 | <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> |
5 | 5 | <BookSection |
6 | 6 | v-for="(booksList, index) in books.slice().reverse()" |
7 | 7 | :key="2017 + books.length - 1 - index" |
|
11 | 11 | :apiKey="apiKey" |
12 | 12 | :initialShowBooks="index == 0" |
13 | 13 | /> |
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 | | - /> --> |
44 | 14 | </div> |
45 | 15 | </template> |
46 | 16 |
|
47 | 17 | <script> |
48 | 18 | import BookSection from '../components/Books/BookSection.vue'; |
| 19 | +import bookList2024 from '../resources/books/bookList2024.txt'; |
49 | 20 | import bookList2023 from '../resources/books/bookList2023.txt'; |
50 | 21 | import bookList2022 from '../resources/books/bookList2022.txt'; |
51 | 22 | import bookList2021 from '../resources/books/bookList2021.txt'; |
@@ -76,6 +47,7 @@ export default { |
76 | 47 | bookList2021.split('\n'), |
77 | 48 | bookList2022.split('\n'), |
78 | 49 | bookList2023.split('\n'), |
| 50 | + bookList2024.split('\n'), |
79 | 51 | ]; |
80 | 52 | }, |
81 | 53 | }; |
|
0 commit comments