Tweaked layout.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { JSX } from "react";
|
||||
import { Heading, Flex, VStack } from "@chakra-ui/react";
|
||||
import { Heading, Flex, Text, VStack } from "@chakra-ui/react";
|
||||
import { CombinedError } from "urql";
|
||||
import SingleStatComponent from "@/components/stats/SingleStat";
|
||||
|
||||
@@ -24,9 +24,14 @@ const StatsList = ({
|
||||
}: StatsListProps): JSX.Element => {
|
||||
return (
|
||||
<VStack gap={6} w="100%">
|
||||
<Heading as="h3" fontSize="3xl">
|
||||
{title}
|
||||
</Heading>
|
||||
<VStack gap={1}>
|
||||
<Heading as="h3" fontSize="3xl">
|
||||
{title}
|
||||
</Heading>
|
||||
<Text textAlign="center" fontSize="sm" color="whiteAlpha.800">
|
||||
{groups ? "Updates every 24 hours" : "At time of page load"}
|
||||
</Text>
|
||||
</VStack>
|
||||
<Flex w="80%" flexDirection={{ base: "column", md: "row" }} gap={4}>
|
||||
{groups ? (
|
||||
<SingleStatComponent
|
||||
|
||||
Reference in New Issue
Block a user