diff --git a/src/assets/bildschau/style.sass b/src/assets/bildschau/style.sass new file mode 100755 index 0000000..75740c9 --- /dev/null +++ b/src/assets/bildschau/style.sass @@ -0,0 +1,46 @@ +.flex-card-wrapper + width: 90rem + max-width: 150rem + height: 40rem + max-height: 50rem + display: flex + flex-direction: row + justify-content: center + align-items: stretch + transition: 200ms all ease-in-out + .flex-card-container + padding: 0 0 0 0 + height: 100% + + border-radius: 20px + cursor: pointer + overflow: hidden + position: relative + background-position: center center + background-size: cover + background-repeat: no-repeat + margin: 0 0 0 0 + display: none + transition: 200ms all ease-in-out + + + &:last-child + margin: 0 0 0 0 + &.active + width: 80% + overflow: auto + margin-left: 1% + margin-right: 1% + display: block + background-size: contain + + + &.unactive + width: 5% + display: block + +.main + flex-direction: column + display: flex + justify-content: center + align-items: center diff --git a/src/router/index.ts b/src/router/index.ts index f3fd67a..6c15691 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -6,6 +6,7 @@ const routes = [ { path: '/', component: () => import('../views/Main.vue') }, { path: '/galerie', component: Galerie }, { path: '/bild/:ev/:jahr', component: () => import('../views/Bildvorschau.vue') }, + { path: '/bild/:ev/:jahr/:bild', component: () => import('../views/Bildschau.vue') }, ] export default createRouter({ diff --git a/src/views/Bildschau.vue b/src/views/Bildschau.vue new file mode 100644 index 0000000..00d6cf7 --- /dev/null +++ b/src/views/Bildschau.vue @@ -0,0 +1,218 @@ + + +