Skip to content

Commit 70acd01

Browse files
authored
Update sponsors (#2410)
* [Doc]: Add Vue School Black Friday 21 banners #2395 * cherry-pick vuejs/v2.vuejs.org@b73ab9c * [Doc]: Update Vue School banner for Cyber Monday #2397 * cherry-pick vuejs/v2.vuejs.org@cac1ed9 * [Doc]: Remove Vue School's Black Friday banner #2400 * cherry-pick vuejs/v2.vuejs.org@d6ec9a8 * [Doc]: Add Vue Mastery winter free weekend promotion #2401 * cherry-pick vuejs/v2.vuejs.org@91128b4 * [Doc]: Update Vue mastery banner url #2402 * cherry-pick vuejs/v2.vuejs.org@a23bdb5 * [Doc]: Update Vue mastery banner url #2407 * cherry-pick vuejs/v2.vuejs.org@074c0e6 * [Doc]: chore: update sponsors #2408 * cherry-pick vuejs/v2.vuejs.org@dde03f3 * [Doc]: Remove VueMastery promotion banner #2409 * cherry-pick vuejs/v2.vuejs.org@2a5a7f2
1 parent 5025df8 commit 70acd01

9 files changed

+264
-200
lines changed

themes/vue/_config.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ platinum_sponsors_china:
1717
https://www.authing.cn/welcome?utm_source=Vuejs&utm_medium=CPT&utm_campaign=EN&utm_term=page-EN
1818
img: authing.svg
1919
- name: qingfuwu
20-
url: https://qingfuwu.cn?utm_campaign=TR_eSJH7nqW&utm_content=&utm_medium=Web&utm_source=CH_53OxwryD&utm_term=
20+
url: >-
21+
https://qingfuwu.cn?utm_campaign=TR_eSJH7nqW&utm_content=&utm_medium=Web&utm_source=CH_53OxwryD&utm_term=
2122
img: qingfuwu-v2.svg
2223
platinum_sponsors:
2324
- url: >-
@@ -170,8 +171,8 @@ gold_sponsors:
170171
https://flowdash.com/?utm_source=vue&utm_medium=sponsor&utm_campaign=open-source
171172
img: flowdash.png
172173
name: Flowdash
173-
- url: 'https://www.fenetre.nl/english/'
174-
img: fen_tre_online_solutions.png
174+
- url: 'https://www.fenetre.nl/'
175+
img: fen_tre_online_solutions.svg
175176
name: Fenêtre Online Solutions
176177
- url: 'https://finclip.com/?from=vue'
177178
img: finclip.png

themes/vue/layout/layout.ejs

-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<% var isIndex = page.path === 'index.html' %>
22
<% var isThemes = page.path === 'resources/themes.html' %>
3-
<% var hasVueSchoolBanner = false %>
43

54
<!DOCTYPE html>
65
<html lang="ja" class="with-v3-banner">
@@ -91,11 +90,6 @@
9190
<script type="text/javascript" defer="defer" src="https://extend.vimeocdn.com/ga/72160148.js"></script>
9291
</head>
9392
<body class="<%- isIndex ? '' : 'docs' -%>">
94-
95-
<% if (hasVueSchoolBanner) { %>
96-
<%- partial('partials/vueschool_banner') %>
97-
<% } %>
98-
9993
<div id="mobile-bar" <%- isIndex ? 'class="top"' : '' %>>
10094
<a class="menu-button"></a>
10195
<a class="logo" href="/"></a>

themes/vue/layout/partials/vueschool_banner.ejs

-22
This file was deleted.

themes/vue/source/css/_vueschool.styl

-151
This file was deleted.

themes/vue/source/images/banners/extended.svg

+6
Loading
Loading

themes/vue/source/images/banners/vueschool_blackfriday_background_tablet_2.svg

+200
Loading
Loading

themes/vue/source/js/common.js

-18
Original file line numberDiff line numberDiff line change
@@ -281,24 +281,6 @@
281281
})
282282
}
283283

284-
/**
285-
* Banner closing
286-
*/
287-
function initVueSchoolBanner () {
288-
const banner = document.getElementById('vs')
289-
if (banner && !localStorage.getItem('VS_SUMMER_BANNER_CLOSED')) {
290-
banner.classList.remove('vs-hidden')
291-
document.body.classList.add('has-vs-banner')
292-
document.getElementById('vs-close').addEventListener('click', function (e) {
293-
e.preventDefault()
294-
e.stopPropagation()
295-
document.getElementById('vs').remove()
296-
document.body.classList.remove('has-vs-banner')
297-
localStorage.setItem('VS_SUMMER_BANNER_CLOSED', 1)
298-
})
299-
}
300-
}
301-
302284
/**
303285
* Modal Video Player
304286
*/

0 commit comments

Comments
 (0)