Skip to content

Commit 558909f

Browse files
committed
feat: update banner image for covid19ai event
1 parent 3ade81c commit 558909f

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

assets/image/covid19ai.png

166 KB
Loading

components/Survey.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div v-if="shouldShowSurvey" class="w-full">
33
<a :href="link" target="_blank" rel="noopener">
44
<img :src="mobileImage" class="block lg:hidden" alt="Survey" />
5-
<img :src="desktopImage" class="hidden lg:block" alt="Survey" />
5+
<img :src="desktopImage" class="hidden lg:block mx-auto" alt="Survey" />
66
</a>
77
</div>
88
</template>

pages/index.vue

+5-6
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ import StatsOverview from "~/components/StatsOverview"
9090
import Survey from "~/components/Survey"
9191
import TopStats from "~/components/TopStats"
9292
import TrendingNews from "~/components/TrendingNews"
93-
import surveyImageDesktop from "~/assets/image/survey_desktop.png"
94-
import surveyImageMobile from "~/assets/image/survey_mobile.png"
93+
import covid19AiImage from "~/assets/image/covid19ai.png"
9594
9695
export default {
9796
components: {
@@ -112,10 +111,10 @@ export default {
112111
countryStats: [],
113112
country: {},
114113
surveyConfig: {
115-
desktopImage: surveyImageDesktop,
116-
mobileImage: surveyImageMobile,
117-
link: "https://tinyurl.com/CoronaTrackerSurvey",
118-
expiresOn: "2020-04-01"
114+
desktopImage: covid19AiImage,
115+
mobileImage: covid19AiImage,
116+
link: "https://www.facebook.com/events/641115143102661/",
117+
expiresOn: "2020-04-29"
119118
},
120119
sortField: "confirmed",
121120
sortInDescendingOrder: true

0 commit comments

Comments
 (0)