diff --git a/app/assets/images/contact/bottom-screen/background.png b/app/assets/images/contact/bottom-screen/background.png index 0845d48..be60a83 100644 Binary files a/app/assets/images/contact/bottom-screen/background.png and b/app/assets/images/contact/bottom-screen/background.png differ diff --git a/app/assets/images/contact/bottom-screen/bottom-bar.png b/app/assets/images/contact/bottom-screen/bottom-bar.png new file mode 100644 index 0000000..ca1bfd5 Binary files /dev/null and b/app/assets/images/contact/bottom-screen/bottom-bar.png differ diff --git a/app/assets/images/contact/bottom-screen/buttons.png b/app/assets/images/contact/bottom-screen/buttons.png new file mode 100644 index 0000000..817a670 Binary files /dev/null and b/app/assets/images/contact/bottom-screen/buttons.png differ diff --git a/app/assets/images/contact/bottom-screen/top-bar.png b/app/assets/images/contact/bottom-screen/top-bar.png new file mode 100644 index 0000000..b9c29c1 Binary files /dev/null and b/app/assets/images/contact/bottom-screen/top-bar.png differ diff --git a/app/assets/images/contact/top-screen/background.png b/app/assets/images/contact/top-screen/background.png index 76aeda1..ed8dc11 100644 Binary files a/app/assets/images/contact/top-screen/background.png and b/app/assets/images/contact/top-screen/background.png differ diff --git a/app/assets/images/contact/top-screen/left-bar-things.png b/app/assets/images/contact/top-screen/left-bar-things.png new file mode 100644 index 0000000..fd65f17 Binary files /dev/null and b/app/assets/images/contact/top-screen/left-bar-things.png differ diff --git a/app/assets/images/contact/top-screen/left-bar.png b/app/assets/images/contact/top-screen/left-bar.png new file mode 100644 index 0000000..3736b34 Binary files /dev/null and b/app/assets/images/contact/top-screen/left-bar.png differ diff --git a/app/assets/images/contact/top-screen/title.png b/app/assets/images/contact/top-screen/title.png new file mode 100644 index 0000000..d211daa Binary files /dev/null and b/app/assets/images/contact/top-screen/title.png differ diff --git a/app/components/Common/ButtonSelector.vue b/app/components/Common/ButtonSelector.vue index a94f522..597d76d 100644 --- a/app/components/Common/ButtonSelector.vue +++ b/app/components/Common/ButtonSelector.vue @@ -5,15 +5,17 @@ const props = withDefaults( y: number; width: number; height: number; - animationSpeed?: number; + opacity?: number; }>(), { - animationSpeed: 0.25, + opacity: 1, }, ); const cornerImage = useTemplateRef("cornerImage"); +const ANIMATION_SPEED = 0.25; + let currentX = props.x; let currentY = props.y; let currentWidth = props.width; @@ -38,10 +40,10 @@ useRender((ctx) => { currentWidth = props.width; currentHeight = props.height; } else { - currentX += dx * props.animationSpeed; - currentY += dy * props.animationSpeed; - currentWidth += dw * props.animationSpeed; - currentHeight += dh * props.animationSpeed; + currentX += dx * ANIMATION_SPEED; + currentY += dy * ANIMATION_SPEED; + currentWidth += dw * ANIMATION_SPEED; + currentHeight += dh * ANIMATION_SPEED; } const x = Math.floor(currentX); @@ -49,6 +51,8 @@ useRender((ctx) => { const w = Math.floor(currentWidth); const h = Math.floor(currentHeight); + ctx.globalAlpha = props.opacity; + ctx.drawImage(cornerImage.value, x, y); ctx.save(); diff --git a/app/components/Contact/BottomScreen/Background.vue b/app/components/Contact/BottomScreen/Background.vue index cdd3352..e6266c5 100644 --- a/app/components/Contact/BottomScreen/Background.vue +++ b/app/components/Contact/BottomScreen/Background.vue @@ -1,16 +1,31 @@