mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
55e19b1589
commit
4b708a80eb
2 changed files with 10 additions and 4 deletions
|
|
@ -24,7 +24,10 @@ export class Home extends React.Component<RouteComponentProps<{}>, IFilterListsS
|
|||
? <p>
|
||||
<em>Loading...</em>
|
||||
</p>
|
||||
: Home.renderFilterListsTable(this.state.filterLists);
|
||||
: <div>
|
||||
{Home.renderTagline(this.state.filterLists)}
|
||||
{Home.renderFilterListsTable(this.state.filterLists)}
|
||||
</div>;
|
||||
return <div>
|
||||
{contents}
|
||||
</div>;
|
||||
|
|
@ -41,6 +44,12 @@ export class Home extends React.Component<RouteComponentProps<{}>, IFilterListsS
|
|||
});
|
||||
}
|
||||
|
||||
private static renderTagline(filterLists: IFilterListSummaryDto[]) {
|
||||
return <p className="ml-2 mr-2">
|
||||
The independent, comprehensive directory of <strong>{filterLists.length}</strong> filter and host lists for advertisements, trackers, malware, and annoyances.
|
||||
</p>;
|
||||
}
|
||||
|
||||
private static renderFilterListsTable(filterLists: IFilterListSummaryDto[]) {
|
||||
return <ReactTable
|
||||
data={filterLists}
|
||||
|
|
|
|||
|
|
@ -13,9 +13,6 @@ export class Layout extends React.Component<ILayoutProps, {}> {
|
|||
<img src="logo_filterlists.png" alt="FilterLists" className="img-fluid"/>
|
||||
</a>
|
||||
</h1>
|
||||
<p className="ml-2 mr-2">
|
||||
The independent, comprehensive directory of filter and host lists for advertisements, trackers, malware, and annoyances.
|
||||
</p>
|
||||
</div>
|
||||
<div className="row">
|
||||
<div className="w-100">
|
||||
|
|
|
|||
Loading…
Reference in a new issue