import { Grid, Stack, Title } from "@mantine/core";
import EntryCard from "../components/EntryCard";
import { logsEntries } from "../config/entries";

export default function Logs() {
  return (
    <Stack spacing="lg" p="md">
      <Title order={2}>日志详情</Title>
      <Grid gutter="lg">
        {logsEntries.map((entry) => (
          <Grid.Col key={entry.href} span={{ base: 12, sm: 4, md: 3 }}>
            <EntryCard label={entry.label} href={entry.href} icon={entry.icon} />
          </Grid.Col>
        ))}
      </Grid>
    </Stack>
  );
}
