From 57221e343f80d1c93c35b6651a0f3f39ec9516d2 Mon Sep 17 00:00:00 2001 From: Rod Date: Sun, 4 Oct 2020 22:11:51 -0500 Subject: [PATCH] New centered images --- README.md | 4 ++- js/config.js | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+), 1 deletion(-) create mode 100644 js/config.js diff --git a/README.md b/README.md index 411490a..43eeb05 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,9 @@

Bento: 🍱 A Clean and Simple Startpage

-![](https://github.com/MiguelRAvila/Bento/blob/master/assets/preview.png) +

+ +

### Index diff --git a/js/config.js b/js/config.js new file mode 100644 index 0000000..c48e378 --- /dev/null +++ b/js/config.js @@ -0,0 +1,94 @@ +class Config { + constructor() {} + + getQuickLinks() { + const quickLinks = [ + { + 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/', + }, + ]; + + return quickLinks; + } + + getFirstList() { + const firstList = [ + { + 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/', + }, + ]; + + return firstList; + } + + getSecondList() { + const secondList = [ + { + 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/', + }, + ]; + + return secondList; + } +}