From 3fb461e67dfa7dc653a21aba6d4c83b1e4015359 Mon Sep 17 00:00:00 2001 From: "Collin M. Barrett" Date: Wed, 14 Feb 2018 19:44:04 -0600 Subject: [PATCH] add expanders, minor ui tweaks --- src/FilterLists.Web/ClientApp/components/Home.tsx | 11 ++++++++++- src/FilterLists.Web/ClientApp/components/Layout.tsx | 6 +++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/FilterLists.Web/ClientApp/components/Home.tsx b/src/FilterLists.Web/ClientApp/components/Home.tsx index 51a5739a8..7dc85ceea 100644 --- a/src/FilterLists.Web/ClientApp/components/Home.tsx +++ b/src/FilterLists.Web/ClientApp/components/Home.tsx @@ -61,7 +61,16 @@ export class Home extends React.Component, IFilterListsS }&title=${encodeURIComponent(d.row.name)}`}>Subscribe, maxWidth: 100 } - ]}/>; + ]} + SubComponent={(row: any) => { + return ( +
+ + {row.original.description} + +
+ ); + }}/>; } } diff --git a/src/FilterLists.Web/ClientApp/components/Layout.tsx b/src/FilterLists.Web/ClientApp/components/Layout.tsx index 0a2e0c52e..101ce8c05 100644 --- a/src/FilterLists.Web/ClientApp/components/Layout.tsx +++ b/src/FilterLists.Web/ClientApp/components/Layout.tsx @@ -6,7 +6,7 @@ export interface LayoutProps { export class Layout extends React.Component { render() { - return
+ return

FilterLists

The independent and comprehensive directory of all public filter and hosts lists for advertisements, trackers, malware, and annoyances.

@@ -17,8 +17,8 @@ export class Layout extends React.Component {
- A project by Collin M. Barrett. | View on GitHub. + A project by Collin M. Barrett. | Contribute on GitHub.
; - } + }; } \ No newline at end of file