From 4b708a80ebfb0e372c12eadd8bffc2139de5f558 Mon Sep 17 00:00:00 2001 From: Collin Barrett Date: Wed, 6 Jun 2018 16:05:03 -0500 Subject: [PATCH] add list count to tagline ref #272 --- src/FilterLists.Web/ClientApp/components/Home.tsx | 11 ++++++++++- src/FilterLists.Web/ClientApp/components/Layout.tsx | 3 --- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index 5c2fb8c9b..d143eb65d 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -24,7 +24,10 @@ export class Home extends React.Component, IFilterListsS ?

Loading...

- : Home.renderFilterListsTable(this.state.filterLists); + :
+ {Home.renderTagline(this.state.filterLists)} + {Home.renderFilterListsTable(this.state.filterLists)} +
; return
{contents}
; @@ -41,6 +44,12 @@ export class Home extends React.Component, IFilterListsS }); } + private static renderTagline(filterLists: IFilterListSummaryDto[]) { + return

+ The independent, comprehensive directory of {filterLists.length} filter and host lists for advertisements, trackers, malware, and annoyances. +

; + } + private static renderFilterListsTable(filterLists: IFilterListSummaryDto[]) { return { FilterLists -

- The independent, comprehensive directory of filter and host lists for advertisements, trackers, malware, and annoyances. -