diff --git a/src/client/theme-default/components/VPBox.vue b/src/client/theme-default/components/VPFeature.vue
similarity index 91%
rename from src/client/theme-default/components/VPBox.vue
rename to src/client/theme-default/components/VPFeature.vue
index 7461f53b..7f24f3f3 100644
--- a/src/client/theme-default/components/VPBox.vue
+++ b/src/client/theme-default/components/VPFeature.vue
@@ -7,7 +7,7 @@ defineProps<{
-
+
{{ icon }}
{{ title }}
{{ details }}
@@ -15,8 +15,8 @@ defineProps<{
diff --git a/src/client/theme-default/components/VPHero.vue b/src/client/theme-default/components/VPHero.vue
index 11100c72..e485714c 100644
--- a/src/client/theme-default/components/VPHero.vue
+++ b/src/client/theme-default/components/VPHero.vue
@@ -64,11 +64,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 +104,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 +161,7 @@ defineProps<{
}
.tagline {
- padding-top: 16px;
+ padding-top: 8px;
max-width: 392px;
line-height: 28px;
font-size: 18px;
@@ -172,7 +176,7 @@ defineProps<{
@media (min-width: 640px) {
.tagline {
- padding-top: 24px;
+ padding-top: 12px;
max-width: 576px;
line-height: 32px;
font-size: 20px;
@@ -181,7 +185,6 @@ defineProps<{
@media (min-width: 960px) {
.tagline {
- padding-top: 24px;
line-height: 36px;
font-size: 24px;
}
@@ -232,9 +235,9 @@ defineProps<{
@media (min-width: 960px) {
.image {
+ flex-grow: 1;
order: 2;
margin: 0;
- width: calc(100% / 3);
min-height: 100%;
}
}
diff --git a/src/client/theme-default/components/VPHomeFeatures.vue b/src/client/theme-default/components/VPHomeFeatures.vue
index 86fc2a50..ee593fc1 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 a12be5a6..9aa64aa9 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 102912d5..88249522 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 {