Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full page scroll #50

Open
wants to merge 1 commit into
base: release
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"masonry-layout": "^4.2.2",
"vue": "^2.5.17",
"vue-carousel": "^0.18.0",
"vue-fullpage.js": "^0.1.5",
"vue-masonry": "^0.11.8",
"vue-router": "^3.0.1",
"vuex": "^3.0.1"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Gallery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default {
image: competitions,
title: "Competitions",
description:
"Online competetions on ML, data science, programming, and CTFs are a great way for enthusiasts to show off some skills or learn something new in a competetive environment."
"Online competitions on ML, data science, programming, and CTFs are a great way for enthusiasts to show off some skills or learn something new in a competitive environment."
}
],
queue: 1,
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/SisterGroups.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Sister groups are different smaller groups within the umbrella of
Software Development Section, along with SDSLabs. The members of
these groups focus on specific areas of technological innovation
like data science, competetive programming, and information
like data science, competitive programming, and information
security.
</div>
<div
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/about/GalleryMobile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default {
image: competitions,
title: "Competitions",
description:
"Online competetions on ML, data science, programming, and CTFs are a great way for enthusiasts to show off some skills or learn something new in a competetive environment."
"Online competitions on ML, data science, programming, and CTFs are a great way for enthusiasts to show off some skills or learn something new in a competitive environment."
}
]
};
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/about/SisterGallery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default {
image: pag,
title: "PROGRAMMING & ALGORITHMS GROUP",
description:
"A bunch of competetive programming enthusiasts, PAG, frequently organizes coding lectures and contests for IITR people."
"A bunch of competitive programming enthusiasts, PAG, frequently organizes coding lectures and contests for IITR people."
},
{
image: infosec,
Expand Down
24 changes: 24 additions & 0 deletions frontend/src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,34 @@ import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import VueFullPage from "vue-fullpage.js";

import "@/assets/css/tailwind.css";

Vue.config.productionTip = false;
Vue.use(VueFullPage);

new Vue({
el: "#fullpage-home",
name: "app",
data: function(){
return {
options: {
afterLoad: this.afterLoad,
navigation: true,
scrollBar: false,
controlArrows: true,
anchors: ['page1', 'page2', 'page3'],
},
}
},
methods: {
afterLoad: function(origin, destination, direction){
console.log("After load....");
console.log(destination);
}
}
});

new Vue({
router,
Expand Down
24 changes: 13 additions & 11 deletions frontend/src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,19 @@
class="px-16 sm:px-88 pb-28 sm:pb-0 flex flex-col justify-center items-center"
id="projects"
>
<Project
class="fullpage section"
v-for="(project, permalink, index) in projects"
v-bind:key="index"
v-bind:title="project.title"
v-bind:desc="project.description"
v-bind:url="project.url"
v-bind:image_url="project.image"
v-bind:permalink="project.permalink"
v-bind:color="project.color"
/>
<full-page ref="fullpage" :options="options" id="fullpage-home">
<Project
class="fullpage section"
v-for="(project, permalink, index) in projects"
v-bind:key="index"
v-bind:title="project.title"
v-bind:desc="project.description"
v-bind:url="project.url"
v-bind:image_url="project.image"
v-bind:permalink="project.permalink"
v-bind:color="project.color"
/>
</full-page>
</div>
</div>
</template>
Expand Down