From 4cf57ef4dfe7736bc19ff41c8201384ef73e02d7 Mon Sep 17 00:00:00 2001 From: ethanfox Date: Tue, 23 Jul 2024 10:19:21 -0500 Subject: [PATCH] Exhibition Bar Created UI for exhibitions Added function to get only current exhibitions Refined transition effects for search overlay --- package-lock.json | 12 ++- package.json | 3 +- src/assets/style.css | 8 ++ src/components/ExhibitionBar.vue | 68 ++++++++++++++++ src/components/Navigation.vue | 2 +- src/components/SearchOverlay.vue | 135 ++++++++++++++++++++++++++++--- 6 files changed, 212 insertions(+), 16 deletions(-) create mode 100644 src/components/ExhibitionBar.vue diff --git a/package-lock.json b/package-lock.json index ee863b8..3a2dbb4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,8 @@ "axios": "^1.7.2", "pinia": "^2.1.7", "vue": "^3.4.32", - "vue-router": "^4.4.0" + "vue-router": "^4.4.0", + "vue3-carousel": "^0.3.3" }, "devDependencies": { "@rushstack/eslint-patch": "^1.10.3", @@ -6509,6 +6510,15 @@ "node": ">=10" } }, + "node_modules/vue3-carousel": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/vue3-carousel/-/vue3-carousel-0.3.3.tgz", + "integrity": "sha512-VsuOBE4LG9lxAiYGR9U7ps4RyJ4oFQGzk79/49ybvoxzNpahPAVWIDHKK3a1lOv0CSplFq6u4FvaFLZ8x3FgWg==", + "license": "MIT", + "peerDependencies": { + "vue": "^3.2.0" + } + }, "node_modules/w3c-xmlserializer": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-5.0.0.tgz", diff --git a/package.json b/package.json index 40ac121..8ef1e1e 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "axios": "^1.7.2", "pinia": "^2.1.7", "vue": "^3.4.32", - "vue-router": "^4.4.0" + "vue-router": "^4.4.0", + "vue3-carousel": "^0.3.3" }, "devDependencies": { "@rushstack/eslint-patch": "^1.10.3", diff --git a/src/assets/style.css b/src/assets/style.css index b5c61c9..a276779 100644 --- a/src/assets/style.css +++ b/src/assets/style.css @@ -1,3 +1,11 @@ @tailwind base; @tailwind components; @tailwind utilities; + +.glass-shadow { + /* Your existing box-shadow styles */ + box-shadow: + 0 1px 3px rgba(18, 18, 18, 0.2), + inset 0 1px 0.5px rgba(255, 255, 255, 0.06), + inset 0 -1px 0 rgba(18, 18, 18, 0.08); +} diff --git a/src/components/ExhibitionBar.vue b/src/components/ExhibitionBar.vue new file mode 100644 index 0000000..74f15a2 --- /dev/null +++ b/src/components/ExhibitionBar.vue @@ -0,0 +1,68 @@ + + diff --git a/src/components/Navigation.vue b/src/components/Navigation.vue index d5c97f3..e1f62f2 100644 --- a/src/components/Navigation.vue +++ b/src/components/Navigation.vue @@ -3,7 +3,7 @@