Skip to content

Commit

Permalink
feat: translate partners
Browse files Browse the repository at this point in the history
  • Loading branch information
the-pesar committed Sep 24, 2023
1 parent f2c0057 commit 60817f0
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/partners/components/PartnerAll.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ function includes(a: string, b: string) {
</script>

<template>
<PartnerHero title="Browser All Partners" />
<PartnerHero title="تمام شرکا را مرور کنید" />
<div class="container">
<VTIconSearch class="icon" />
<input
placeholder="Search partners by name or region"
placeholder="شرکا را بر اساس نام یا منطقه جستجو کنید"
v-model="query"
/>
<PartnerList :filter="filter" />
Expand Down
10 changes: 5 additions & 5 deletions src/partners/components/PartnerHero.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ defineProps<{ title?: string }>()

<template>
<div class="PartnerHero">
<h1 class="title">{{ title || 'Vue Partners' }}</h1>
<h1 class="title">{{ title || 'شرکای Vue' }}</h1>
<p class="lead">
Vue Partners are Vue-team endorsed agencies that provide first-class
Vue consulting and development services. If your company is
interested in being listed as a partner, please
شرکای Vue آژانس‌های تأیید شده توسط تیم Vue هستند که خدمات مشاوره و
توسعه Vue در سطح ممتاز را ارائه می‌دهند. اگر شرکت شما علاقه‌مند به
لیست شدن به عنوان یک شریک است، لطفا
<a href="https://airtable.com/shrCQhat57SApJI2l" target="_blank"
>register your interest here</a
>علاقه خود را اینجا ثبت نام کنید</a
>.
</p>
</div>
Expand Down
9 changes: 4 additions & 5 deletions src/partners/components/PartnerJoin.vue
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
<template>
<div class="divider"></div>
<div class="join-container">
<h2>Grow your business with Vue</h2>
<h2>کسب و کار خود را با Vue رشد دهید</h2>
<p>
Generate leads for new projects, boost your credibility to your
clients, and support the long term sustainability of Vue.js and its
ecosystem.
برای پروژه های جدید فرصت ایجاد کنید، اعتبار خود را برای مشتریان خود
افزایش دهید و از پایداری بلند مدت Vue.js و اکوسیستم آن حمایت کنید.
</p>
<a
class="join"
href="https://airtable.com/shrCQhat57SApJI2l"
target="_blank"
>Become a partner</a
>حامی شدن</a
>
</div>
</template>
Expand Down
6 changes: 3 additions & 3 deletions src/partners/components/PartnerLanding.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ onMounted(() => {
<!-- Spotlight -->
<div class="spotlight">
<div class="spotlight-inner">
<h2>Partner Spotlight</h2>
<h2>شریک اصلی</h2>
<PartnerCard v-if="spotlighted" hero :data="spotlighted" />
</div>
</div>

<div class="featured">
<h2>Featured Partners</h2>
<h2>شرکای برجسته</h2>
<PartnerList :filter="(p) => p.platinum" showLinkToAll />
<a class="browse-all" href="./all.html">Browse All Partners</a>
<a class="browse-all" href="./all.html">تمام شرکا را مرور کنید</a>
</div>

<PartnerJoin />
Expand Down
4 changes: 2 additions & 2 deletions src/partners/components/PartnerPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ function genMailLink(email: string) {
<div class="partner-page">
<div class="back">
<a href="/partners/all.html"
><VTIconChevronLeft class="icon" />Back to all partners</a
><VTIconChevronLeft class="icon" />برگشتن به تمام حامیان</a
>
</div>

<PartnerCard hero page :data="p" />

<div class="description">
<h2>About {{ name }}</h2>
<h2>درباره {{ name }}</h2>
<p v-for="desc in description" v-html="desc"></p>
</div>

Expand Down

0 comments on commit 60817f0

Please sign in to comment.