---
import Base from '../../layouts/Base.astro';
import SectionBanner from '../../components/SectionBanner.astro';
import RecordRow from '../../components/RecordRow.astro';
import Icon from '../../components/Icon.astro';
import { hackTricksBySection } from '../../lib/hacktricks';
import { url } from '../../lib/url';
const sections = await hackTricksBySection();
const totalPages = sections.reduce((total, section) => total + section.count, 0);
const sha = sections[0]?.items[0]?.data.sha ?? '';
const accents = ['gold', 'love', 'foam', 'pine', 'iris'];
---