|
19 | 19 | </v-responsive> |
20 | 20 | </div> |
21 | 21 |
|
22 | | - <v-row class="text-left mb-10"> |
| 22 | + <v-row align="center" class="text-left mb-10" justify="space-between"> |
| 23 | + <v-col v-if="latestBlog" cols="12" md="7"> |
| 24 | + <v-card |
| 25 | + color="transparent" |
| 26 | + rounded="xl" |
| 27 | + flat |
| 28 | + > |
| 29 | + <v-card-subtitle class="pt-5 text-subtitle-2"> |
| 30 | + {{ latestBlog.date }} |
| 31 | + </v-card-subtitle> |
| 32 | + |
| 33 | + <v-card-title class="text-pre-wrap mb-2"> |
| 34 | + {{ latestBlog.title }} |
| 35 | + </v-card-title> |
| 36 | + |
| 37 | + <div class="text-medium-emphasis text-subtitle-1 px-4"> |
| 38 | + {{ latestBlog.shortDescription }} |
| 39 | + </div> |
| 40 | + |
| 41 | + <v-card-text> |
| 42 | + <div class="d-flex align-center ga-2 text-subtitle-2 text-medium-emphasis"> |
| 43 | + <v-icon size="small">mdi-circle-edit-outline</v-icon> |
| 44 | + {{ latestBlog.personName }} |
| 45 | + |
| 46 | + <v-btn |
| 47 | + append-icon="mdi-arrow-right" |
| 48 | + class="text-none px-0 ml-5" |
| 49 | + color="primary" |
| 50 | + text="Continue reading" |
| 51 | + variant="text" |
| 52 | + /> |
| 53 | + </div> |
| 54 | + </v-card-text> |
| 55 | + </v-card> |
| 56 | + </v-col> |
| 57 | + |
23 | 58 | <v-col |
24 | | - v-for="(item , i) in items" |
25 | | - :key="i" |
26 | | - class="d-flex" |
27 | 59 | cols="12" |
28 | | - md="4" |
| 60 | + md="5" |
29 | 61 | > |
30 | 62 | <v-card |
31 | | - class="d-flex flex-column pa-4" |
| 63 | + v-for="(item , index) in remainingBlogs" |
| 64 | + :key="index" |
| 65 | + class="d-flex flex-column" |
| 66 | + color="transparent" |
32 | 67 | rounded="lg" |
33 | | - border |
34 | 68 | flat |
35 | | - link |
36 | 69 | > |
37 | | - <p class="text-caption text-medium-emphasis mb-0">{{ item.date }}</p> |
| 70 | + <v-card-subtitle class="pt-5 text-body-2"> |
| 71 | + {{ item.date }} |
| 72 | + </v-card-subtitle> |
38 | 73 |
|
39 | | - <p class="mb-1">{{ item.title }}</p> |
| 74 | + <v-card-title class="text-subtitle-1 pt-1"> |
| 75 | + {{ item.title }} |
| 76 | + </v-card-title> |
40 | 77 |
|
41 | | - <p class="text-medium-emphasis mt-1 mb-1 flex-grow-1"> |
42 | | - {{ item.shortDescription }} |
43 | | - </p> |
| 78 | + <v-card-text class="text-body-2 text-medium-emphasis"> |
| 79 | + <div class="d-flex align-center ga-2 text-body-2 text-medium-emphasis"> |
| 80 | + <v-icon size="small">mdi-circle-edit-outline</v-icon> |
| 81 | + {{ item.personName }} |
| 82 | + </div> |
| 83 | + </v-card-text> |
44 | 84 |
|
45 | | - <div class="d-flex align-center ga-2 text-medium-emphasis"> |
46 | | - <v-icon size="small">mdi-circle-edit-outline</v-icon> |
47 | | - {{ item.personName }} |
48 | | - </div> |
| 85 | + <v-divider v-if="index !== remainingBlogs.length - 1" /> |
49 | 86 | </v-card> |
50 | 87 | </v-col> |
51 | 88 | </v-row> |
52 | 89 |
|
53 | 90 | <v-btn |
| 91 | + :to="rpath('/blog/')" |
54 | 92 | append-icon="mdi-open-in-new" |
55 | 93 | aria-label="See More Templates" |
56 | 94 | class="text-none" |
57 | 95 | color="primary" |
58 | | - href="https://store.vuetifyjs.com" |
59 | 96 | rel="noopener noreferrer" |
60 | 97 | rounded="lg" |
61 | 98 | size="large" |
|
69 | 106 | </template> |
70 | 107 |
|
71 | 108 | <script setup lang="ts"> |
| 109 | + const { mobile } = useDisplay() |
| 110 | +
|
72 | 111 | const items = [ |
73 | 112 | { |
74 | | - title: 'Enhance Your Lead Conversion Strategies', |
75 | | - shortDescription: 'Culpa anim laboris consequat excepteur dolor ex adipisicing ea aliquip veniam. Officia duis mollit id labore. Duis labore ex minim anim nulla minim dolore amet...', |
| 113 | + title: 'August 2025 Update', |
| 114 | + shortDescription: 'August marks a pivotal moment in Vuetify’s evolution as we prepare to release the pre-alpha of Vuetify0 (v0), launch our redesigned issues page, and continue delivering powerful components and improvements. This month brings exciting developments including the “Mastering Vuetify Theming', |
76 | 115 | date: 'Apr 5, 2023', |
77 | 116 | personName: 'John Leider', |
78 | 117 | }, |
79 | 118 | { |
80 | | - title: 'Leveraging SEO to Boost Sales Effectively', |
| 119 | + title: 'July 2025 Update', |
81 | 120 | shortDescription: 'Earum molestias dolores autem quam natus. Aut velit fugiat excepturi minus voluptatem rerum voluptas. Ea rerum nemo quaerat...', |
82 | 121 | date: 'Sep 15, 2023', |
83 | | - personName: 'Heather Leider', |
| 122 | + personName: 'John Leider', |
| 123 | + }, |
| 124 | + { |
| 125 | + title: 'State of the Union 2024 - Post Mortem', |
| 126 | + shortDescription: 'Qui voluptatum molestiae sint et atque facere. Distinctio ipsum voluptatum asperiores fuga consequatur aliquam.', |
| 127 | + date: 'Feb 20, 2022', |
| 128 | + personName: 'John Leider', |
84 | 129 | }, |
85 | 130 | { |
86 | | - title: 'Optimizing Customer Engagement', |
| 131 | + title: 'Building a Basic Nuxt Application with Vuetify', |
87 | 132 | shortDescription: 'Qui voluptatum molestiae sint et atque facere. Distinctio ipsum voluptatum asperiores fuga consequatur aliquam.', |
88 | 133 | date: 'Feb 20, 2022', |
89 | | - personName: 'Kael Watts-Deuchar', |
| 134 | + personName: 'John Leider', |
90 | 135 | }, |
91 | 136 | ] |
| 137 | +
|
| 138 | + const latestBlog = computed(() => mobile.value ? null : items[0]) |
| 139 | + const remainingBlogs = computed(() => mobile.value ? items : items.slice(1)) |
92 | 140 | </script> |
0 commit comments