-
{{ name }}
+
+ {{ name }}
+
{{ text }}
{{ tagline }}
@@ -45,7 +44,7 @@ defineProps<{
-
+
@@ -64,11 +63,17 @@ defineProps<{
}
}
+@media (min-width: 960px) {
+ .VPHero {
+ padding: calc(var(--vp-nav-height) + 80px) 64px 64px;
+ }
+}
+
.container {
display: flex;
flex-direction: column;
margin: 0 auto;
- max-width: 960px;
+ max-width: 1152px;
}
@media (min-width: 960px) {
@@ -98,13 +103,11 @@ defineProps<{
@media (min-width: 960px) {
.main {
order: 1;
+ width: calc((100% / 3) * 2);
}
-}
-@media (min-width: 960px) {
- .main {
- width: 100%;
- max-width: calc((100% / 3) * 2);
+ .VPHero.has-image .main {
+ max-width: 592px;
}
}
@@ -157,7 +160,7 @@ defineProps<{
}
.tagline {
- padding-top: 16px;
+ padding-top: 8px;
max-width: 392px;
line-height: 28px;
font-size: 18px;
@@ -172,7 +175,7 @@ defineProps<{
@media (min-width: 640px) {
.tagline {
- padding-top: 24px;
+ padding-top: 12px;
max-width: 576px;
line-height: 32px;
font-size: 20px;
@@ -181,7 +184,6 @@ defineProps<{
@media (min-width: 960px) {
.tagline {
- padding-top: 24px;
line-height: 36px;
font-size: 24px;
}
@@ -232,9 +234,9 @@ defineProps<{
@media (min-width: 960px) {
.image {
+ flex-grow: 1;
order: 2;
margin: 0;
- width: calc(100% / 3);
min-height: 100%;
}
}
@@ -290,7 +292,7 @@ defineProps<{
}
}
-.image-src {
+:deep(.image-src) {
position: absolute;
top: 50%;
left: 50%;
diff --git a/src/client/theme-default/components/VPHomeFeatures.vue b/src/client/theme-default/components/VPHomeFeatures.vue
index 86fc2a50cf69..ee593fc14db7 100644
--- a/src/client/theme-default/components/VPHomeFeatures.vue
+++ b/src/client/theme-default/components/VPHomeFeatures.vue
@@ -1,97 +1,14 @@
-
+
-
-
diff --git a/src/client/theme-default/components/VPHomeHero.vue b/src/client/theme-default/components/VPHomeHero.vue
index a12be5a606d0..9aa64aa9dda0 100644
--- a/src/client/theme-default/components/VPHomeHero.vue
+++ b/src/client/theme-default/components/VPHomeHero.vue
@@ -6,13 +6,13 @@ const { frontmatter: fm } = useData()
-
-
-
+
diff --git a/src/client/theme-default/components/VPHomeSponsors.vue b/src/client/theme-default/components/VPHomeSponsors.vue
index 102912d596bb..88249522d283 100644
--- a/src/client/theme-default/components/VPHomeSponsors.vue
+++ b/src/client/theme-default/components/VPHomeSponsors.vue
@@ -55,7 +55,7 @@ defineProps<{
.container {
margin: 0 auto;
- max-width: 960px;
+ max-width: 1152px;
}
.love {
diff --git a/src/client/theme-default/components/VPImage.vue b/src/client/theme-default/components/VPImage.vue
new file mode 100644
index 000000000000..90f5b8be1bbb
--- /dev/null
+++ b/src/client/theme-default/components/VPImage.vue
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/client/theme-default/components/VPNavBarTitle.vue b/src/client/theme-default/components/VPNavBarTitle.vue
index 6f2e0cb66f86..5b037cff50e9 100644
--- a/src/client/theme-default/components/VPNavBarTitle.vue
+++ b/src/client/theme-default/components/VPNavBarTitle.vue
@@ -1,6 +1,7 @@