Skip to content

Commit

Permalink
Auto-generate NTP backgrounds LICENSE file (fixes brave/brave-browser…
Browse files Browse the repository at this point in the history
  • Loading branch information
fmarier committed Feb 12, 2020
1 parent ad8f5db commit ce13a6e
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 82 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.DS_Store
.tags*
/.idea/
/components/brave_new_tab_ui/data/LICENSE
/components/brave_webtorrent/extension/out/
/components/brave_rewards/resources/extension/brave_rewards/out/
/components/brave_sync/extension/brave-sync/
Expand Down
63 changes: 0 additions & 63 deletions components/brave_new_tab_ui/data/LICENSE

This file was deleted.

69 changes: 50 additions & 19 deletions components/brave_new_tab_ui/data/backgrounds.ts
Original file line number Diff line number Diff line change
@@ -1,104 +1,135 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */

// After editing this file, don't forget to update LICENSE as well.
* You can obtain one at https://mozilla.org/MPL/2.0/. */

export const images: NewTab.Image[] = [
{
'name': '1',
'source': 'ntp-1.webp',
'author': 'Pok Rie',
'link': 'https://www.pexels.com/@pok-rie-33563'
'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'
'link': 'https://unsplash.com/@millarjb',
'originalUrl': 'https://unsplash.com/photos/zjyP-UYI-ko',
'license': 'https://unsplash.com/license'

},
{
'name': '3',
'source': 'ntp-3.webp',
'author': 'Buzz Andersen',
'link': 'https://unsplash.com/@ldandersen'
'link': 'https://unsplash.com/@ldandersen',
'originalUrl': 'https://unsplash.com/photos/E4944K_4SvI',
'license': 'https://unsplash.com/license'
},
{
'name': '4',
'source': 'ntp-4.webp',
'author': 'Frank McKenna',
'link': 'https://unsplash.com/@frankiefoto'
'link': 'https://unsplash.com/@frankiefoto',
'originalUrl': 'https://unsplash.com/photos/eXHeq48Z-Q4',
'license': 'https://unsplash.com/license'
},
{
'name': '5',
'source': 'ntp-5.webp',
'author': 'SpaceX',
'link': 'https://www.flickr.com/photos/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': '6',
'source': 'ntp-6.webp',
'author': 'SpaceX',
'link': 'https://www.flickr.com/photos/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': '7',
'source': 'ntp-7.webp',
'author': 'SpaceX',
'link': 'https://www.flickr.com/photos/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': '8',
'source': 'ntp-8.webp',
'author': 'Will Christiansen',
'link': 'https://www.theskyfolk.com'
'link': 'https://www.theskyfolk.com',
'originalUrl': 'https://www.instagram.com/p/BZRQxf9hRpw/',
'license': 'used with permission'
},
{
'name': '9',
'source': 'ntp-9.webp',
'author': 'Will Christiansen',
'link': 'https://www.theskyfolk.com'
'link': 'https://www.theskyfolk.com',
'originalUrl': 'https://www.instagram.com/p/BI7w_dFAlR0/',
'license': 'used with permission'
},
{
'name': '10',
'source': 'ntp-10.webp',
'author': 'Will Christiansen',
'link': 'https://www.theskyfolk.com'
'link': 'https://www.theskyfolk.com',
'originalUrl': 'https://www.instagram.com/p/Bo9ft6LBv6V/',
'license': 'used with permission'
},
{
'name': '11',
'source': 'ntp-11.webp',
'author': 'Nout Gons',
'link': 'https://www.instagram.com/ntgns/'
'link': 'https://www.instagram.com/ntgns/',
'originalUrl': 'https://www.instagram.com/p/BNyaAuFBiSt/',
'license': 'used with permission'
},
{
'name': '12',
'source': 'ntp-12.webp',
'author': 'Artem Bali',
'link': 'https://www.pexels.com/@belart84'
'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': '13',
'source': 'ntp-13.webp',
'author': 'Hristo Fidanov',
'link': 'https://www.pexels.com/@hristo-fidanov-520662'
'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': '14',
'source': 'ntp-14.webp',
'author': 'Life of Pix',
'link': 'https://www.pexels.com/@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': '15',
'source': 'ntp-15.webp',
'author': 'Cassie Boca',
'link': 'https://unsplash.com/@cassieboca'
'link': 'https://unsplash.com/@cassieboca',
'originalUrl': 'https://unsplash.com/photos/gFyy2Po7T-k',
'license': 'https://unsplash.com/license'
},
{
'name': '16',
'source': 'ntp-16.webp',
'author': 'Braden Jarvis',
'link': 'https://unsplash.com/@jarvisphoto'
'link': 'https://unsplash.com/@jarvisphoto',
'originalUrl': 'https://unsplash.com/photos/prSogOoFmkw',
'license': 'https://unsplash.com/license'
}
]

0 comments on commit ce13a6e

Please sign in to comment.