<script setup lang="ts">
import Background from "./Background.vue";
import Projects from "./Projects.vue";

const store = useProjectsStore();

onMounted(async () => {
  store.$reset();
  await store.loadProjects();
});
</script>

<template>
  <Background />

  <Projects v-if="!store.loading" />
</template>
