Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
+17
-3
@@ -1,5 +1,5 @@
|
||||
import { Link } from "react-router";
|
||||
import { t as i18nT } from "i18next";
|
||||
import { requestScopedT as i18nT } from "~/locale/request-scoped-t";
|
||||
import clsx from "clsx";
|
||||
import { lazy, Suspense, useEffect, useId, useMemo, useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
@@ -69,7 +69,7 @@ interface TopItemDto {
|
||||
tabTitle?: string;
|
||||
}
|
||||
|
||||
function TopItemsData({ title, items, viewMoreRoute, fallbackName, bgClassName }: TopItemDto) {
|
||||
function TopItemsData({ title: _title, items, viewMoreRoute, fallbackName, bgClassName }: TopItemDto) {
|
||||
const { authenticated } = useRootData();
|
||||
const formatters = useLocaleFormatters();
|
||||
const maxCount = useMemo(() => Math.max(0, ...items.map((item) => item.count)), [items]);
|
||||
@@ -249,7 +249,21 @@ export default function AnalyticsOverview({ overview, withUsers, rootUrl }: { ov
|
||||
<path strokeLinecap="round" strokeLinejoin="round" d="M17.25 6.75L22.5 12l-5.25 5.25m-10.5 0L1.5 12l5.25-5.25m7.5-3l-4.5 16.5" />
|
||||
</svg>
|
||||
) : (
|
||||
<img className="h-4 w-4" src={`http://www.google.com/s2/favicons?domain=${item.name}&sz=256`} alt={item.name} />
|
||||
<svg
|
||||
className="text-muted-foreground h-4 w-4"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
fill="none"
|
||||
viewBox="0 0 24 24"
|
||||
strokeWidth="1.5"
|
||||
stroke="currentColor"
|
||||
aria-hidden="true"
|
||||
>
|
||||
<path
|
||||
strokeLinecap="round"
|
||||
strokeLinejoin="round"
|
||||
d="M12 21a9 9 0 1 0 0-18m0 18c2.1 0 3.8-4 3.8-9S14.1 3 12 3m0 18c-2.1 0-3.8-4-3.8-9S9.9 3 12 3M3.5 9h17m-17 6h17"
|
||||
/>
|
||||
</svg>
|
||||
),
|
||||
name: UrlUtils.stripTrailingSlash(item.name?.replace("https://", "").replace("http://", "").replace("www.", "") ?? ""),
|
||||
count: item.count,
|
||||
|
||||
Reference in new issue
Block a user