-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Retrofit bootstrap layout to Jetstream pages
- Loading branch information
Showing
3 changed files
with
81 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<script setup lang="ts"> | ||
import { ref, defineProps, withDefaults } from 'vue'; | ||
import { Head, Link, usePage } from '@inertiajs/vue3'; | ||
import Footer from '@/Components/Footer.vue' | ||
export interface Props { | ||
title?: string; | ||
theme?: string; | ||
} | ||
const page = usePage() | ||
const props = withDefaults(defineProps<Props>(), { | ||
title: 'MunkiReport 6.0', | ||
theme: 'Default', | ||
}) | ||
</script> | ||
|
||
<template> | ||
<Head> | ||
<title>{{ title }}</title> | ||
<link | ||
id="bootstrap-stylesheet" | ||
rel="stylesheet" | ||
:href="`/assets/themes/${theme}/bootstrap.min.css`" | ||
> | ||
</Head> | ||
<main style="padding-top: 56px;"> | ||
<slot /> | ||
</main> | ||
<Footer /> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters