diff --git a/browser/ui/webui/brave_webui_source.cc b/browser/ui/webui/brave_webui_source.cc index 22032ecb3621..3900bb856e69 100644 --- a/browser/ui/webui/brave_webui_source.cc +++ b/browser/ui/webui/brave_webui_source.cc @@ -64,22 +64,6 @@ void CustomizeWebUIHTMLSource(const std::string &name, { "6c337c63662ee0ba4e57f6f8156d69ce.svg", IDR_BRAVE_NEW_TAB_IMG2 }, // New tab Backgrounds #if !defined(OS_ANDROID) - { "ntp-1.webp", IDR_BRAVE_NEW_TAB_BACKGROUND1 }, - { "ntp-2.webp", IDR_BRAVE_NEW_TAB_BACKGROUND2 }, - { "ntp-3.webp", IDR_BRAVE_NEW_TAB_BACKGROUND3 }, - { "ntp-4.webp", IDR_BRAVE_NEW_TAB_BACKGROUND4 }, - { "ntp-5.webp", IDR_BRAVE_NEW_TAB_BACKGROUND5 }, - { "ntp-6.webp", IDR_BRAVE_NEW_TAB_BACKGROUND6 }, - { "ntp-7.webp", IDR_BRAVE_NEW_TAB_BACKGROUND7 }, - { "ntp-8.webp", IDR_BRAVE_NEW_TAB_BACKGROUND8 }, - { "ntp-9.webp", IDR_BRAVE_NEW_TAB_BACKGROUND9 }, - { "ntp-10.webp", IDR_BRAVE_NEW_TAB_BACKGROUND10 }, - { "ntp-11.webp", IDR_BRAVE_NEW_TAB_BACKGROUND11 }, - { "ntp-12.webp", IDR_BRAVE_NEW_TAB_BACKGROUND12 }, - { "ntp-13.webp", IDR_BRAVE_NEW_TAB_BACKGROUND13 }, - { "ntp-14.webp", IDR_BRAVE_NEW_TAB_BACKGROUND14 }, - { "ntp-15.webp", IDR_BRAVE_NEW_TAB_BACKGROUND15 }, - { "ntp-16.webp", IDR_BRAVE_NEW_TAB_BACKGROUND16 }, { "ntp-dummy-brandedwallpaper/wallpaper-0.jpg", IDR_BRAVE_NEW_TAB_DUMMY_BRANDED_WALLPAPER_BG_1 }, { "ntp-dummy-brandedwallpaper/wallpaper-1.jpg", @@ -88,7 +72,21 @@ void CustomizeWebUIHTMLSource(const std::string &name, IDR_BRAVE_NEW_TAB_DUMMY_BRANDED_WALLPAPER_BG_3 }, { "ntp-dummy-brandedwallpaper/logo.png", IDR_BRAVE_NEW_TAB_DUMMY_BRANDED_WALLPAPER_LOGO }, -#endif + { "anders-jilden.webp", IDR_BRAVE_NEW_TAB_BACKGROUND1 }, + { "andreas-gucklhorn.webp", IDR_BRAVE_NEW_TAB_BACKGROUND2 }, + { "andy-mai.webp", IDR_BRAVE_NEW_TAB_BACKGROUND3 }, + { "annie-spratt.webp", IDR_BRAVE_NEW_TAB_BACKGROUND4 }, + { "anton-repponen.webp", IDR_BRAVE_NEW_TAB_BACKGROUND5 }, + { "ben-karpinski.webp", IDR_BRAVE_NEW_TAB_BACKGROUND6 }, + { "dc-cavalleri.webp", IDR_BRAVE_NEW_TAB_BACKGROUND7 }, + { "joe-gardner.webp", IDR_BRAVE_NEW_TAB_BACKGROUND8 }, + { "louis-kim.webp", IDR_BRAVE_NEW_TAB_BACKGROUND9 }, + { "matt-palmer.webp", IDR_BRAVE_NEW_TAB_BACKGROUND10 }, + { "oliwier-gesla.webp", IDR_BRAVE_NEW_TAB_BACKGROUND11 }, + { "svalbard-jerol-soibam.webp", IDR_BRAVE_NEW_TAB_BACKGROUND12 }, + { "will-christiansen-glacier-peak.webp", IDR_BRAVE_NEW_TAB_BACKGROUND13 }, + { "will-christiansen-ice.webp", IDR_BRAVE_NEW_TAB_BACKGROUND14 }, + { "xavier-balderas-cejudo.webp", IDR_BRAVE_NEW_TAB_BACKGROUND15 }, // private tab { "c168145d6bf1abf2c0322636366f7dbe.svg", IDR_BRAVE_PRIVATE_TAB_TOR_IMG }, // NOLINT { "dbdc336ccc651b8a7c925b3482d6e65a.svg", IDR_BRAVE_PRIVATE_TAB_IMG } diff --git a/components/brave_new_tab_ui/data/backgrounds.ts b/components/brave_new_tab_ui/data/backgrounds.ts index 66918a8f1cc2..2b717243023c 100644 --- a/components/brave_new_tab_ui/data/backgrounds.ts +++ b/components/brave_new_tab_ui/data/backgrounds.ts @@ -2,133 +2,132 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this file, * You can obtain one at https://mozilla.org/MPL/2.0/. */ +// 'name': '1', +// 'source': 'ntp-1.webp', +// 'author': 'Pok Rie', +// 'link': 'https://www.pexels.com/@pok-rie-33563', +// 'originalUrl': 'https://www.pexels.com/photo/red-white-and-blue-abstract-painting-1045850/', +// 'license': 'https://www.pexels.com/photo-license/' + export const images: NewTab.Image[] = [ { - 'name': '1', - 'source': 'ntp-1.webp', - 'author': 'Pok Rie', - 'link': 'https://www.pexels.com/@pok-rie-33563', - 'originalUrl': 'https://www.pexels.com/photo/red-white-and-blue-abstract-painting-1045850/', - 'license': 'https://www.pexels.com/photo-license/' - }, - { - 'name': '2', - 'source': 'ntp-2.webp', - 'author': 'Jack Millard', - 'link': 'https://unsplash.com/@millarjb', - 'originalUrl': 'https://unsplash.com/photos/zjyP-UYI-ko', - 'license': 'https://unsplash.com/license' + 'name': 'ntp-fall-2019-1', + 'source': 'anders-jilden.webp', + 'author': 'Anders Jildén', + 'link': 'https://unsplash.com/@andersjilden?utm_source=unsplash&utm_medium=referral&utm_content=credit', + 'originalUrl': '', + 'license': '' }, { - 'name': '3', - 'source': 'ntp-3.webp', - 'author': 'Buzz Andersen', - 'link': 'https://unsplash.com/@ldandersen', - 'originalUrl': 'https://unsplash.com/photos/E4944K_4SvI', - 'license': 'https://unsplash.com/license' + 'name': 'ntp-fall-2019-2', + 'source': 'andreas-gucklhorn.webp', + 'author': 'Andreas Gücklhorn', + 'link': 'https://unsplash.com/@draufsicht?utm_source=unsplash&utm_medium=referral&utm_content=credit', + 'originalUrl': '', + 'license': '' }, { - 'name': '4', - 'source': 'ntp-4.webp', - 'author': 'Frank McKenna', - 'link': 'https://unsplash.com/@frankiefoto', - 'originalUrl': 'https://unsplash.com/photos/eXHeq48Z-Q4', - 'license': 'https://unsplash.com/license' + 'name': 'ntp-fall-2019-3', + 'source': 'andy-mai.webp', + 'author': 'Andy Mai', + 'link': 'https://unsplash.com/@veroz?utm_source=unsplash&utm_medium=referral&utm_content=credit', + 'originalUrl': '', + 'license': '' }, { - 'name': '5', - 'source': 'ntp-5.webp', - 'author': 'SpaceX', - 'link': 'https://www.flickr.com/photos/spacex/', - 'originalUrl': 'https://www.flickr.com/photos/spacex/16510243060/', - 'license': 'https://creativecommons.org/licenses/by-nc/2.0/' + 'name': 'ntp-fall-2019-4', + 'source': 'annie-spratt.webp', + 'author': 'Annie Spratt', + 'link': 'https://unsplash.com/@anniespratt?utm_source=unsplash&utm_medium=referral&utm_content=credit', + 'originalUrl': '', + 'license': '' }, { - 'name': '6', - 'source': 'ntp-6.webp', - 'author': 'SpaceX', - 'link': 'https://www.flickr.com/photos/spacex/', - 'originalUrl': 'https://www.flickr.com/photos/spacex/16236321533/', - 'license': 'https://creativecommons.org/licenses/by-nc/2.0/' + 'name': 'ntp-fall-2019-5', + 'source': 'anton-repponen.webp', + 'author': 'Anton Repponen', + 'link': 'https://unsplash.com/@repponen?utm_source=unsplash&utm_medium=referral&utm_content=credit', + 'originalUrl': '', + 'license': '' }, { - 'name': '7', - 'source': 'ntp-7.webp', - 'author': 'SpaceX', - 'link': 'https://www.flickr.com/photos/spacex/', - 'originalUrl': 'https://www.flickr.com/photos/spacex/40126461851/', - 'license': 'https://creativecommons.org/licenses/by-nc/2.0/' + 'name': 'ntp-fall-2019-6', + 'source': 'ben-karpinski.webp', + 'author': 'Ben Karpinski', + 'link': 'https://www.benkarpinski.com/landscapes', + 'originalUrl': '', + 'license': '' }, { - 'name': '8', - 'source': 'ntp-8.webp', - 'author': 'Will Christiansen', - 'link': 'https://www.theskyfolk.com', - 'originalUrl': 'https://www.instagram.com/p/BZRQxf9hRpw/', - 'license': 'used with permission' + 'name': 'ntp-fall-2019-7', + 'source': 'dc-cavalleri.webp', + 'author': 'D.C. Cavalleri', + 'link': 'https://gradivis.com', + 'originalUrl': '', + 'license': '' }, { - 'name': '9', - 'source': 'ntp-9.webp', - 'author': 'Will Christiansen', - 'link': 'https://www.theskyfolk.com', - 'originalUrl': 'https://www.instagram.com/p/BI7w_dFAlR0/', - 'license': 'used with permission' + 'name': 'ntp-fall-2019-8', + 'source': 'joe-gardner.webp', + 'author': 'Joe Gardner', + 'link': 'https://unsplash.com/@josephgardnerphotography?utm_source=unsplash&utm_medium=referral&utm_content=credit', + 'originalUrl': '', + 'license': '' }, { - 'name': '10', - 'source': 'ntp-10.webp', - 'author': 'Will Christiansen', - 'link': 'https://www.theskyfolk.com', - 'originalUrl': 'https://www.instagram.com/p/Bo9ft6LBv6V/', - 'license': 'used with permission' + 'name': 'ntp-fall-2019-9', + 'source': 'louis-kim.webp', + 'author': 'Louis Kim', + 'link': 'http://louiskimphotography.com', + 'originalUrl': '', + 'license': '' }, { - 'name': '11', - 'source': 'ntp-11.webp', - 'author': 'Nout Gons', - 'link': 'https://www.instagram.com/ntgns/', - 'originalUrl': 'https://www.instagram.com/p/BNyaAuFBiSt/', - 'license': 'used with permission' + 'name': 'ntp-fall-2019-10', + 'source': 'matt-palmer.webp', + 'author': 'Matt Palmer', + 'link': 'https://unsplash.com/@mattpalmer?utm_source=unsplash&utm_medium=referral&utm_content=credit', + 'originalUrl': '', + 'license': '' }, { - 'name': '12', - 'source': 'ntp-12.webp', - 'author': 'Artem Bali', - 'link': 'https://www.pexels.com/@belart84', - 'originalUrl': 'https://www.pexels.com/photo/aerial-view-of-seashore-near-large-grey-rocks-853199/', - 'license': 'https://www.pexels.com/photo-license/' + 'name': 'ntp-fall-2019-11', + 'source': 'oliwier-gesla.webp', + 'author': 'Oliwier Gesla', + 'link': 'https://www.instagram.com/oliwiergesla/', + 'originalUrl': '', + 'license': '' }, { - 'name': '13', - 'source': 'ntp-13.webp', - 'author': 'Hristo Fidanov', - 'link': 'https://www.pexels.com/@hristo-fidanov-520662', - 'originalUrl': 'https://www.pexels.com/photo/scenic-view-of-forest-during-night-time-1252869/', - 'license': 'https://www.pexels.com/photo-license/' + 'name': 'ntp-fall-2019-12', + 'source': 'svalbard-jerol-soibam.webp', + 'author': 'Jerol Soibam', + 'link': 'https://www.instagram.com/jerol_soibam', + 'originalUrl': '', + 'license': '' }, { - 'name': '14', - 'source': 'ntp-14.webp', - 'author': 'Life of Pix', - 'link': 'https://www.pexels.com/@life-of-pix', - 'originalUrl': 'https://www.pexels.com/photo/bridge-california-cliff-golden-gate-bridge-7653/', - 'license': 'https://www.pexels.com/photo-license/' + 'name': 'ntp-fall-2019-13', + 'source': 'will-christiansen-glacier-peak.webp', + 'author': 'Will Christiansen', + 'link': 'www.theskyfolk.com', + 'originalUrl': '', + 'license': '' }, { - 'name': '15', - 'source': 'ntp-15.webp', - 'author': 'Cassie Boca', - 'link': 'https://unsplash.com/@cassieboca', - 'originalUrl': 'https://unsplash.com/photos/gFyy2Po7T-k', - 'license': 'https://unsplash.com/license' + 'name': 'ntp-fall-2019-14', + 'source': 'will-christiansen-ice.webp', + 'author': 'Will Christiansen', + 'link': 'www.theskyfolk.com', + 'originalUrl': '', + 'license': '' }, { - 'name': '16', - 'source': 'ntp-16.webp', - 'author': 'Braden Jarvis', - 'link': 'https://unsplash.com/@jarvisphoto', - 'originalUrl': 'https://unsplash.com/photos/prSogOoFmkw', - 'license': 'https://unsplash.com/license' + 'name': 'ntp-fall-2019-15', + 'source': 'xavier-balderas-cejudo.webp', + 'author': 'Xavier Balderas Cejudo', + 'link': 'https://unsplash.com/@xavibalderas?utm_source=unsplash&utm_medium=referral&utm_content=credit', + 'originalUrl': '', + 'license': '' } ] diff --git a/components/img/newtab/backgrounds/anders-jilden.webp b/components/img/newtab/backgrounds/anders-jilden.webp new file mode 100755 index 000000000000..5e969130bf02 Binary files /dev/null and b/components/img/newtab/backgrounds/anders-jilden.webp differ diff --git a/components/img/newtab/backgrounds/andreas-gucklhorn.webp b/components/img/newtab/backgrounds/andreas-gucklhorn.webp new file mode 100755 index 000000000000..3a60f37dea0c Binary files /dev/null and b/components/img/newtab/backgrounds/andreas-gucklhorn.webp differ diff --git a/components/img/newtab/backgrounds/andy-mai.webp b/components/img/newtab/backgrounds/andy-mai.webp new file mode 100755 index 000000000000..b87c81f45212 Binary files /dev/null and b/components/img/newtab/backgrounds/andy-mai.webp differ diff --git a/components/img/newtab/backgrounds/annie-spratt.webp b/components/img/newtab/backgrounds/annie-spratt.webp new file mode 100755 index 000000000000..9959f95c7629 Binary files /dev/null and b/components/img/newtab/backgrounds/annie-spratt.webp differ diff --git a/components/img/newtab/backgrounds/anton-repponen.webp b/components/img/newtab/backgrounds/anton-repponen.webp new file mode 100755 index 000000000000..957b3cfc6c17 Binary files /dev/null and b/components/img/newtab/backgrounds/anton-repponen.webp differ diff --git a/components/img/newtab/backgrounds/ben-karpinski.webp b/components/img/newtab/backgrounds/ben-karpinski.webp new file mode 100755 index 000000000000..46b2001fdacf Binary files /dev/null and b/components/img/newtab/backgrounds/ben-karpinski.webp differ diff --git a/components/img/newtab/backgrounds/dc-cavalleri.webp b/components/img/newtab/backgrounds/dc-cavalleri.webp new file mode 100755 index 000000000000..2f17b7da9786 Binary files /dev/null and b/components/img/newtab/backgrounds/dc-cavalleri.webp differ diff --git a/components/img/newtab/backgrounds/joe-gardner.webp b/components/img/newtab/backgrounds/joe-gardner.webp new file mode 100755 index 000000000000..7de6e7d5eb12 Binary files /dev/null and b/components/img/newtab/backgrounds/joe-gardner.webp differ diff --git a/components/img/newtab/backgrounds/louis-kim.webp b/components/img/newtab/backgrounds/louis-kim.webp new file mode 100755 index 000000000000..424a56561433 Binary files /dev/null and b/components/img/newtab/backgrounds/louis-kim.webp differ diff --git a/components/img/newtab/backgrounds/matt-palmer.webp b/components/img/newtab/backgrounds/matt-palmer.webp new file mode 100755 index 000000000000..daf58415e1af Binary files /dev/null and b/components/img/newtab/backgrounds/matt-palmer.webp differ diff --git a/components/img/newtab/backgrounds/oliwier-gesla.webp b/components/img/newtab/backgrounds/oliwier-gesla.webp new file mode 100755 index 000000000000..a512b161652c Binary files /dev/null and b/components/img/newtab/backgrounds/oliwier-gesla.webp differ diff --git a/components/img/newtab/backgrounds/svalbard-jerol-soibam.webp b/components/img/newtab/backgrounds/svalbard-jerol-soibam.webp new file mode 100755 index 000000000000..d901defdae27 Binary files /dev/null and b/components/img/newtab/backgrounds/svalbard-jerol-soibam.webp differ diff --git a/components/img/newtab/backgrounds/will-christiansen-glacier-peak.webp b/components/img/newtab/backgrounds/will-christiansen-glacier-peak.webp new file mode 100755 index 000000000000..5e7fe7487d51 Binary files /dev/null and b/components/img/newtab/backgrounds/will-christiansen-glacier-peak.webp differ diff --git a/components/img/newtab/backgrounds/will-christiansen-ice.webp b/components/img/newtab/backgrounds/will-christiansen-ice.webp new file mode 100755 index 000000000000..86a8a9e05f5f Binary files /dev/null and b/components/img/newtab/backgrounds/will-christiansen-ice.webp differ diff --git a/components/img/newtab/backgrounds/xavier-balderas-cejudo.webp b/components/img/newtab/backgrounds/xavier-balderas-cejudo.webp new file mode 100755 index 000000000000..d1a6737096cd Binary files /dev/null and b/components/img/newtab/backgrounds/xavier-balderas-cejudo.webp differ diff --git a/components/img/newtab/ntp-1.webp b/components/img/newtab/ntp-1.webp deleted file mode 100644 index dcd6bcce7bd4..000000000000 Binary files a/components/img/newtab/ntp-1.webp and /dev/null differ diff --git a/components/img/newtab/ntp-10.webp b/components/img/newtab/ntp-10.webp deleted file mode 100644 index bcb60a9c41bf..000000000000 Binary files a/components/img/newtab/ntp-10.webp and /dev/null differ diff --git a/components/img/newtab/ntp-11.webp b/components/img/newtab/ntp-11.webp deleted file mode 100644 index 8a8fa5051121..000000000000 Binary files a/components/img/newtab/ntp-11.webp and /dev/null differ diff --git a/components/img/newtab/ntp-12.webp b/components/img/newtab/ntp-12.webp deleted file mode 100644 index 7c4f1ce428db..000000000000 Binary files a/components/img/newtab/ntp-12.webp and /dev/null differ diff --git a/components/img/newtab/ntp-13.webp b/components/img/newtab/ntp-13.webp deleted file mode 100644 index c9678e6bf475..000000000000 Binary files a/components/img/newtab/ntp-13.webp and /dev/null differ diff --git a/components/img/newtab/ntp-14.webp b/components/img/newtab/ntp-14.webp deleted file mode 100644 index 14e329adc876..000000000000 Binary files a/components/img/newtab/ntp-14.webp and /dev/null differ diff --git a/components/img/newtab/ntp-15.webp b/components/img/newtab/ntp-15.webp deleted file mode 100644 index 703217333f9c..000000000000 Binary files a/components/img/newtab/ntp-15.webp and /dev/null differ diff --git a/components/img/newtab/ntp-16.webp b/components/img/newtab/ntp-16.webp deleted file mode 100644 index a4c178a2144f..000000000000 Binary files a/components/img/newtab/ntp-16.webp and /dev/null differ diff --git a/components/img/newtab/ntp-2.webp b/components/img/newtab/ntp-2.webp deleted file mode 100644 index 4ba44f14964a..000000000000 Binary files a/components/img/newtab/ntp-2.webp and /dev/null differ diff --git a/components/img/newtab/ntp-3.webp b/components/img/newtab/ntp-3.webp deleted file mode 100644 index 036213b78aee..000000000000 Binary files a/components/img/newtab/ntp-3.webp and /dev/null differ diff --git a/components/img/newtab/ntp-4.webp b/components/img/newtab/ntp-4.webp deleted file mode 100644 index 5a584893f322..000000000000 Binary files a/components/img/newtab/ntp-4.webp and /dev/null differ diff --git a/components/img/newtab/ntp-5.webp b/components/img/newtab/ntp-5.webp deleted file mode 100644 index 686853b91eba..000000000000 Binary files a/components/img/newtab/ntp-5.webp and /dev/null differ diff --git a/components/img/newtab/ntp-6.webp b/components/img/newtab/ntp-6.webp deleted file mode 100644 index 0bbf59a581f5..000000000000 Binary files a/components/img/newtab/ntp-6.webp and /dev/null differ diff --git a/components/img/newtab/ntp-7.webp b/components/img/newtab/ntp-7.webp deleted file mode 100644 index c401a76cf431..000000000000 Binary files a/components/img/newtab/ntp-7.webp and /dev/null differ diff --git a/components/img/newtab/ntp-8.webp b/components/img/newtab/ntp-8.webp deleted file mode 100644 index 9bc46e9da50d..000000000000 Binary files a/components/img/newtab/ntp-8.webp and /dev/null differ diff --git a/components/img/newtab/ntp-9.webp b/components/img/newtab/ntp-9.webp deleted file mode 100644 index a8304ad095b0..000000000000 Binary files a/components/img/newtab/ntp-9.webp and /dev/null differ diff --git a/components/resources/brave_components_resources.grd b/components/resources/brave_components_resources.grd index 87b226861a41..2dbd8ef63b5d 100644 --- a/components/resources/brave_components_resources.grd +++ b/components/resources/brave_components_resources.grd @@ -40,26 +40,25 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + +