Skip to content

Commit e20ea70

Browse files
committed
Updated manifest to Codefest2020
- Cleaned unused assets - Fixed lookback warning
1 parent 59ba49a commit e20ea70

File tree

7 files changed

+19
-42
lines changed

7 files changed

+19
-42
lines changed

src/assets/Testimonial/akshay.jpeg

-386 KB
Loading
-51.3 KB
Binary file not shown.

src/assets/events/hackathon.png

-90.2 KB
Binary file not shown.

src/assets/events/ideathon.png

-100 KB
Binary file not shown.

src/assets/manifest.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"manifest_version": 1,
33
"version": "0.0.1",
4-
"name": "CodeFest 2019",
4+
"name": "CodeFest 2020",
55
"short_name": "CF",
6-
"description": "Computer Science department fest organised at IIT(BHU), India.",
6+
"description": "Computer Science department fest organised at IIT (BHU), India.",
77
"background_color": "#222222",
88
"orientation": "portrait",
9-
"theme_color": "#86FF00",
9+
"theme_color": "#E47718",
1010
"display": "standalone",
1111
"start_url": "/",
1212
"icons": [
@@ -44,7 +44,8 @@
4444
"src": "/assets/favicons/favicon167.png",
4545
"type": "image/png",
4646
"sizes": "167x167"
47-
},{
47+
},
48+
{
4849
"src": "/assets/favicons/favicon192.png",
4950
"type": "image/png",
5051
"sizes": "192x192"

src/components/Lookback.vue

+11-37
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
<template>
22
<div :class="[$style.lookback, $style[$mq]]">
33
<GridLayout :itemWidth="computedWidth">
4-
<div :class="$style.stat" v-for="(stat, i) in this.stats" :key="i" :slot="`item${i}`">
4+
<div
5+
:class="$style.stat"
6+
v-for="(stat, i) in this.stats"
7+
:key="i"
8+
:slot="`item${i}`"
9+
>
510
<div :class="$style.clip">
6-
<img :src="stat.image" :class="$style.img">
11+
<img :src="stat.image" :class="$style.img" />
712
</div>
813
<div :class="$style.name">{{ stat.name }}</div>
914
<div :class="$style.value">{{ stat.value }}</div>
@@ -17,49 +22,18 @@ import GridLayout from "./layouts/GridLayout";
1722
export default {
1823
props: {
1924
stats: {
20-
type: Array
21-
}
25+
type: Array,
26+
},
2227
},
2328
components: {
24-
GridLayout
29+
GridLayout,
2530
},
2631
computed: {
2732
computedWidth() {
2833
if (this.$mq == "lg") return "160px";
2934
return "220px";
30-
}
35+
},
3136
},
32-
data() {
33-
return {
34-
stats: [
35-
{
36-
name: "Prize Money",
37-
value: "650,000",
38-
image: "assets/Lookback/lb_prize.svg"
39-
},
40-
{
41-
name: "Countries",
42-
value: "104",
43-
image: "assets/Lookback/lb_countries.svg"
44-
},
45-
{
46-
name: "Participants",
47-
value: "29,800",
48-
image: "assets/Lookback/lb_participant.svg"
49-
},
50-
{
51-
name: "Unique Visitors",
52-
value: "664,300",
53-
image: "assets/Lookback/lb_visitor.svg"
54-
},
55-
{
56-
name: "Registrations",
57-
value: "23,000",
58-
image: "assets/Lookback/lb_registration.svg"
59-
}
60-
]
61-
};
62-
}
6337
};
6438
</script>
6539

src/index.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ import GAnalytics from "ganalytics";
33
import vueMq from "vue-mq";
44
import VueYoutube from "vue-youtube";
55
import scrollSpy, { Easing } from "vue2-scrollspy";
6-
import firebase from "firebase";
6+
import firebase from "firebase/app";
7+
import "firebase/auth";
8+
import "firebase/analytics";
79
import Toasted from "vue-toasted";
810
import { VueReCaptcha } from "vue-recaptcha-v3";
911
import { VueSpinners } from "@saeris/vue-spinners";

0 commit comments

Comments
 (0)