mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
add expanders, minor ui tweaks
This commit is contained in:
parent
dbbc87f168
commit
3fb461e67d
2 changed files with 13 additions and 4 deletions
|
|
@ -61,7 +61,16 @@ export class Home extends React.Component<RouteComponentProps<{}>, IFilterListsS
|
|||
}&title=${encodeURIComponent(d.row.name)}`}>Subscribe</a>,
|
||||
maxWidth: 100
|
||||
}
|
||||
]}/>;
|
||||
]}
|
||||
SubComponent={(row: any) => {
|
||||
return (
|
||||
<div style={{ padding: "20px" }}>
|
||||
<em>
|
||||
{row.original.description}
|
||||
</em>
|
||||
</div>
|
||||
);
|
||||
}}/>;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export interface LayoutProps {
|
|||
|
||||
export class Layout extends React.Component<LayoutProps, {}> {
|
||||
render() {
|
||||
return <div className="container-fluid">
|
||||
return <div className="container">
|
||||
<div className="row">
|
||||
<h1>FilterLists</h1>
|
||||
<p>The independent and comprehensive directory of all public filter and hosts lists for advertisements, trackers, malware, and annoyances.</p>
|
||||
|
|
@ -17,8 +17,8 @@ export class Layout extends React.Component<LayoutProps, {}> {
|
|||
</div>
|
||||
</div>
|
||||
<div className="row text-center">
|
||||
A project by <a href="https://collinmbarrett.com/">Collin M. Barrett</a>. | View on <a href="https://github.com/collinbarrett/FilterLists">GitHub</a>.
|
||||
A project by <a href="https://collinmbarrett.com/">Collin M. Barrett</a>. | Contribute on <a href="https://github.com/collinbarrett/FilterLists">GitHub</a>.
|
||||
</div>
|
||||
</div>;
|
||||
}
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue