feat: Add City entity methods and migration for title field
- Created a new JSON file for the City entity's AST representation, detailing its methods and properties. - Added a migration to alter the cities table by adding a nullable title column.
This commit is contained in:
@@ -23,39 +23,39 @@
|
||||
<meta name="twitter:image" content="{{ base }}/og-image.png"/>
|
||||
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@graph": [
|
||||
{
|
||||
"@type": "Organization",
|
||||
"@id": "{{ base }}/#org",
|
||||
"name": "کلینیک پرو",
|
||||
"url": "{{ base }}/",
|
||||
"logo": "{{ base }}/icons/icon-512.png",
|
||||
"contactPoint": {
|
||||
"@type": "ContactPoint",
|
||||
"telephone": "+98-74-91012178",
|
||||
"contactType": "customer support",
|
||||
"areaServed": "IR",
|
||||
"availableLanguage": "fa"
|
||||
},
|
||||
"address": {
|
||||
"@type": "PostalAddress",
|
||||
"addressLocality": "یاسوج",
|
||||
"streetAddress": "مهریان، خیابان شهید ستاره شیرازی، خیابان امامزاده احمد، پلاک ۸",
|
||||
"addressCountry": "IR"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@type": "WebSite",
|
||||
"@id": "{{ base }}/#website",
|
||||
"url": "{{ base }}/",
|
||||
"name": "کلینیک پرو",
|
||||
"inLanguage": "fa-IR",
|
||||
"publisher": { "@id": "{{ base }}/#org" }
|
||||
}
|
||||
]
|
||||
}
|
||||
{
|
||||
"@context": "https://schema.org",
|
||||
"@graph": [
|
||||
{
|
||||
"@type": "Organization",
|
||||
"@id": "{{ base }}/#org",
|
||||
"name": "کلینیک پرو",
|
||||
"url": "{{ base }}/",
|
||||
"logo": "{{ base }}/icons/icon-512.png",
|
||||
"contactPoint": {
|
||||
"@type": "ContactPoint",
|
||||
"telephone": "+98-74-91012178",
|
||||
"contactType": "customer support",
|
||||
"areaServed": "IR",
|
||||
"availableLanguage": "fa"
|
||||
},
|
||||
"address": {
|
||||
"@type": "PostalAddress",
|
||||
"addressLocality": "یاسوج",
|
||||
"streetAddress": "مهریان، خیابان شهید ستاره شیرازی، خیابان امامزاده احمد، پلاک ۸",
|
||||
"addressCountry": "IR"
|
||||
}
|
||||
},
|
||||
{
|
||||
"@type": "WebSite",
|
||||
"@id": "{{ base }}/#website",
|
||||
"url": "{{ base }}/",
|
||||
"name": "کلینیک پرو",
|
||||
"inLanguage": "fa-IR",
|
||||
"publisher": { "@id": "{{ base }}/#org" }
|
||||
}
|
||||
]
|
||||
}
|
||||
</script>
|
||||
<link rel="preload" href="/fonts/Vazirmatn-Regular.woff2" as="font" type="font/woff2" crossorigin/>
|
||||
<link rel="preload" href="/fonts/Vazirmatn-Bold.woff2" as="font" type="font/woff2" crossorigin/>
|
||||
@@ -614,6 +614,7 @@ if (btn2)
|
||||
btn2.addEventListener('click', openRegModal);
|
||||
|
||||
|
||||
|
||||
if (btn3)
|
||||
btn3.addEventListener('click', function (e) {
|
||||
e.preventDefault();
|
||||
@@ -753,11 +754,11 @@ msg.style.border = type === 'success' ? '1px solid #bbf7d0' : '1px solid #fecaca
|
||||
<div class="foot-contact">
|
||||
<div class="fl">
|
||||
<svg viewbox="0 0 24 24" fill="none"><path d="M12 21s-7-5.2-7-11a7 7 0 0 1 14 0c0 5.8-7 11-7 11Z" stroke="currentColor" stroke-width="1.7" stroke-linejoin="round"/><circle cx="12" cy="10" r="2.6" stroke="currentColor" stroke-width="1.7"/></svg>
|
||||
<span>یاسوج، مهریان، خیابان شهید ستاره شیرازی، خیابان امامزاده احمد، پلاک ۸</span>
|
||||
<span>یاسوج، مهریان، خیابان شهید ستاره شیرازی، خیابان امامزاده احمد، پلاک ۸ شرکت توسعه فناوری اطلاعات حامی</span>
|
||||
</div>
|
||||
<div class="fl">
|
||||
<svg viewbox="0 0 24 24" fill="none"><path d="M4 6.5C4 5 5 4 6.5 4h2c.6 0 1.1.4 1.3 1l1 3c.2.6 0 1.2-.5 1.6L9 11c1 2 2.5 3.5 4.5 4.5l1.4-1.3c.4-.4 1-.6 1.6-.4l3 1c.6.2 1 .7 1 1.3v2c0 1.5-1 2.5-2.5 2.4C10.5 20 4 13.5 4 6.5Z" stroke="currentColor" stroke-width="1.7" stroke-linejoin="round"/></svg>
|
||||
<a href="tel:07491012178" style="font-variant-numeric:tabular-nums" dir="ltr">۰۷۴۹۱۰۱۲۱۷۸</a>
|
||||
<a href="tel:07491012178" style="font-variant-numeric:tabular-nums" dir="ltr">02191550875</a>
|
||||
</div>
|
||||
<div class="fl">
|
||||
<svg viewbox="0 0 24 24" fill="none"><rect x="3" y="5" width="18" height="14" rx="2" stroke="currentColor" stroke-width="1.7"/><path d="m4 7 8 5 8-5" stroke="currentColor" stroke-width="1.7" stroke-linejoin="round"/></svg>
|
||||
@@ -829,6 +830,7 @@ if (e.target.tagName === 'A')
|
||||
navLinks.classList.remove('open');
|
||||
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
@@ -933,6 +935,7 @@ if (! slot)
|
||||
return;
|
||||
|
||||
|
||||
|
||||
var a = document.createElement('a');
|
||||
a.setAttribute('referrerpolicy', 'origin');
|
||||
a.target = '_blank';
|
||||
|
||||
Reference in New Issue
Block a user