Skip to content

Commit 775b18a

Browse files
committed
fix formatting issues
1 parent f182d81 commit 775b18a

File tree

9 files changed

+52
-31
lines changed

9 files changed

+52
-31
lines changed

.vitepress/config.ts

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ const nav: ThemeConfig['nav'] = [
8080
text: 'GitHub نقاشات',
8181
link: 'https://github.com/vuejs/core/discussions'
8282
},
83-
{ text: 'DEV Community على منصة vue وسم ', link: 'https://dev.to/t/vue' }
83+
{
84+
text: 'DEV Community على منصة vue وسم ',
85+
link: 'https://dev.to/t/vue'
86+
}
8487
]
8588
},
8689
{
@@ -174,7 +177,10 @@ export const sidebar: ThemeConfig['sidebar'] = {
174177
link: '/guide/essentials/lifecycle'
175178
},
176179
{ text: 'الخصائص المراقبة', link: '/guide/essentials/watchers' },
177-
{ text: 'Refs مراجع القالب', link: '/guide/essentials/template-refs' },
180+
{
181+
text: 'Refs مراجع القالب',
182+
link: '/guide/essentials/template-refs'
183+
},
178184
{
179185
text: 'أساسيات المكونات',
180186
link: '/guide/essentials/component-basics'
@@ -235,7 +241,10 @@ export const sidebar: ThemeConfig['sidebar'] = {
235241
{
236242
text: 'الإرتقاء و التدرج',
237243
items: [
238-
{ text: '(SFC) المكونات أحادية المستند', link: '/guide/scaling-up/sfc' },
244+
{
245+
text: '(SFC) المكونات أحادية المستند',
246+
link: '/guide/scaling-up/sfc'
247+
},
239248
{ text: 'الأدوات', link: '/guide/scaling-up/tooling' },
240249
{ text: 'التوجيه', link: '/guide/scaling-up/routing' },
241250
{
@@ -629,7 +638,7 @@ export default defineConfigWithTheme<ThemeConfig>({
629638
link: '/translations/',
630639
text: 'ساعدنا في الترجمة',
631640
isTranslationsDesc: true
632-
},
641+
}
633642
],
634643

635644
algolia: {

.vitepress/theme/components/Home.vue

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script setup lang="ts">
1+
<script lang="ts">
22
import { onMounted } from 'vue'
33
import NewsLetter from './NewsLetter.vue'
44
import { load, data, base } from './sponsors'
@@ -255,6 +255,7 @@ html:not(.dark) .accent,
255255
font-size: 64px;
256256
letter-spacing: -0.5px;
257257
}
258+
258259
.description {
259260
font-size: 18px;
260261
margin-bottom: 48px;
@@ -272,26 +273,33 @@ html:not(.dark) .accent,
272273
#hero {
273274
padding: 64px 32px;
274275
}
276+
275277
.description {
276278
font-size: 16px;
277279
margin: 18px 0 30px;
278280
}
281+
279282
#special-sponsor {
280283
flex-direction: column;
281284
}
285+
282286
#special-sponsor img {
283287
height: 36px;
284288
margin: 8px 0;
285289
}
290+
286291
#special-sponsor span {
287292
text-align: center !important;
288293
}
294+
289295
#highlights h3 {
290296
margin-bottom: 0.6em;
291297
}
298+
292299
#highlights .vt-box {
293300
padding: 20px 36px;
294301
}
302+
295303
.actions a {
296304
margin: 0.5em 0;
297305
}

.vitepress/theme/components/NewsLetter.vue

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { VTLink } from "@vue/theme";
2+
import { VTLink } from '@vue/theme'
33
</script>
44

55
<template>
@@ -40,11 +40,15 @@ import { VTLink } from "@vue/theme";
4040

