diff --git a/src/assets/ducks/stockEnteMain.jpg b/src/assets/ducks/stockEnteMain.jpg new file mode 100644 index 0000000..362a97e Binary files /dev/null and b/src/assets/ducks/stockEnteMain.jpg differ diff --git a/src/components/sections/IntroductionSection.vue b/src/components/sections/IntroductionSection.vue index df62d60..014557f 100644 --- a/src/components/sections/IntroductionSection.vue +++ b/src/components/sections/IntroductionSection.vue @@ -21,11 +21,16 @@ const texteSub = "Here you’ll find creative projects and ideas that inspire me function createTween() { animation?.kill(); - - //use the defaults -// gsap.to(".textblock__header", {duration: 1, scrambleText: "THIS IS NEW TEXT"}); - animation = gsap.timeline(); + animation = gsap.timeline({ + scrollTrigger: { + trigger : ".poster", + pin: true, + markers: true, + start : "top top", + end : "+=500" + } + }) animation.to(".textblock__header", { duration: 1, diff --git a/src/components/sections/TextSection.vue b/src/components/sections/TextSection.vue index 6e55e6f..7240bab 100644 --- a/src/components/sections/TextSection.vue +++ b/src/components/sections/TextSection.vue @@ -69,20 +69,20 @@ window.addEventListener("resize", createTimeline);
-

Do you want to see where I used to study?

+

Enten?

- - + +
-

Spotify recommendation project

+

Enten?

- - + +
diff --git a/src/router/index.ts b/src/router/index.ts index 33d2a78..8ec8d40 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,13 +1,17 @@ import { createRouter, createWebHistory, type RouteRecordRaw } from 'vue-router' import HomeView from '../views/HomeView.vue' -import ExperienceView from '../views/ExperienceView.vue' +import DucksInfo from '../views/InfoDucks.vue' +import BooksShow from '../views/BooksShow.vue' const routes: RouteRecordRaw[] = [ { path: '/', component: HomeView }, - { path: '/recommSpotify', - component: ExperienceView, - props: { modelUrl: '/models/door_room_firstVersion_materials-draco.glb', dracoPath: '/draco/' } } + {path: '/ducks', component: DucksInfo}, + {path: '/books', component: BooksShow} + + // { path: '/ducks', + // component: DucksInfo, + // props: { modelUrl: '/models/door_room_firstVersion_materials-draco.glb', dracoPath: '/draco/' } } ] const router = createRouter({ diff --git a/src/views/BooksShow.vue b/src/views/BooksShow.vue new file mode 100644 index 0000000..60d053e --- /dev/null +++ b/src/views/BooksShow.vue @@ -0,0 +1,184 @@ + + + + + \ No newline at end of file diff --git a/src/views/InfoDucks.vue b/src/views/InfoDucks.vue new file mode 100644 index 0000000..0e169cd --- /dev/null +++ b/src/views/InfoDucks.vue @@ -0,0 +1,184 @@ + + + + + \ No newline at end of file