mirror of
https://github.com/manilarome/the-glorious-startpage.git
synced 2024-12-13 09:40:43 +01:00
324 lines
6.0 KiB
JavaScript
324 lines
6.0 KiB
JavaScript
class Config {
|
|
|
|
constructor() {
|
|
this.getWebSites = this.getWebSites.bind(this);
|
|
this.getDockSites = this.getDockSites.bind(this);
|
|
}
|
|
|
|
getWebSites = () => {
|
|
// Web menu
|
|
// A list of websites that will be generated and put on the web menu
|
|
const webSites = [
|
|
{
|
|
site: 'Reddit',
|
|
icon: 'reddit',
|
|
url: 'https://reddit.com/',
|
|
category: 'social'
|
|
},
|
|
{
|
|
site: 'Github',
|
|
icon: 'github',
|
|
url: 'https://github.com/',
|
|
category: 'development'
|
|
},
|
|
{
|
|
site: 'Facebook',
|
|
icon: 'facebook',
|
|
url: 'https://facebook.com/',
|
|
category: 'social'
|
|
},
|
|
{
|
|
site: 'Gmail',
|
|
icon: 'gmail',
|
|
url: 'https://mail.google.com/',
|
|
category: 'social'
|
|
},
|
|
{
|
|
site: 'Youtube',
|
|
icon: 'youtube',
|
|
url: 'https://youtube.com/',
|
|
category: 'media'
|
|
},
|
|
{
|
|
site: 'GDrive',
|
|
icon: 'gdrive',
|
|
url: 'https://drive.google.com/',
|
|
category: 'cloud'
|
|
},
|
|
{
|
|
site: 'Twitter',
|
|
icon: 'twitter',
|
|
url: 'https://twitter.com/',
|
|
category: 'social'
|
|
},
|
|
{
|
|
site: 'Instagram',
|
|
icon: 'instagram',
|
|
url: 'https://instagram.com/',
|
|
category: 'social'
|
|
},
|
|
{
|
|
site: 'Bitbucket',
|
|
icon: 'bitbucket',
|
|
url: 'https://bitbucket.org/',
|
|
category: 'development'
|
|
},
|
|
{
|
|
site: 'Gitlab',
|
|
icon: 'gitlab',
|
|
url: 'https://gitlab.com/',
|
|
category: 'development'
|
|
},
|
|
{
|
|
site: 'Deviantart',
|
|
icon: 'deviantart',
|
|
url: 'https://deviantart.com/',
|
|
category: 'design'
|
|
},
|
|
{
|
|
site: 'Duckduckgo',
|
|
icon: 'duckduckgo',
|
|
url: 'https://duckduckgo.com/',
|
|
category: 'development'
|
|
},
|
|
{
|
|
site: 'Ecosia',
|
|
icon: 'ecosia',
|
|
url: 'https://ecosia.org/',
|
|
category: 'search engine'
|
|
},
|
|
{
|
|
site: 'Google',
|
|
icon: 'google',
|
|
url: 'https://google.com/',
|
|
category: 'search engine'
|
|
},
|
|
{
|
|
site: 'Wikipedia',
|
|
icon: 'wikipedia',
|
|
url: 'https://wikipedia.org/',
|
|
category: 'information'
|
|
},
|
|
{
|
|
site: 'Unsplash',
|
|
icon: 'unsplash',
|
|
url: 'https://unsplash.com/',
|
|
category: 'design'
|
|
},
|
|
{
|
|
site: 'Twitch',
|
|
icon: 'twitch',
|
|
url: 'https://twitch.tv/',
|
|
category: 'media'
|
|
},
|
|
{
|
|
site: 'Yahoo',
|
|
icon: 'yahoo',
|
|
url: 'https://mail.yahoo.com/',
|
|
category: 'social'
|
|
},
|
|
{
|
|
site: 'Material.io',
|
|
icon: 'materialio',
|
|
url: 'https://material.io/',
|
|
category: 'design'
|
|
},
|
|
{
|
|
site: 'Netflix',
|
|
icon: 'netflix',
|
|
url: 'https://netflix.com/',
|
|
category: 'media'
|
|
},
|
|
{
|
|
site: 'Office 365',
|
|
icon: 'office365',
|
|
url: 'https://office.com/',
|
|
category: 'information'
|
|
},
|
|
{
|
|
site: '4chan',
|
|
icon: '4chan',
|
|
url: 'https://4chan.org/',
|
|
category: 'social'
|
|
},
|
|
{
|
|
site: 'Discord',
|
|
icon: 'discord',
|
|
url: 'https://discord.com/',
|
|
category: 'social'
|
|
},
|
|
{
|
|
site: 'Spotify',
|
|
icon: 'spotify',
|
|
url: 'https://spotify.com/',
|
|
category: 'media'
|
|
},
|
|
{
|
|
site: 'Ebay',
|
|
icon: 'ebay',
|
|
url: 'https://ebay.com/',
|
|
category: 'shop'
|
|
},
|
|
{
|
|
site: 'JSFiddle',
|
|
icon: 'jsfiddle',
|
|
url: 'https://jsfiddle.net/',
|
|
category: 'development'
|
|
},
|
|
{
|
|
site: 'ArchWiki',
|
|
icon: 'archwiki',
|
|
url: 'https://wiki.archlinux.org/',
|
|
category: 'information'
|
|
},
|
|
{
|
|
site: 'Figma',
|
|
icon: 'figma',
|
|
url: 'https://figma.com/',
|
|
category: 'design'
|
|
},
|
|
{
|
|
site: 'Stackoverflow',
|
|
icon: 'stackoverflow',
|
|
url: 'https://stackoverflow.com/',
|
|
category: 'development'
|
|
},
|
|
{
|
|
site: 'Stackexchange',
|
|
icon: 'stackexchange',
|
|
url: 'https://stackexchange.com/',
|
|
category: 'development'
|
|
},
|
|
{
|
|
site: 'Superuser',
|
|
icon: 'superuser',
|
|
url: 'https://superuser.com/',
|
|
category: 'development'
|
|
},
|
|
{
|
|
site: 'Calendar',
|
|
icon: 'calendar',
|
|
url: 'https://calendar.google.com/',
|
|
category: 'social'
|
|
},
|
|
{
|
|
site: 'Messenger',
|
|
icon: 'messenger',
|
|
url: 'https://messenger.com/',
|
|
category: 'social'
|
|
},
|
|
{
|
|
site: 'Icons8',
|
|
icon: 'icons8',
|
|
url: 'https://icons8.com/',
|
|
category: 'design'
|
|
},
|
|
{
|
|
site: 'Markdown Cheatsheet',
|
|
icon: 'markdown',
|
|
url: 'https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet/',
|
|
category: 'development'
|
|
},
|
|
{
|
|
site: 'Interneting is Hard',
|
|
icon: 'interneting-is-hard',
|
|
url: 'https://internetingishard.com/',
|
|
category: 'development'
|
|
},
|
|
{
|
|
site: 'Keycode',
|
|
icon: 'keycode',
|
|
url: 'https://keycode.info/',
|
|
category: 'development'
|
|
},
|
|
{
|
|
site: 'Soundcloud',
|
|
icon: 'soundcloud',
|
|
url: 'https://soundcloud.com/',
|
|
category: 'media'
|
|
},
|
|
{
|
|
site: 'Amazon',
|
|
icon: 'amazon',
|
|
url: 'https://amazon.com/',
|
|
category: 'shop'
|
|
},
|
|
{
|
|
site: 'Flaticon',
|
|
icon: 'flaticon',
|
|
url: 'https://flaticon.com/',
|
|
category: 'design'
|
|
},
|
|
{
|
|
site: 'Wikimedia Commons',
|
|
icon: 'commons',
|
|
url: 'https://commons.wikimedia.org/',
|
|
category: 'design'
|
|
},
|
|
{
|
|
site: 'MEGA',
|
|
icon: 'mega',
|
|
url: 'https://mega.nz/',
|
|
category: 'cloud'
|
|
},
|
|
{
|
|
site: 'MDN Web Docs',
|
|
icon: 'mdn',
|
|
url: 'https://developer.mozilla.org/',
|
|
category: 'development'
|
|
}
|
|
];
|
|
|
|
return webSites;
|
|
}
|
|
|
|
getDockSites = () => {
|
|
// Dock
|
|
// A list of websites that will be generated and put on the dock
|
|
const dockSites = [
|
|
{
|
|
site: 'Reddit',
|
|
icon: 'reddit',
|
|
url: 'https://reddit.com/'
|
|
},
|
|
{
|
|
site: 'Github',
|
|
icon: 'github',
|
|
url: 'https://github.com/'
|
|
},
|
|
{
|
|
site: 'Facebook',
|
|
icon: 'facebook',
|
|
url: 'https://facebook.com/'
|
|
},
|
|
{
|
|
site: 'Gmail',
|
|
icon: 'gmail',
|
|
url: 'https://mail.google.com/'
|
|
},
|
|
{
|
|
site: 'Youtube',
|
|
icon: 'youtube',
|
|
url: 'https://youtube.com/'
|
|
},
|
|
{
|
|
site: 'GDrive',
|
|
icon: 'gdrive',
|
|
url: 'https://drive.google.com/'
|
|
},
|
|
{
|
|
site: 'Twitter',
|
|
icon: 'twitter',
|
|
url: 'https://twitter.com/'
|
|
},
|
|
{
|
|
site: 'Material.io',
|
|
icon: 'materialio',
|
|
url: 'https://material.io/'
|
|
}
|
|
];
|
|
|
|
return dockSites;
|
|
}
|
|
}
|