From a31deb0c7e22167d9721dc9b889406119d723127 Mon Sep 17 00:00:00 2001 From: Minteck Date: Sat, 7 May 2022 15:14:00 +0200 Subject: Add flagship projects --- includes/fetcher/index.js | 1 + projects/home.php | 42 +++++++++++++++++++++++++++++------------- 2 files changed, 30 insertions(+), 13 deletions(-) diff --git a/includes/fetcher/index.js b/includes/fetcher/index.js index dc4d911..4cb4e9d 100644 --- a/includes/fetcher/index.js +++ b/includes/fetcher/index.js @@ -35,6 +35,7 @@ web: project.web_url, icon: project.avatar_url ? project.avatar_url.replace("http://", "https://") : null, showcase: project.topics.includes("Showcase"), + flagship: project.topics.includes("Flagship"), date: project.last_activity_at, event: (await axios.get(`https://gitlab.minteck.org/api/v4/projects/${project.id}/events`)).data[0], tags: project.topics, diff --git a/projects/home.php b/projects/home.php index 6ef808d..2b78456 100644 --- a/projects/home.php +++ b/projects/home.php @@ -7,7 +7,7 @@
- +