diff --git a/public/tile-bg.svg b/public/backgrounds/tile-bg.svg similarity index 100% rename from public/tile-bg.svg rename to public/backgrounds/tile-bg.svg diff --git a/public/yorha-bg-left.svg b/public/backgrounds/yorha-bg-left.svg similarity index 100% rename from public/yorha-bg-left.svg rename to public/backgrounds/yorha-bg-left.svg diff --git a/public/yorha-bg-right.svg b/public/backgrounds/yorha-bg-right.svg similarity index 100% rename from public/yorha-bg-right.svg rename to public/backgrounds/yorha-bg-right.svg diff --git a/public/images/item-enhancement-icon.png b/public/images/item-enhancement-icon.png new file mode 100644 index 0000000..237f0c4 Binary files /dev/null and b/public/images/item-enhancement-icon.png differ diff --git a/public/images/item-enhancement-md.png b/public/images/item-enhancement-md.png new file mode 100644 index 0000000..0dc557f Binary files /dev/null and b/public/images/item-enhancement-md.png differ diff --git a/public/images/item-enhancement.png b/public/images/item-enhancement.png new file mode 100644 index 0000000..24fab12 Binary files /dev/null and b/public/images/item-enhancement.png differ diff --git a/public/images/item-restorative-icon.png b/public/images/item-restorative-icon.png new file mode 100644 index 0000000..45c2c4d Binary files /dev/null and b/public/images/item-restorative-icon.png differ diff --git a/public/images/item-restorative-md.png b/public/images/item-restorative-md.png new file mode 100644 index 0000000..ee0672b Binary files /dev/null and b/public/images/item-restorative-md.png differ diff --git a/public/images/item-restorative.png b/public/images/item-restorative.png new file mode 100644 index 0000000..70d1ca2 Binary files /dev/null and b/public/images/item-restorative.png differ diff --git a/src/App.vue b/src/App.vue index 44b6bb0..93004ff 100644 --- a/src/App.vue +++ b/src/App.vue @@ -50,12 +50,12 @@ import { RouterView } from 'vue-router' &::before { left: 0; - background-image: url('/yorha-bg-left.svg'); + background-image: url('/backgrounds/yorha-bg-left.svg'); background-position: left; } &::after { right: 0; - background-image: url('/yorha-bg-right.svg'); + background-image: url('/backgrounds/yorha-bg-right.svg'); background-position: right; } } diff --git a/src/assets/main.css b/src/assets/main.css index 30300ff..2a274cc 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -5,11 +5,13 @@ @tailwind utilities; body { - @apply relative min-h-screen min-w-full text-y-beige-900 bg-y-beige-400 + @apply relative min-h-screen min-w-full text-y-beige-700 bg-y-beige-400; + letter-spacing: -0.03em; + word-spacing: 0.5em; } body::before { - @apply absolute content-[''] h-full w-full bg-[url('/tile-bg.svg')] bg-[length:4px_4px] z-50 opacity-5 pointer-events-none select-none + @apply absolute content-[''] h-full w-full bg-[url('/backgrounds/tile-bg.svg')] bg-[length:4px_4px] z-50 opacity-5 pointer-events-none select-none } .fade-enter-from { diff --git a/src/components/YrhButton.vue b/src/components/YrhButton.vue index 9b28e15..93cd998 100644 --- a/src/components/YrhButton.vue +++ b/src/components/YrhButton.vue @@ -14,35 +14,6 @@ const { focused: isBtnFocused } = useFocus(btnRef) const emit = defineEmits(['clicked']) -const shouldArrowDisplay = computed( - () => isBtnFocused.value || isBtnHovered.value || props.hasArrow === 'force' -) - -function handleClick(e: MouseEvent) { - clickSfx.play() - emit('clicked') - - if (props.href && isInternalLink) { - router.push(props.href) - } -} - -function handleMouseOver() { - if (!isBtnFocused.value) { - hoverSfx.play() - } -} - -function playHoverSfx() { - hoverSfx.play() -} - -function handleFocusin() { - if (!isBtnHovered.value) { - hoverSfx.play() - } -} - const props = defineProps<{ href?: string target?: string @@ -72,6 +43,35 @@ const elementTag = computed(() => { } return 'button' }) + +const shouldArrowDisplay = computed( + () => isBtnFocused.value || isBtnHovered.value || props.hasArrow === 'force' +) + +function playHoverSfx() { + hoverSfx.play() +} + +function handleClick(e: MouseEvent) { + clickSfx.play() + emit('clicked') + + if (props.href && isInternalLink) { + router.push(props.href) + } +} + +function handleMouseOver() { + if (!isBtnFocused.value) { + playHoverSfx() + } +} + +function handleFocusin() { + if (!isBtnHovered.value) { + playHoverSfx() + } +}