- The independent, comprehensive directory of {/*}{props.ruleCount.toLocaleString() - } unique rules across */}{props.listCount.toLocaleString() - } filter and host lists for advertisements, trackers, malware, and annoyances. + props.listCount > 0 + ?
+ The independent, comprehensive directory of {props.listCount.toLocaleString()} filter and host lists for advertisements, trackers, malware, and annoyances.
- :- The independent, comprehensive directory of filter and host lists for advertisements, trackers, malware, and annoyances. + :
+ The independent, comprehensive directory of filter and host lists for advertisements, trackers, malware, and annoyances.
; \ No newline at end of file diff --git a/src/FilterLists.Web/src/modules/home/components/TagGroup.tsx b/src/FilterLists.Web/src/modules/home/components/TagGroup.tsx index de4dad5f4..a6439ab80 100644 --- a/src/FilterLists.Web/src/modules/home/components/TagGroup.tsx +++ b/src/FilterLists.Web/src/modules/home/components/TagGroup.tsx @@ -1,6 +1,6 @@ import * as React from "react"; -import { ITag } from "../interfaces/ITag"; import { getContrast } from "../../../utils"; +import { ITag } from "../interfaces/ITag"; interface Props { tags: ITag[]; diff --git a/src/FilterLists.Web/src/modules/home/components/detailsExpander/DetailsExpander.tsx b/src/FilterLists.Web/src/modules/home/components/detailsExpander/DetailsExpander.tsx index 585e00a01..c1de123f4 100644 --- a/src/FilterLists.Web/src/modules/home/components/detailsExpander/DetailsExpander.tsx +++ b/src/FilterLists.Web/src/modules/home/components/detailsExpander/DetailsExpander.tsx @@ -1,6 +1,6 @@ import * as React from "react"; -import { ISoftware } from "../../interfaces/ISoftware"; import { IColumnVisibility } from "../../interfaces/IColumnVisibility"; +import { ISoftware } from "../../interfaces/ISoftware"; import { IListDetails } from "../IListDetails"; import { InfoCard } from "./infoCard"; import { LinkButtonGroup } from "./LinkButtonGroup"; diff --git a/src/FilterLists.Web/src/modules/home/components/detailsExpander/LinkButtonGroup.tsx b/src/FilterLists.Web/src/modules/home/components/detailsExpander/LinkButtonGroup.tsx index b3540eefe..888e57b6d 100644 --- a/src/FilterLists.Web/src/modules/home/components/detailsExpander/LinkButtonGroup.tsx +++ b/src/FilterLists.Web/src/modules/home/components/detailsExpander/LinkButtonGroup.tsx @@ -1,16 +1,5 @@ import * as React from "react"; -import { - ChatButton, - DonateButton, - EmailButton, - ForumButton, - HomeButton, - IssuesButton, - PolicyButton, - SubmitButton, - SubscribeButton, - ViewButton -} from "../linkButtons"; +import { ChatButton, DonateButton, EmailButton, ForumButton, HomeButton, IssuesButton, PolicyButton, SubmitButton, SubscribeButton, ViewButton } from "../linkButtons"; interface Props { chatUrl: string; diff --git a/src/FilterLists.Web/src/modules/home/components/detailsExpander/index.ts b/src/FilterLists.Web/src/modules/home/components/detailsExpander/index.ts index fa95d60ba..741dbb60b 100644 --- a/src/FilterLists.Web/src/modules/home/components/detailsExpander/index.ts +++ b/src/FilterLists.Web/src/modules/home/components/detailsExpander/index.ts @@ -1,5 +1,3 @@ import { DetailsExpander } from "./DetailsExpander"; -export { - DetailsExpander -}; \ No newline at end of file +export { DetailsExpander }; diff --git a/src/FilterLists.Web/src/modules/home/components/detailsExpander/infoCard/InfoCard.tsx b/src/FilterLists.Web/src/modules/home/components/detailsExpander/infoCard/InfoCard.tsx index 9ec730152..0ca8ada5f 100644 --- a/src/FilterLists.Web/src/modules/home/components/detailsExpander/infoCard/InfoCard.tsx +++ b/src/FilterLists.Web/src/modules/home/components/detailsExpander/infoCard/InfoCard.tsx @@ -1,19 +1,17 @@ import * as React from "react"; import { IColumnVisibility } from "../../../interfaces/IColumnVisibility"; -import { Language } from "../../../interfaces/Language"; -import { ILicense, } from "../../../interfaces/ILicense"; -import { ISoftware, } from "../../../interfaces/ISoftware"; -import { ISyntax, } from "../../../interfaces/ISyntax"; +import { ILicense } from "../../../interfaces/ILicense"; +import { ISoftware } from "../../../interfaces/ISoftware"; +import { ISyntax } from "../../../interfaces/ISyntax"; import { ITag } from "../../../interfaces/ITag"; +import { Language } from "../../../interfaces/Language"; +import { SoftwareIcon } from "../../softwareIcon"; +import { TagGroup } from "../../TagGroup"; import { Description } from "./Description"; import { Languages } from "./Languages"; import { License } from "./License"; import { PublishedDate } from "./PublishedDate"; -// import { RuleCount } from "./RuleCount"; -import { SoftwareIcon } from "../../softwareIcon"; import { Syntax } from "./Syntax"; -import { TagGroup } from "../../TagGroup" -// import { UpdatedDate } from "./UpdatedDate"; interface Props { columnVisibility: IColumnVisibility[]; @@ -23,11 +21,9 @@ interface Props { license: ILicense; name: string; publishedDate: string; - //ruleCount: number; software: ISoftware[]; syntax: ISyntax; tags: ITag[]; - //updatedDate: string; }; export const InfoCard = (props: Props) => @@ -46,12 +42,6 @@ export const InfoCard = (props: Props) =>