4141
<p class="help">
4242
يمكنك قراءة الأعداد السابقة والإستماع إلى البودكاست من
43-
<VTLink class="link" href="https://news.vuejs.org/" no-icon>news.vuejs.org</VTLink
43+
<VTLink class="link" href="https://news.vuejs.org/" no-icon
44+
>news.vuejs.org</VTLink
4445
>. تستطيع متابعتنا على
45-
<VTLink class="link" href="https://twitter.com/vuejs" no-icon>تويتر</VTLink>, أو
46-
الانضمام إلينا على
47-
<VTLink class="link" href="https://chat.vuejs.org/" no-icon>ديسكورد</VTLink>.
46+
<VTLink class="link" href="https://twitter.com/vuejs" no-icon
47+
>تويتر</VTLink
48+
>, أو الانضمام إلينا على
49+
<VTLink class="link" href="https://chat.vuejs.org/" no-icon
50+
>ديسكورد</VTLink
51+
>.
4852
</p>
4953
</div>
5054
</section>

.vitepress/theme/components/ReplLoading.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<div></div>
77
<div></div>
88
</div>
9-
<div>Repl is loading...</div>
9+
<div>Repl قيد التحميل</div>
1010
</div>
1111
</template>
1212

.vitepress/theme/components/SponsorsAside.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<script setup lang="ts">
2-
import SponsorsGroup from './SponsorsGroup.vue'
3-
import { useData } from 'vitepress'
4-
const { frontmatter } = useData()
2+
import SponsorsGroup from "./SponsorsGroup.vue";
3+
import { useData } from "vitepress";
4+
const { frontmatter } = useData();
55
</script>
66

77
<template>
88
<div v-if="frontmatter.sponsors !== false">
9-
<a class="sponsors-aside-text" href="/sponsor/">Sponsors</a>
9+
ن <a class="sponsors-aside-text" href="/sponsor/">الراعون</a>
1010
<SponsorsGroup tier="special" />
1111
<SponsorsGroup tier="platinum" />
1212
</div>

.vitepress/theme/components/VueJobs.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ onMounted(async () => {
4343
target="_blank"
4444
>
4545
<div class="vj-company-logo">
46-
<img
47-
:src="job.organization.avatar"
46+
<img
47+
:src="job.organization.avatar"
4848
:alt="`Logo for ${job.organization.name}`" />
4949
</div>
5050
<div
@@ -63,7 +63,7 @@ onMounted(async () => {
6363
</a>
6464
</div>
6565
<div class="vj-link">
66-
Jobs by
66+
وظائف من طرف
6767
<a
6868
href="https://vuejobs.com/?utm_source=vuejs&utm_medium=referral&utm_campaign=jobs_widget&utm_content=bottom_link"
6969
target="_blank"

.vitepress/theme/components/VueMasteryModal.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<script setup lang="ts">
2-
import { watch } from "vue";
2+
import { watch } from 'vue'
33
4-
const VIDEO_SOURCE = "https://player.vimeo.com/video/647441538?autoplay=1";
5-
let showWhyVue: boolean = $ref(false);
4+
const VIDEO_SOURCE = 'https://player.vimeo.com/video/647441538?autoplay=1'
5+
let showWhyVue: boolean = $ref(false)
66
77
watch(
88
() => showWhyVue,
99
(value) => {
1010
value
11-
? (document.documentElement.style.overflow = "hidden")
12-
: (document.documentElement.style.overflow = "auto");
11+
? (document.documentElement.style.overflow = 'hidden')
12+
: (document.documentElement.style.overflow = 'auto')
1313
}
14-
);
14+
)
1515
</script>
1616

1717
<template>

.vitepress/theme/components/VueSchoolLink.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
rel="sponsored noopener"
77
:title="title"
88
>
9-
<slot>Watch a free video lesson on Vue School</slot>
9+
<slot> شاهد فيديو تعليمي مجاني على VueSchool</slot>
1010
</a>
1111
</div>
1212
</template>

.vitepress/theme/styles/index.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@import "./pages.css";
2-
@import "./badges.css";
3-
@import "./options-boxes.css";
4-
@import "./inline-demo.css";
5-
@import "./utilities.css";
6-
@import "./style-guide.css";
1+
@import './pages.css';
2+
@import './badges.css';
3+
@import './options-boxes.css';
4+
@import './inline-demo.css';
5+
@import './utilities.css';
6+
@import './style-guide.css';

0 commit comments

Comments
 (0)