This commit is contained in:
2020-09-04 00:38:41 +05:00
parent 3a26f78363
commit fd8a4f01d1
8 changed files with 16 additions and 14 deletions

View File

@@ -16,7 +16,7 @@
v-for="story in recentStories"
:key="story.id"
>
<a :href="'/article/' + story.id">
<a :href="`/article/${story.source.slug}/${story.guid}`">
<div
class="w-full h-auto overflow-hidden relative rounded"
>
@@ -25,7 +25,7 @@
</a>
<div class="w-full h-auto text-right overflow-hidden mt-3">
<a
:href="'/article/' + story.id"
:href="`/article/${story.source.slug}/${story.guid}`"
class="text-md leading-9 font-semibold text-right text-gray-700 py-3 MvTyper hover:underline"
style="direction:rtl;"
v-text="story.title"

View File

@@ -43,7 +43,7 @@
>
<div slot="bottom-left" class="max-w-xs">
<div class="p-5 shadow-md m-2 mt-4">
<a :href="'/article/' + article.id">
<a :href="`/article/${article.source.slug}/${article.guid}`">
<img
class="object-scale-down h-30"
:src="article.featured_image"
@@ -63,7 +63,7 @@
{{ article.published_date | dhivehiDate }}
</p>
<a :href="'/article/' + article.id">
<a :href="`/article/${article.source.slug}/${article.guid}`">
<div
class="text-md font-bold leading-7 mb-2 mt-1 text-gray-800 MvTyper text-right hover:underline"
>

View File

@@ -15,7 +15,7 @@
</div>
<div class="flex flex-col justify-end">
<a
:href="'/article/' + article.id"
:href="`/article/${article.source.slug}/${article.guid}`"
class="text-2xl md:text-3xl lg:text-3xl leading-11 text-gray-700 pb-4 pt-4 MvTyper font-semibold hover:underline"
style="direction:rtl;"
v-text="article.title"
@@ -78,7 +78,7 @@
</div>
<div class="flex justify-end">
<a
:href="'/article/' + subarticle.id"
:href="`/article/${subarticle.source.slug}/${subarticle.guid}`"
class="text-md leading-9 font-semibold py-3 text-gray-700 MvTyper"
v-text="subarticle.title"
style="direction:rtl;"
@@ -118,7 +118,7 @@
>
<div class="flex justify-end">
<a
:href="'/article/' + listarticle.id"
:href="`/article/${listarticle.source.slug}/${listarticle.guid}`"
class="text-md leading-normal text-gray-800 pb-4 MvTyper text-right hover:underline"
style="direction:rtl;"
v-text="listarticle.title"