Update styling and heading levels.

This commit is contained in:
2025-11-29 16:29:25 -05:00
parent b78708d2dd
commit 68512ff2d3
7 changed files with 141 additions and 47 deletions

View File

@@ -1,5 +1,5 @@
import { Fragment, JSX } from "react";
import { Heading, Flex } from "@chakra-ui/react";
import { JSX } from "react";
import { Heading, Flex, VStack } from "@chakra-ui/react";
import { CombinedError } from "urql";
import SingleStatComponent from "@/components/stats/SingleStat";
@@ -23,8 +23,8 @@ const StatsList = ({
triggers
}: StatsListProps): JSX.Element => {
return (
<Fragment>
<Heading as="h1" fontSize="3xl">
<VStack gap={6} w="100%">
<Heading as="h3" fontSize="3xl">
{title}
</Heading>
<Flex w="80%" flexDirection={{ base: "column", md: "row" }} gap={4}>
@@ -55,7 +55,7 @@ const StatsList = ({
stat={triggers}
/>
</Flex>
</Fragment>
</VStack>
);
};