|
25 | 25 | </c-heading>
|
26 | 26 | <chakra.h4
|
27 | 27 | font-weight="bold"
|
28 |
| - font-size="3xl" |
| 28 | + :font-size="['xl', '2xl', '3xl']" |
29 | 29 | display="flex"
|
30 |
| - align-items="center" |
| 30 | + :flex-direction="['column', 'column', 'row']" |
| 31 | + :align-items="['flex-start', 'flex-start', 'center']" |
31 | 32 | >
|
32 | 33 | <chakra.span
|
33 | 34 | >Build Beautiful Accessible Components - Powered by</chakra.span
|
|
48 | 49 | </chakra.a>
|
49 | 50 | </chakra.h4>
|
50 | 51 | </c-stack>
|
51 |
| - <c-h-stack |
| 52 | + <c-wrap |
52 | 53 | :bg="useColorModeValue('blackAlpha.50', 'whiteAlpha.50').value"
|
53 |
| - padding="3" |
54 |
| - rounded="full" |
| 54 | + :px="[5, 3]" |
| 55 | + :py="[4, 3]" |
| 56 | + :rounded="{ base: '2xl', md: '2xl', lg: 'full' }" |
| 57 | + spacing="3" |
55 | 58 | >
|
56 |
| - <c-circle |
57 |
| - box-size="8" |
58 |
| - v-for="(color, i) in colors" |
59 |
| - :key="color" |
60 |
| - :bg="`${color}.400`" |
61 |
| - cursor="pointer" |
62 |
| - :_hover="{ |
63 |
| - bg: `${color}.500`, |
64 |
| - transform: 'scale(1.1)', |
65 |
| - transition: 'all 0.2s', |
66 |
| - }" |
67 |
| - @mouseenter="selectedColor.color = color" |
68 |
| - /> |
69 |
| - </c-h-stack> |
| 59 | + <c-wrap-item v-for="(color, i) in colors" :key="color"> |
| 60 | + <c-circle |
| 61 | + box-size="8" |
| 62 | + :bg="`${color}.400`" |
| 63 | + cursor="pointer" |
| 64 | + :_hover="{ |
| 65 | + bg: `${color}.500`, |
| 66 | + transform: 'scale(1.1)', |
| 67 | + transition: 'all 0.2s', |
| 68 | + }" |
| 69 | + @mouseenter="selectedColor.color = color" |
| 70 | + /> |
| 71 | + </c-wrap-item> |
| 72 | + </c-wrap> |
70 | 73 | <c-badge
|
71 |
| - rounded="full" |
72 | 74 | :color-scheme="selectedColor.color"
|
73 | 75 | text-transform="unset"
|
74 |
| - px="2" |
75 |
| - py="1" |
| 76 | + :px="[5, 2]" |
| 77 | + :py="[4, 1]" |
76 | 78 | font-size="md"
|
| 79 | + :rounded="{ base: '2xl', md: '2xl', lg: 'full' }" |
| 80 | + white-space="break-spaces" |
77 | 81 | >
|
78 | 82 | Chakra UI Vue is currently still in early beta. Explore the
|
79 | 83 | documentation and join our Discord!
|
80 | 84 | </c-badge>
|
81 |
| - <c-button-group size="lg" spacing="5" :color-scheme="selectedColor.color"> |
82 |
| - <c-button :right-icon="ExternalLinkIcon"> Get Started </c-button> |
83 |
| - <c-button :right-icon="DocumentationIcon" variant="outline"> |
84 |
| - Documentation |
85 |
| - </c-button> |
86 |
| - </c-button-group> |
| 85 | + <c-wrap spacing="5" :color-scheme="selectedColor.color"> |
| 86 | + <c-wrap-item> |
| 87 | + <c-button |
| 88 | + size="lg" |
| 89 | + :color-scheme="selectedColor.color" |
| 90 | + :right-icon="ExternalLinkIcon" |
| 91 | + > |
| 92 | + Get Started |
| 93 | + </c-button> |
| 94 | + </c-wrap-item> |
| 95 | + <c-wrap-item> |
| 96 | + <c-button |
| 97 | + size="lg" |
| 98 | + :color-scheme="selectedColor.color" |
| 99 | + :right-icon="DocumentationIcon" |
| 100 | + variant="outline" |
| 101 | + > |
| 102 | + Documentation |
| 103 | + </c-button> |
| 104 | + </c-wrap-item> |
| 105 | + </c-wrap> |
87 | 106 | <c-button-group :color-scheme="selectedColor.color" variant="outline">
|
88 | 107 | <c-icon-button
|
89 | 108 | aria-label="Toggle color mode"
|
|
0 commit comments