diff --git a/components/home/component-api.server.vue b/components/home/ComponentApi.server.vue
similarity index 88%
rename from components/home/component-api.server.vue
rename to components/home/ComponentApi.server.vue
index 0bc4373..2d8d6c5 100644
--- a/components/home/component-api.server.vue
+++ b/components/home/ComponentApi.server.vue
@@ -1,24 +1,59 @@
+
+
-
-
-
+
+
+
Powerful Developer Experience
- Develop with an open, extendable API
+ Develop with an open, extendable API
Chakra UI Vue components can be customized at any level - whether it's
at the component level, or the theme level. You can also extend the
components to add new features, or override existing ones.
-
-
-import { chakra, useColorModeValue } from '@chakra-ui/vue-next';
-import AccessibilityIcon from '../icons/accessibility-icon';
-import ComposableIcon from '../icons/composable-icon';
-import ThemeIcon from '../icons/theme-icon';
-import StateMachineIcon from '../icons/state-machine-icon';
-
-const features = [
- {
- icon: AccessibilityIcon,
- title: 'Accessibility',
- description:
- 'Chakra UI strictly follows WAI-ARIA standards for all components.'
- },
- {
- icon: ThemeIcon,
- title: 'Design System friendly',
- description:
- 'Customize any part of our components to match your design needs.'
- },
- {
- icon: StateMachineIcon,
- title: 'State Machine Driven',
- description:
- 'Built with UI state machines for predictable and reliable UI. Powered by Zag.js'
- },
- {
- icon: ComposableIcon,
- title: 'Composable',
- description:
- 'Designed with composition in mind. Compose new components with ease.'
- }
-];
-
diff --git a/components/home/DiscordHero.server.vue b/components/home/DiscordHero.server.vue
index b84286a..36ab3f6 100644
--- a/components/home/DiscordHero.server.vue
+++ b/components/home/DiscordHero.server.vue
@@ -12,7 +12,7 @@ import { chakra, CBox, CButton, CFlex, CIcon } from '@chakra-ui/vue-next';
color="white"
bg="discord.accessible"
:h="['auto', 'auto', 'auto', 40]"
- :px="[4, 10, 12]"
+ :px="[8, 20, 24]"
:mt="[4, 10, 10]"
>
Join the #Chakra Discord!
diff --git a/layouts/default.vue b/layouts/default.vue
index e31d70f..90dd542 100644
--- a/layouts/default.vue
+++ b/layouts/default.vue
@@ -14,19 +14,20 @@ const color = useColorModeValue('gray.700', 'white');
-
-
+
-
-
+
+
Edit this page on GitHub
-
+
diff --git a/pages/index.vue b/pages/index.vue
index f11887f..efb0dc2 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -2,19 +2,16 @@
import { chakra } from '@chakra-ui/vue-next';
import StartHero from '../components/home/StartHero.server.vue';
import { siteDescription, siteName } from '~/config/site-config';
+
+const ComponentApi = defineAsyncComponent(
+ () => import('../components/home/ComponentApi.server.vue')
+);
const DiscordHero = defineAsyncComponent(
() => import('../components/home/DiscordHero.server.vue')
);
const Footer = defineAsyncComponent(
() => import('../components/home/Footer.server.vue')
);
-const HomeFeatures = defineAsyncComponent(
- () => import('../components/home/features.server.vue')
-);
-
-const ComponentApi = defineAsyncComponent(
- () => import('../components/home/component-api.server.vue')
-);
definePageMeta({
layout: 'home'
@@ -34,7 +31,6 @@ useHead({
-