Skip to content

Commit

Permalink
ui: update lg cols of articles
Browse files Browse the repository at this point in the history
  • Loading branch information
ozgurg committed Jul 2, 2023
1 parent 5412398 commit ae1262d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
14 changes: 2 additions & 12 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,11 @@
<v-col
:key="_article.slug"
cols="12"
lg="6">
lg="4">
<ArticleItem :article="_article" />
</v-col>
</template>
</v-row>
<v-divider class="my-5" />
<div class="text-right">
<v-btn
to="/yazilar/"
color="primary"
text=""
outlined="">
Diğer garip yazıları bile okumak istiyorum
</v-btn>
</div>
</InnerContainer>
</div>
</template>
Expand All @@ -79,7 +69,7 @@ export default {
}),
async asyncData({ $content }) {
return {
articles: await $content("/").sortBy("createdAt", "desc").limit(4).fetch()
articles: await $content("/").sortBy("createdAt", "desc").limit(12).fetch()
};
}
};
Expand Down
2 changes: 1 addition & 1 deletion pages/yazilar/_slug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<v-col
:key="_article.slug"
cols="12"
lg="6">
lg="4">
<ArticleItem :article="_article" />
</v-col>
</template>
Expand Down
4 changes: 2 additions & 2 deletions pages/yazilar/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<v-col
:key="_article.slug"
cols="12"
lg="6">
lg="4">
<ArticleItem :article="_article" />
</v-col>

<template v-if="index === 3">
<template v-if="index === 2">
<v-col :key="_article.slug" cols="12">
<v-divider class="mb-2 mt-12" />
<AdsterraNative
Expand Down

0 comments on commit ae1262d

Please sign in to comment.