Add BBC News RSS feed (source bbc, BBC red accent)
This commit is contained in:
@@ -61,4 +61,11 @@ return [
|
||||
'label' => 'RT News',
|
||||
'url' => 'https://www.rt.com/rss/',
|
||||
],
|
||||
|
||||
// BBC News (top stories).
|
||||
[
|
||||
'source' => 'bbc',
|
||||
'label' => 'BBC News',
|
||||
'url' => 'https://feeds.bbci.co.uk/news/rss.xml',
|
||||
],
|
||||
];
|
||||
|
||||
@@ -17,6 +17,7 @@ final class View
|
||||
'youtube' => 'YouTube',
|
||||
'reddit' => 'Reddit',
|
||||
'rt' => 'RT',
|
||||
'bbc' => 'BBC',
|
||||
default => ucfirst($source),
|
||||
};
|
||||
}
|
||||
@@ -27,6 +28,7 @@ final class View
|
||||
'youtube' => 'text-bg-danger',
|
||||
'reddit' => 'text-bg-warning',
|
||||
'rt' => 'text-bg-dark',
|
||||
'bbc' => 'text-bg-danger',
|
||||
default => 'text-bg-secondary',
|
||||
};
|
||||
}
|
||||
@@ -37,6 +39,7 @@ final class View
|
||||
'youtube' => '#ff3b5c',
|
||||
'reddit' => '#ff7a2f',
|
||||
'rt' => '#1fcb93',
|
||||
'bbc' => '#bb1919',
|
||||
default => '#f1f3f7',
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user