diff --git a/src/assets/index.css b/src/assets/index.css index b5c61c9..00b5c41 100644 --- a/src/assets/index.css +++ b/src/assets/index.css @@ -1,3 +1,15 @@ @tailwind base; @tailwind components; @tailwind utilities; + +.content-container { + @apply flex bg-crust flex-col p-6 rounded-lg w-full text-contrast; + } + + .content-container-theatre { + @apply md:w-[62vw] lg:w-[75vw] xl:w-[75vw] 2xl:w-[68vw]; + } + + .content-container-normal { + @apply md:w-[70vw] lg:w-[70vw] xl:w-[60vw] 2xl:w-[50vw] max-w-[1200px]; + } \ No newline at end of file diff --git a/src/components/ActionButtons.vue b/src/components/ActionButtons.vue new file mode 100644 index 0000000..5f823bf --- /dev/null +++ b/src/components/ActionButtons.vue @@ -0,0 +1,28 @@ + + + + \ No newline at end of file diff --git a/src/main.ts b/src/main.ts index fed9702..4998057 100644 --- a/src/main.ts +++ b/src/main.ts @@ -36,7 +36,8 @@ import { FaShareAlt, IoCloseSharp, MdDownloadRound, - IoPerson + IoPerson, + FaExpand } from 'oh-vue-icons/icons' addIcons( @@ -55,7 +56,8 @@ addIcons( FaShareAlt, IoCloseSharp, MdDownloadRound, - IoPerson + IoPerson, + FaExpand ) app.component('v-icon', OhVueIcon) diff --git a/src/views/ClipView.vue b/src/views/ClipView.vue index cca72cd..8a5227d 100644 --- a/src/views/ClipView.vue +++ b/src/views/ClipView.vue @@ -9,11 +9,11 @@ import LoadingScreen from '@/components/LoadingScreen.vue' import AboutTab from '@/components/user/AboutTab.vue' import ShareModal from '@/components/popups/ShareButtonModal.vue' import VueTitle from '@/components/VueTitle.vue' +import ActionButtons from '@/components/ActionButtons.vue' import type { Video } from '@/types' import { truncate, abbreviate, getEndpoint } from '@/mixins' - export default { inject: ['rootBackendUrl'], async setup() { @@ -21,6 +21,7 @@ export default { const clipSlug = route.params.slug const data = ref