From aac4c8be6066c36c3c8a79558fe8af4fa2d97ffd Mon Sep 17 00:00:00 2001 From: Amelia Yukii <123300075+Insert5StarName@users.noreply.github.com> Date: Wed, 27 Sep 2023 03:32:36 +0000 Subject: [PATCH] revert: blur f or now to be properly added at later date --- packages/frontend/src/pages/user/home.vue | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/packages/frontend/src/pages/user/home.vue b/packages/frontend/src/pages/user/home.vue index 1d510f895..f705c68d1 100644 --- a/packages/frontend/src/pages/user/home.vue +++ b/packages/frontend/src/pages/user/home.vue @@ -165,7 +165,6 @@ import MkOmit from '@/components/MkOmit.vue'; import MkInfo from '@/components/MkInfo.vue'; import MkButton from '@/components/MkButton.vue'; import { getScrollPosition } from '@/scripts/scroll.js'; -import { getStaticImageUrl } from '@/scripts/media-proxy.js'; import { getUserMenu } from '@/scripts/get-user-menu.js'; import number from '@/filters/number.js'; import { userPage } from '@/filters/user.js'; @@ -178,7 +177,6 @@ import { confetti } from '@/scripts/confetti.js'; import MkNotes from '@/components/MkNotes.vue'; import { api } from '@/os.js'; import { isFfVisibleForMe } from '@/scripts/isFfVisibleForMe.js'; -import { defaultStore } from '@/store.js'; function calcAge(birthdate: string): number { const date = new Date(birthdate); @@ -256,9 +254,6 @@ const style = $computed(() => { if (props.user.bannerUrl == null) return {}; return { backgroundImage: `url(${ props.user.bannerUrl })`, - '--backgroundImageStatic': defaultStore.state.useBlurEffect && props.user.bannerUrl - ? `url('${getStaticImageUrl(props.user.bannerUrl,)}')` - : null, }; }); @@ -371,16 +366,6 @@ onUnmounted(() => { background-position: center; box-shadow: 0 0 128px rgba(0, 0, 0, 0.5) inset; will-change: background-position; - &::before { - content: ""; - position: fixed; - inset: 0; - background: var(--backgroundImageStatic); - background-size: cover; - background-position: center; - pointer-events: none; - filter: blur(12px) opacity(0.1); - } } > .fade { @@ -729,12 +714,6 @@ onUnmounted(() => { padding: calc(var(--margin) / 2) 0; background: var(--bg); border-radius: 8px; - - > button { - border-radius: 8px; - margin-left: 0.4rem; - margin-right: 0.4rem; - } } .verifiedLink {