Removed Capacitor
This commit is contained in:
@@ -3,17 +3,7 @@ import * as Sentry from "@sentry/browser"
|
||||
|
||||
|
||||
|
||||
/*watch(viewport.breakpoint, (newBreakpoint, oldBreakpoint) => {
|
||||
console.log('Breakpoint updated:', oldBreakpoint, '->', newBreakpoint)
|
||||
})*/
|
||||
|
||||
const platform = ref('default')
|
||||
|
||||
const setup = async () => {
|
||||
if(await useCapacitor().getIsPhone()) {
|
||||
platform.value = "mobile"
|
||||
}
|
||||
|
||||
const dev = process.dev
|
||||
console.log(dev)
|
||||
}
|
||||
@@ -21,10 +11,10 @@ setup()
|
||||
|
||||
|
||||
|
||||
Sentry.init({
|
||||
/*Sentry.init({
|
||||
dsn: "https://62e62ff08e1a438591fe5eb4dd9de244@glitchtip.federspiel.software/3",
|
||||
tracesSampleRate: 0.01,
|
||||
});
|
||||
});*/
|
||||
|
||||
|
||||
|
||||
@@ -40,12 +30,12 @@ useHead({
|
||||
lang: 'de'
|
||||
},
|
||||
script: [
|
||||
{
|
||||
/*{
|
||||
defer: true,
|
||||
src: "/umami.js",
|
||||
"data-website-id":"2a9782fa-2fdf-4434-981d-93592d39edef",
|
||||
"data-host-url":"https://umami.federspiel.software"
|
||||
}
|
||||
}*/
|
||||
]
|
||||
})
|
||||
|
||||
@@ -61,8 +51,7 @@ useSeoMeta({
|
||||
<NuxtLayout>
|
||||
<NuxtPage/>
|
||||
</NuxtLayout>
|
||||
|
||||
<UNotifications :class="platform === 'mobile' ? ['mb-14'] : []"/>
|
||||
<UNotifications/>
|
||||
<USlideovers />
|
||||
<UModals/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user