diff --git a/resources/layouts/404.vue b/resources/layouts/404.vue index 8ad385b..54ab7b4 100644 --- a/resources/layouts/404.vue +++ b/resources/layouts/404.vue @@ -7,7 +7,6 @@ const searchQuery = ref('') const handleSearch = (e) => { e.preventDefault() - // Implement search functionality here console.log('Searching for:', searchQuery.value) } @@ -17,19 +16,12 @@ const goBack = () => { @@ -113,8 +164,24 @@ const goBack = () => { } } +@keyframes starFloat { + 0% { + transform: translateX(0); + } + 50% { + transform: translateX(10px); + } + 100% { + transform: translateX(0); + } +} + .bounce { animation-name: bounce; transform-origin: center bottom; } + +.stars { + animation: starFloat 3s ease-in-out infinite; +} diff --git a/storage/framework/defaults/layouts/404.vue b/storage/framework/defaults/layouts/404.vue index 8ad385b..54ab7b4 100644 --- a/storage/framework/defaults/layouts/404.vue +++ b/storage/framework/defaults/layouts/404.vue @@ -7,7 +7,6 @@ const searchQuery = ref('') const handleSearch = (e) => { e.preventDefault() - // Implement search functionality here console.log('Searching for:', searchQuery.value) } @@ -17,19 +16,12 @@ const goBack = () => { @@ -113,8 +164,24 @@ const goBack = () => { } } +@keyframes starFloat { + 0% { + transform: translateX(0); + } + 50% { + transform: translateX(10px); + } + 100% { + transform: translateX(0); + } +} + .bounce { animation-name: bounce; transform-origin: center bottom; } + +.stars { + animation: starFloat 3s ease-in-out infinite; +}