Tutorial #62

Merged
LucidKobold merged 32 commits from tutorial into main 2022-06-24 15:51:02 -04:00
16 changed files with 823 additions and 122 deletions
Showing only changes of commit a05f830407 - Show all commits

View File

@@ -72,7 +72,7 @@ const CalenderExample = ({ type }: CalenderExampleProps): JSX.Element => {
return ( return (
<VStack h="8.5rem" w="100%" spacing={0}> <VStack h="8.5rem" w="100%" spacing={0}>
<HStack <HStack
px={6} px={{ base: 1, sm: 2, md: 6 }}
spacing={0} spacing={0}
w="100%" w="100%"
h="auto" h="auto"
@@ -108,7 +108,7 @@ const CalenderExample = ({ type }: CalenderExampleProps): JSX.Element => {
); );
})} })}
</HStack> </HStack>
<SimpleGrid px={6} w="100%" h="100%" columns={7} alignItems="center"> <SimpleGrid px={{ base: 1, sm: 2, md: 6 }} w="100%" h="100%" columns={7} alignItems="center">
{currWeek.map((day: MonthDay) => { {currWeek.map((day: MonthDay) => {
const { date, isOverflow, overflowDirection } = day; const { date, isOverflow, overflowDirection } = day;

View File

@@ -56,8 +56,9 @@ const Tutorial = ({
justifyContent="center" justifyContent="center"
alignContent="center" alignContent="center"
my={8} my={8}
mx={4} mx={{ base: 0, sm: 2, md: 4 }}
p={4} py={4}
px={{ base: 0, sm: 2, md: 4 }}
bg="gray.700" bg="gray.700"
> >
<VStack <VStack
@@ -97,7 +98,7 @@ const Tutorial = ({
w="100%" w="100%"
justifyContent="start" justifyContent="start"
alignContent="center" alignContent="center"
spacing={0} spacing={1}
> >
<Text> <Text>
{ {
@@ -139,7 +140,7 @@ const Tutorial = ({
w="100%" w="100%"
justifyContent="start" justifyContent="start"
alignContent="center" alignContent="center"
spacing={2} spacing={1}
> >
<Text> <Text>
{ {