import { $, component$ } from "@builder.io/qwik"; import Icon from "~/components/core/icon"; import { data } from '~/mock-data'; import type { Section } from '~/types/PSC'; import { useTheme } from '~/store/theme-store'; import articles from '~/data/articles'; export default component$(() => { const { theme, setTheme } = useTheme(); const themes = [ 'dark', 'light', 'night', 'cupcake', 'bumblebee', 'corporate', 'synthwave', 'retro', 'valentine', 'halloween', 'aqua', 'lofi', 'fantasy', 'dracula' ]; const deleteAllData = $(() => { const isConfirmed = confirm('Are you sure you want to delete all local data? This will erase your progress.'); if (isConfirmed) { localStorage.clear(); location.reload(); } }); return ( <>
); });