Added accent color to Explore service

This commit is contained in:
Aileen Nowak 2022-08-18 14:26:49 +01:00 committed by Aileen Booker
parent bbb5cd24c8
commit f2fdf9e671

View File

@ -26,7 +26,7 @@ module.exports = class ExploreService {
const totalMembers = await this.MembersService.stats.getTotalMembers();
const mrrStats = await this.StatsService.getMRRHistory();
const {description, icon, title, url} = this.PublicConfigService.site;
const {description, icon, title, url, accent_color: accentColor} = this.PublicConfigService.site;
const exploreProperties = {
version: ghostVersion.full,
@ -36,7 +36,8 @@ module.exports = class ExploreService {
description,
icon,
title,
url
url,
accentColor
},
stripe: {
configured: this.StripeService.api.configured,