diff --git a/src/views/contents/ContentEditorPage.vue b/src/views/contents/ContentEditorPage.vue index 26eba11..24e67a8 100644 --- a/src/views/contents/ContentEditorPage.vue +++ b/src/views/contents/ContentEditorPage.vue @@ -1,193 +1,73 @@  \ No newline at end of file +.editor-buttons { + position: fixed; + top: 0; + left: 50%; + transform: translateX(-50%); + z-index: 2; + background-color: white; + padding: 1rem; + border-bottom: 1px solid #ccc; + width: 100%; + text-align: center; +} + +button { + padding: 0.5rem 1rem; + border: 1px solid #ccc; + border-radius: 4px; + background-color: #f5f5f5; + cursor: pointer; + margin: 0 0.5rem; +} + +button:hover { + background-color: #e0e0e0; +} + diff --git a/src/views/contents/HTMLContentEditor.vue b/src/views/contents/HTMLContentEditor.vue new file mode 100644 index 0000000..d92c928 --- /dev/null +++ b/src/views/contents/HTMLContentEditor.vue @@ -0,0 +1,194 @@ + + + + + \ No newline at end of file diff --git a/src/views/contents/QuickyContentEditor.vue b/src/views/contents/QuickyContentEditor.vue new file mode 100644 index 0000000..6adc5fe --- /dev/null +++ b/src/views/contents/QuickyContentEditor.vue @@ -0,0 +1,133 @@ + + + diff --git a/src/views/main/SideBar.vue b/src/views/main/SideBar.vue index e0fa0cf..ff931a7 100644 --- a/src/views/main/SideBar.vue +++ b/src/views/main/SideBar.vue @@ -18,7 +18,7 @@ const creatorProfileStore = useCreatorProfileStore(); const brandingStore = useBrandingStore(); const authStore = useAuthStore(); -const creatorIsCurrentUser = computed(() => authStore.isAuthenticated && authStore.userId === brandingStore.value.id); +const creatorIsCurrentUser = computed(() => authStore.isAuthenticated && authStore.userId); const createHtmlContent = () => { router.push('/content/editor'); @@ -57,8 +57,8 @@ initializeLocale(); -
- + +
mdi-pencil