Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<template>

<router-view v-slot="{ Component, route }">
<transition name="router-transition" mode="out-in" appear>
<component :is="Component" :key="route.path" />
</transition>
</router-view>

</template>

<script setup lang="ts">
Expand Down
19 changes: 19 additions & 0 deletions pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
<template>
<div class="d-flex align-center flex-column">
<b-navbar toggleable="lg" type="dark" variant="info">
<b-navbar-brand href="#">NavBar</b-navbar-brand>
<b-navbar-toggle target="nav-collapse"></b-navbar-toggle>
<b-navbar-nav>
<b-nav-item>
<nuxt-link to="/submit">

Submit a Joke

</nuxt-link>
</b-nav-item>
</b-navbar-nav>

<nuxt-link to="/pendingList">
<v-btn color="secondary" variant="flat" elevation="4">
Approve Submitted Jokes
</v-btn>
</nuxt-link>
</b-navbar>
<v-card width="80%" elevation="6" style="margin-top: 20px">
<v-img
class="align-end text-white"
Expand Down