blob: 8930d0ee2e6d6689ef8cdc73df45fb5a5c738471 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
<template lang="pug">
.mx-auto.w-90p.py-6(class="sm:px-6 lg:px-8 md:max-w-7xl")
h1.text-3xl.font-bold(class="dark:text-white") Create a new model
p(class="dark:text-white") Fill all the required fieds to upload your 3D model into Verden!
model-form
</template>
<script>
import ModelLoading from "@/components/ModelLoading.vue";
import ModelBoxCard from "@/components/ModelBoxCard.vue";
import ModelForm from "@/components/ModelForm.vue";
import { mapGetters } from "vuex";
export default {
name: "CreateModelView",
layout: "default",
head: {
title: "Create a new model · Verden",
},
computed: {
...mapGetters(["isLoading"]),
...mapGetters("auth", ["isLogged"]),
},
created() {
if (!this.isLogged) window.location.href = "/signin?ref=/create";
},
};
</script>
|