frontend/pages/index.vue

27 lines
628 B
Vue
Raw Normal View History

<template>
2024-05-12 07:26:29 +02:00
<div class="mx-auto max-w-2xl w-full">
<TimelineScroller>
<Home v-if="identity" />
<Public v-else />
</TimelineScroller>
2024-05-12 07:26:29 +02:00
</div>
</template>
2024-05-12 07:26:29 +02:00
<script setup lang="tsx">
import Home from "~/components/timelines/home.vue";
import Public from "~/components/timelines/public.vue";
import TimelineScroller from "~/components/timelines/timeline-scroller.vue";
import * as m from "~/paraglide/messages.js";
useHead({
title: identity.value
? m.bland_chunky_sparrow_propel()
: m.lost_trick_dog_grace(),
});
definePageMeta({
layout: "app",
});
</script>