diff --git a/website/static/img/front-page/giving_tuesday_week01.png b/website/static/img/front-page/giving_tuesday_week01.png deleted file mode 100755 index f8095b878ce..00000000000 Binary files a/website/static/img/front-page/giving_tuesday_week01.png and /dev/null differ diff --git a/website/static/img/front-page/giving_tuesday_week01_mobile.png b/website/static/img/front-page/giving_tuesday_week01_mobile.png deleted file mode 100755 index f6508ba22d3..00000000000 Binary files a/website/static/img/front-page/giving_tuesday_week01_mobile.png and /dev/null differ diff --git a/website/static/img/front-page/giving_tuesday_week02.png b/website/static/img/front-page/giving_tuesday_week02.png deleted file mode 100755 index bb6fa46db11..00000000000 Binary files a/website/static/img/front-page/giving_tuesday_week02.png and /dev/null differ diff --git a/website/static/img/front-page/giving_tuesday_week02_mobile.png b/website/static/img/front-page/giving_tuesday_week02_mobile.png deleted file mode 100755 index 4f36805d9e6..00000000000 Binary files a/website/static/img/front-page/giving_tuesday_week02_mobile.png and /dev/null differ diff --git a/website/static/img/front-page/week04_dec2017.svg b/website/static/img/front-page/week04_dec2017.svg new file mode 100755 index 00000000000..58274bacacb --- /dev/null +++ b/website/static/img/front-page/week04_dec2017.svg @@ -0,0 +1 @@ +week04_dec2017 \ No newline at end of file diff --git a/website/static/img/front-page/week04_dec2017_mobile.svg b/website/static/img/front-page/week04_dec2017_mobile.svg new file mode 100755 index 00000000000..8771fa02ec6 --- /dev/null +++ b/website/static/img/front-page/week04_dec2017_mobile.svg @@ -0,0 +1 @@ +week04_dec2017_mobile \ No newline at end of file diff --git a/website/static/img/front-page/week05_dec2017.svg b/website/static/img/front-page/week05_dec2017.svg new file mode 100755 index 00000000000..4016be8d941 --- /dev/null +++ b/website/static/img/front-page/week05_dec2017.svg @@ -0,0 +1 @@ +week05_dec2017 \ No newline at end of file diff --git a/website/static/img/front-page/week05_dec2017_mobile.svg b/website/static/img/front-page/week05_dec2017_mobile.svg new file mode 100755 index 00000000000..3d4c14bca92 --- /dev/null +++ b/website/static/img/front-page/week05_dec2017_mobile.svg @@ -0,0 +1 @@ +week05_dec2017_mobile \ No newline at end of file diff --git a/website/static/img/front-page/week06_dec2017.svg b/website/static/img/front-page/week06_dec2017.svg new file mode 100755 index 00000000000..bdd04dcab06 --- /dev/null +++ b/website/static/img/front-page/week06_dec2017.svg @@ -0,0 +1 @@ +week06_dec2017 \ No newline at end of file diff --git a/website/static/img/front-page/week06_dec2017_mobile.svg b/website/static/img/front-page/week06_dec2017_mobile.svg new file mode 100755 index 00000000000..e567d0a58d9 --- /dev/null +++ b/website/static/img/front-page/week06_dec2017_mobile.svg @@ -0,0 +1 @@ +week06_dec2017_mobile \ No newline at end of file diff --git a/website/static/img/front-page/week07_dec2017.svg b/website/static/img/front-page/week07_dec2017.svg new file mode 100755 index 00000000000..d2d6f674fc4 --- /dev/null +++ b/website/static/img/front-page/week07_dec2017.svg @@ -0,0 +1 @@ +week07_dec2017 \ No newline at end of file diff --git a/website/static/img/front-page/week07_dec2017_mobile.svg b/website/static/img/front-page/week07_dec2017_mobile.svg new file mode 100755 index 00000000000..017d67ac9c6 --- /dev/null +++ b/website/static/img/front-page/week07_dec2017_mobile.svg @@ -0,0 +1 @@ +week07_dec2017_mobile \ No newline at end of file diff --git a/website/static/js/home-page/donateBannerPlugin.js b/website/static/js/home-page/donateBannerPlugin.js index 20ad0aa4b84..c240e79f1e2 100644 --- a/website/static/js/home-page/donateBannerPlugin.js +++ b/website/static/js/home-page/donateBannerPlugin.js @@ -9,44 +9,76 @@ var currentDate = new Date(); var bannerOptions = [ { - startDate: new Date(2017, 10, 19), - endDate: new Date(2017, 10, 28), + startDate: new Date(2017, 10, 29), + endDate: new Date(2017, 11, 6), imageLg: { - src:'/static/img/front-page/giving_tuesday_week01.png', - alt:'Things to look forward to: Thanksgiving Thursday, Black Friday, Cyber Monday, AND Giving Tuesday on ' + - 'Tuesday, November 28th. Please make a gift to support the OSF tools you use and love.' + src:'/static/img/front-page/week03_dec2017.svg', + alt:'The Center for Open Science created the OSF and a suite of free products to advance the work of the ' + + 'research community. If you value these tools, please make a gift to support COS’s efforts to improve and ' + + 'scale these services. DONATE NOW! Image © Nestlé' }, imageSm: { - src:'/static/img/front-page/giving_tuesday_week01_mobile.png', - alt:'Giving Tuesday is coming on Tuesday, November 28th. Please make a gift to support the OSF tools you ' + - 'use and love.' + src:'/static/img/front-page/week03_dec2017_mobile.svg', + alt:'Support COS’s efforts to improve free products and advance the work of the research community. ' + + 'Image © Nestlé' }, }, { - startDate: new Date(2017, 10, 28), - endDate: new Date(2017, 10, 29), + startDate: new Date(2017, 11, 6), + endDate: new Date(2017, 11, 13), imageLg: { - src:'/static/img/front-page/giving_tuesday_week02.png', - alt:'Happy Giving Tuesday! Please make a gift to support the OSF tools you use and love.' + src:'/static/img/front-page/week04_dec2017.svg', + alt:'Thousands of researchers use the OSF and its related services daily. If you value the OSF, make a ' + + 'donation to support the Center for Open Science and its ongoing efforts to improve and advance these ' + + 'public goods. Image © Pressmaster/Shutterstock' }, imageSm: { - src:'/static/img/front-page/giving_tuesday_week02_mobile.png', - alt:'Happy Giving Tuesday! Please make a gift to support the OSF tools you use and love.' + src:'/static/img/front-page/week04_dec2017_mobile.svg', + alt:'Thousands of researchers use the OSF and its related services. Make a donation to support these ' + + 'ongoing efforts. Image © Pressmaster/Shutterstock' }, }, { - startDate: new Date(2017, 10, 29), - endDate: new Date(2017, 11, 6), - license: '© Nestlé', + startDate: new Date(2017, 11, 13), + endDate: new Date(2017, 11, 20), imageLg: { - src:'/static/img/front-page/week03_dec2017.svg', - alt:'The Center for Open Science created the OSF and a suite of free products to advance the work of the ' + - 'research community. If you value these tools, please make a gift to support COS’s efforts to improve and ' + - 'scale these services. DONATE NOW!' + src:'/static/img/front-page/week05_dec2017.svg', + alt:'The Center for Open Science created the OSF and its related services as public goods. While these ' + + 'services will always be free to use, they are not free to build, maintain, and improve. Please support the' + + ' OSF and COS with a donation today. Image © joker1991/Shutterstock' }, imageSm: { - src:'/static/img/front-page/week03_dec2017_mobile.svg', - alt:'Support COS’s efforts to improve free products and advance the work of the research community.' + src:'/static/img/front-page/week05_dec2017_mobile.svg', + alt:'The OSF will always be free to use, but it is not free to build, maintain, and improve. Give a gift' + + ' today. Image © joker1991/Shutterstock' }, - }, + }, { + startDate: new Date(2017, 11, 20), + endDate: new Date(2017, 11, 27), + imageLg: { + src:'/static/img/front-page/week06_dec2017.svg', + alt: 'The Center for Open Science launched the OSF with the goal of creating a service to support the ' + + 'entire research cycle and remove barriers to accessing data. Support COS’s efforts to advance the work of' + + ' researchers with a gift today! Image © angellodeco/Shutterstock' + }, + imageSm: { + src:'/static/img/front-page/week06_dec2017_mobile.svg', + alt:'Support COS’s mission to create a service to support the entire research cycle. Image © ' + + 'angellodeco/Shutterstock' + }, + }, { + startDate: new Date(2017, 11, 27), + endDate: new Date(2018, 0, 4), + imageLg: { + src: '/static/img/front-page/week07_dec2017.svg', + alt: 'At the Center for Open Science, we envision a future in which ideas, processes, and outcomes of ' + + 'research are free and open. COS relies on contributions to build the free products you use and love. Help' + + ' make our vision a reality with a gift today. Image © Smithsonian Institution Archives' + }, + imageSm: { + src: '/static/img/front-page/week07_dec2017_mobile.svg', + alt: 'Make a contribution to COS to build the free products you use and love. Image © Smithsonian ' + + 'Institution Archives' + }, + } ]; function pickBanner(bannerOptions, date) {