file: initialize file

This commit is contained in:
Leon Xu committed 2021-12-29 17:51:46 -08:00
1 parent a52b1b5ef3
commit 923a1c858a
31 files changed
+30426 -86

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
<template>
<div>
<router-view />
</div>
</template>
<script>
export default {
setup() {
// Create data / vars
// Check to see if user is already logged in
// If user does not exist, need to make app ready
// Runs when there is a auth state change
// if user is logged in, this will fire
return {};
},
};
</script>
<style lang="scss">
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap");
</style>
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

+5
View File
@@ -0,0 +1,5 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
+17
View File
@@ -0,0 +1,17 @@
<template>
<header></header>
</template>
<script>
export default {
setup() {
// Get user from store
// Setup ref to router
// Logout function
return {};
},
};
</script>
+8
View File
@@ -0,0 +1,8 @@
import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import "./assets/tailwind.css";
createApp(App)
.use(router)
.mount("#app");
+21
View File
@@ -0,0 +1,21 @@
import { createRouter, createWebHistory } from "vue-router";
import Home from "../views/Home.vue";
const routes = [
{
path: "/",
name: "Home",
component: Home,
},
];
const router = createRouter({
history: createWebHistory(process.env.BASE_URL),
routes,
});
// Change document titles
// Route guard for auth routes
export default router;
+1
View File
@@ -0,0 +1 @@
+1
View File
@@ -0,0 +1 @@
+22
View File
@@ -0,0 +1,22 @@
<template>
<div></div>
</template>
<script>
export default {
name: "create",
setup() {
// Create data
// Add exercise
// Delete exercise
// Listens for chaging of workout type input
// Create workout
return {};
},
};
</script>
+19
View File
@@ -0,0 +1,19 @@
<template>
<div></div>
</template>
<script>
export default {
name: "Home",
components: {},
setup() {
// Create data / vars
// Get data
// Run data function
return {};
},
};
</script>
+16
View File
@@ -0,0 +1,16 @@
<template>
<div></div>
</template>
<script>
export default {
name: "login",
setup() {
// Create data / vars
// Login function
return {};
},
};
</script>
+16
View File
@@ -0,0 +1,16 @@
<template>
<div></div>
</template>
<script>
export default {
name: "register",
setup() {
// Create data / vars
// Register function
return {};
},
};
</script>
+28
View File
@@ -0,0 +1,28 @@
<template>
<div></div>
</template>
<script>
export default {
name: "view-workout",
setup() {
// Create data / vars
// Get current Id of route
// Get workout data
// Delete workout
// Edit mode
// Add exercise
// Delete exercise
// Update Workout
return {};
},
};
</script>