Skip to content

Commit 58615cb

Browse files
committed
updates
1 parent 8f924c8 commit 58615cb

File tree

4 files changed

+54
-10
lines changed

4 files changed

+54
-10
lines changed

.vitepress/config.js

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,51 @@
1+
/** @type {UserConfig['head']} */
2+
const head = [
3+
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
4+
['meta', { name: 'twitter:site', content: '@intlify' }],
5+
['meta', { name: 'twitter:url', content: 'https://intlify.dev' }],
6+
['meta', { name: 'twitter:title', content: 'Intlify' }],
7+
[
8+
'meta',
9+
{
10+
name: 'twitter:description',
11+
content: 'The Borderless Internationalization'
12+
}
13+
],
14+
[
15+
'meta',
16+
{ name: 'twitter:image', content: 'https://intlify.dev/ogimage.png' }
17+
],
18+
['meta', { property: 'og:type', content: 'article' }],
19+
['meta', { property: 'og:url', content: 'https://intlify.dev' }],
20+
['meta', { property: 'og:site_name', content: 'Intlify' }],
21+
['meta', { property: 'og:title', content: 'Intlify' }],
22+
[
23+
'meta',
24+
{
25+
property: 'og:description',
26+
content: 'The Borderless Internationalization'
27+
}
28+
],
29+
['meta', { property: 'og:image', content: 'https://intlify.dev/ogimage.png' }]
30+
]
31+
32+
if (process.env.NODE_ENV === 'production') {
33+
head.push([
34+
'script',
35+
{
36+
src: 'https://unpkg.com/thesemetrics@latest',
37+
async: ''
38+
}
39+
])
40+
}
41+
142
/**
243
* @type {UserConfig}
344
*/
445
const config = {
546
title: 'Intlify',
647
description: 'The Borderless Internationalization',
7-
head: [],
48+
head,
849
themeConfig: {
950
docsBranch: 'master',
1051
logo: 'nav_logo.png',

.vitepress/theme/Hero.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434
3535
.tagline {
36-
@apply text-center font-extrabold text-5xl
37-
md:text-left md:my-6 md:py-6;
36+
@apply text-center font-extrabold text-4xl
37+
md:text-left md:my-6 md:py-6 md:text-5xl;
3838
}
3939
</style>

.vitepress/theme/Layout.vue

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ import Info from './Info.vue'
2525
<div class="inner">
2626
<p>
2727
Intlify is a project that aims to improve Developer Experience in
28-
software internationalization.We aim to improve the Developer
28+
software internationalization. We will aim to improve the Developer
2929
Experience of internationalization by providing libraries,
3030
frameworks, and tools that break down barriers to
3131
internationalization.
3232
</p>
3333
<p>
34-
We will also aim to improve the localization experience by providing
34+
We will also aim to improve the Localization Experience by providing
3535
software that is easy to localize.
3636
</p>
3737
</div>
@@ -59,21 +59,21 @@ import Info from './Info.vue'
5959
class="button white"
6060
href="https://github.com/sponsors/kazupon?o=esc"
6161
>
62-
Become a Sponsor
62+
Become a Supporting
6363
</a>
6464
</div>
6565
</section>
6666

6767
<section class="projects layouts">
6868
<div class="inner">
69-
<h2>Projects</h2>
69+
<h2>Open Source Projects</h2>
7070
<Project :banners="$site.customData.projects" />
7171
<!-- eslint-disable-next-line prettier/prettier -->
7272
<a
7373
class="button white"
7474
href="https://github.com/intlify"
7575
>
76-
See more Projects
76+
See more Open Source Projects
7777
</a>
7878
</div>
7979
</section>
@@ -128,9 +128,12 @@ import Info from './Info.vue'
128128
@apply text-2xl mb-6;
129129
}
130130
131-
.sponsors a.button,
131+
.sponsors a.button {
132+
@apply mx-4 mt-14 w-60;
133+
}
134+
132135
.projects a.button {
133-
@apply mx-4 mt-14 w-52;
136+
@apply mx-4 mt-14 w-72;
134137
}
135138
136139
.footer {

public/ogimage.png

12.2 KB
Loading

0 commit comments

Comments
 (0)