Dynamic content load and font fix

This commit is contained in:
2020-08-10 03:22:12 +05:00
parent fd2fc06115
commit 79da871e61
3 changed files with 6 additions and 22 deletions

View File

@@ -23,13 +23,13 @@
<div <div
class="mt-3 md:mt-0 text-gray-700 font-bold text-2xl mb-2 text-right MvAamu" class="mt-3 md:mt-0 text-gray-700 font-bold text-2xl mb-2 text-right MvAamu"
style="direction:rtl;" style="direction:rtl;"
v-text="story.title"
> >
އައްޑޫން މީހަކު ޕޮޒިޓިވްވެއްޖެ
</div> </div>
<div class="flex items-center justify-end mt-1 mb-2"> <div class="flex items-center justify-end mt-1 mb-2">
<p <p
class="font-semibold text-gray-700 text-sm capitalize" class="font-semibold text-gray-700 text-sm capitalize MvTyper"
v-text="story.source.name" v-text="story.source.name"
> >
</p> </p>
@@ -39,7 +39,7 @@
</div> </div>
<p class="text-gray-700 text-base text-right MvTyper" style="direction:rtl;"> <p class="text-gray-700 text-base text-right MvTyper" style="direction:rtl;">
ރާއްޖޭގައި ކޮވިޑްގެ ހާލަތު އިތުރަށް ގޯސްވަމުންދާއިރު ގިނަ ރަށްރަށުން ބަލި މީހުން ދަނީ ފެންނަމުންނެވެ. {{story.body.slice(0,200)}}
</p> </p>
</div> </div>
</div> </div>

View File

@@ -80,7 +80,7 @@
</a> </a>
<div> <div>
<span <span
class="flex justify-end text-green-700 text-md font-normal" class="flex justify-end text-green-700 text-md font-normal MvTyper"
v-text="article.source.name" v-text="article.source.name"
></span> ></span>
@@ -91,12 +91,12 @@
<h1 <h1
class="text-gray-800 text-3xl font-bold mt-2 mb-2 leading-tigh hover:underline text-right MvAamu" class="text-gray-800 text-3xl font-bold mt-2 mb-2 leading-tigh hover:underline text-right MvAamu"
style="direction:rtl;" style="direction:rtl;"
v-text="article.title"
> >
އިންޑިއާއަށް ބޭހަށްދިޔަ 8 ދިވެހިން ޕޮޒިޓިވް
</h1> </h1>
</a> </a>
<div class="text-gray-600 text-md mt-4 flex justify-end items-center"> <div class="text-gray-600 text-md mt-4 flex justify-end items-center mb-3">
<p class="text-gray-600 text-right"> <p class="text-gray-600 text-right">
{{ article.published_date | moment("calendar") }} {{ article.published_date | moment("calendar") }}
&#8210; &#8210;

View File

@@ -14,26 +14,10 @@
src: url("/fonts/mvtyper.ttf"); src: url("/fonts/mvtyper.ttf");
} }
@font-face {
font-family: "MvFaseyha";
src: url("/fonts/faseyha.otf");
}
@font-face { @font-face {
font-family: "Mvaamu"; font-family: "Mvaamu";
src: url("/fonts/mv-aammu-fk.ttf"); src: url("/fonts/mv-aammu-fk.ttf");
} }
@font-face {
font-family: "Mvtyperbold";
src: url("/fonts/mvtypebold.ttf");
}
.Mvtyperbold {
font-family: "Mvtyperbold";
}
.MvAamu { .MvAamu {
font-family: "Mvaamu"; font-family: "Mvaamu";
} }