@burdenoff/microfe-headshotmarketing 2026.1201.1 → 2026.1202.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/headshotmarketing/components/ActionMenu.js +1 -1
- package/dist/headshotmarketing/components/ActionMenu.js.map +1 -1
- package/dist/headshotmarketing/components/AssetUploadButton.js +35 -23
- package/dist/headshotmarketing/components/AssetUploadButton.js.map +1 -1
- package/dist/headshotmarketing/components/DataTable.js +33 -33
- package/dist/headshotmarketing/components/DataTable.js.map +1 -1
- package/dist/headshotmarketing/components/EmptyState.d.ts +15 -0
- package/dist/headshotmarketing/components/EmptyState.js +35 -15
- package/dist/headshotmarketing/components/EmptyState.js.map +1 -1
- package/dist/headshotmarketing/components/FilterBar.js +2 -2
- package/dist/headshotmarketing/components/FilterBar.js.map +1 -1
- package/dist/headshotmarketing/components/InfluencerModals.js +96 -95
- package/dist/headshotmarketing/components/InfluencerModals.js.map +1 -1
- package/dist/headshotmarketing/components/Pagination.js +38 -37
- package/dist/headshotmarketing/components/Pagination.js.map +1 -1
- package/dist/headshotmarketing/components/TagChipsInput.js +1 -1
- package/dist/headshotmarketing/components/TagChipsInput.js.map +1 -1
- package/dist/headshotmarketing/components/Toast.js +1 -1
- package/dist/headshotmarketing/components/Toast.js.map +1 -1
- package/dist/headshotmarketing/components/UploadAudienceSelect.d.ts +7 -0
- package/dist/headshotmarketing/components/UploadAudienceSelect.js +40 -0
- package/dist/headshotmarketing/components/UploadAudienceSelect.js.map +1 -0
- package/dist/headshotmarketing/hooks/useAssetUpload.d.ts +2 -19
- package/dist/headshotmarketing/hooks/useAssetUpload.js +38 -32
- package/dist/headshotmarketing/hooks/useAssetUpload.js.map +1 -1
- package/dist/headshotmarketing/pages/HomeMonthlyGoals.js.map +1 -1
- package/dist/headshotmarketing/pages/HomePage.js +10 -10
- package/dist/headshotmarketing/pages/HomePage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js +203 -203
- package/dist/headshotmarketing/pages/ads/AdCampaignDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js +148 -148
- package/dist/headshotmarketing/pages/ads/AdCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCreativeTestsSection.js +74 -73
- package/dist/headshotmarketing/pages/ads/AdCreativeTestsSection.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js +427 -412
- package/dist/headshotmarketing/pages/ads/AdCreativesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdPlatformConnectionsSection.js +111 -110
- package/dist/headshotmarketing/pages/ads/AdPlatformConnectionsSection.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdPlatformSyncPanel.js +1 -1
- package/dist/headshotmarketing/pages/ads/AdPlatformSyncPanel.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AdsPage.js +6 -6
- package/dist/headshotmarketing/pages/ads/AdsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js +49 -49
- package/dist/headshotmarketing/pages/ads/AudiencesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js +112 -112
- package/dist/headshotmarketing/pages/ads/CreateAdCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/ads/CreateAudiencePage.js +57 -57
- package/dist/headshotmarketing/pages/ads/CreateAudiencePage.js.map +1 -1
- package/dist/headshotmarketing/pages/ai/AiOperationsPage.js +175 -174
- package/dist/headshotmarketing/pages/ai/AiOperationsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js +1 -1
- package/dist/headshotmarketing/pages/analytics/AdAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/AttributionPage.js +129 -129
- package/dist/headshotmarketing/pages/analytics/AttributionPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js +9 -9
- package/dist/headshotmarketing/pages/analytics/CampaignAnalyticsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/ReportScheduleDialog.js +95 -94
- package/dist/headshotmarketing/pages/analytics/ReportScheduleDialog.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js +4 -4
- package/dist/headshotmarketing/pages/analytics/ReportsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/TouchpointLedgerCard.js +42 -41
- package/dist/headshotmarketing/pages/analytics/TouchpointLedgerCard.js.map +1 -1
- package/dist/headshotmarketing/pages/analytics/analyticsWidgets.js +132 -131
- package/dist/headshotmarketing/pages/analytics/analyticsWidgets.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/AutomationPage.js +8 -8
- package/dist/headshotmarketing/pages/automation/AutomationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/TriggersPage.js +48 -48
- package/dist/headshotmarketing/pages/automation/TriggersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js +4 -3
- package/dist/headshotmarketing/pages/automation/WorkflowBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowNodeConfigPanel.js +143 -142
- package/dist/headshotmarketing/pages/automation/WorkflowNodeConfigPanel.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowRunsPanel.js +79 -78
- package/dist/headshotmarketing/pages/automation/WorkflowRunsPanel.js.map +1 -1
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js +92 -92
- package/dist/headshotmarketing/pages/automation/WorkflowsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js +143 -143
- package/dist/headshotmarketing/pages/builder/LandingPageBuilderPage.js.map +1 -1
- package/dist/headshotmarketing/pages/builder/SectionCanvasBlock.js +3 -3
- package/dist/headshotmarketing/pages/builder/SectionCanvasBlock.js.map +1 -1
- package/dist/headshotmarketing/pages/builder/SectionInspector.js +24 -23
- package/dist/headshotmarketing/pages/builder/SectionInspector.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js +198 -193
- package/dist/headshotmarketing/pages/campaigns/CampaignDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js +41 -41
- package/dist/headshotmarketing/pages/campaigns/CampaignTemplatesPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js +234 -229
- package/dist/headshotmarketing/pages/campaigns/CampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js +199 -187
- package/dist/headshotmarketing/pages/campaigns/CreateCampaignPage.js.map +1 -1
- package/dist/headshotmarketing/pages/campaigns/CreateTemplateModal.js +46 -46
- package/dist/headshotmarketing/pages/campaigns/CreateTemplateModal.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AIExecutionLedger.js +29 -29
- package/dist/headshotmarketing/pages/content/AIExecutionLedger.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AIToolsPage.js +3 -3
- package/dist/headshotmarketing/pages/content/AIToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js +230 -220
- package/dist/headshotmarketing/pages/content/AssetLibraryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js +431 -420
- package/dist/headshotmarketing/pages/content/ContentCreationPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentDetailsPage.js +7 -7
- package/dist/headshotmarketing/pages/content/ContentDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentLibraryCard.js +2 -2
- package/dist/headshotmarketing/pages/content/ContentLibraryCard.js.map +1 -1
- package/dist/headshotmarketing/pages/content/ContentPage.js +88 -88
- package/dist/headshotmarketing/pages/content/ContentPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/ContactsPage.js +111 -111
- package/dist/headshotmarketing/pages/crm/ContactsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js +59 -59
- package/dist/headshotmarketing/pages/crm/CreateContactPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js +86 -86
- package/dist/headshotmarketing/pages/crm/CreateDealPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CrmActions.js +93 -92
- package/dist/headshotmarketing/pages/crm/CrmActions.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/CrmPage.js +4 -4
- package/dist/headshotmarketing/pages/crm/CrmPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/LeadCreateModal.js +63 -62
- package/dist/headshotmarketing/pages/crm/LeadCreateModal.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/LeadsPage.js +68 -68
- package/dist/headshotmarketing/pages/crm/LeadsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/crm/PipelinePage.js +2 -2
- package/dist/headshotmarketing/pages/crm/PipelinePage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/CreateEventPage.js +165 -165
- package/dist/headshotmarketing/pages/events/CreateEventPage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/EventDetailsPage.js +255 -250
- package/dist/headshotmarketing/pages/events/EventDetailsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/events/EventImageUpload.js +8 -2
- package/dist/headshotmarketing/pages/events/EventImageUpload.js.map +1 -1
- package/dist/headshotmarketing/pages/events/EventPagePreview.js +2 -2
- package/dist/headshotmarketing/pages/events/EventPagePreview.js.map +1 -1
- package/dist/headshotmarketing/pages/events/EventsPage.js +70 -70
- package/dist/headshotmarketing/pages/events/EventsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js +7 -7
- package/dist/headshotmarketing/pages/influencers/InfluencerCampaignsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js +98 -98
- package/dist/headshotmarketing/pages/influencers/InfluencerDiscoveryPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js +1 -1
- package/dist/headshotmarketing/pages/influencers/InfluencersPage.js.map +1 -1
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js +145 -140
- package/dist/headshotmarketing/pages/influencers/RelationshipsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/seo/SeoScorePanel.js +1 -1
- package/dist/headshotmarketing/pages/seo/SeoScorePanel.js.map +1 -1
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js +286 -286
- package/dist/headshotmarketing/pages/seo/SeoToolsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js +171 -166
- package/dist/headshotmarketing/pages/social-media/AccountsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js +1 -1
- package/dist/headshotmarketing/pages/social-media/ContentCalendarPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/CreateAccountPage.js +1 -1
- package/dist/headshotmarketing/pages/social-media/CreateAccountPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/MediaDropZone.js +3 -3
- package/dist/headshotmarketing/pages/social-media/MediaDropZone.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/PostsPage.js +257 -252
- package/dist/headshotmarketing/pages/social-media/PostsPage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialComposerPreview.js +2 -2
- package/dist/headshotmarketing/pages/social-media/SocialComposerPreview.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js +4 -4
- package/dist/headshotmarketing/pages/social-media/SocialMediaComposePage.js.map +1 -1
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js +115 -115
- package/dist/headshotmarketing/pages/social-media/SocialMediaPage.js.map +1 -1
- package/package.json +6 -4
|
@@ -3,24 +3,24 @@ import { HeadshotmarketingSeoKeywordStatus as r } from "../../../generated/wspac
|
|
|
3
3
|
import "../../components/index.js";
|
|
4
4
|
import { PageLayout as ee } from "../../components/PageLayout.js";
|
|
5
5
|
import { StatCard as i } from "../../components/StatCard.js";
|
|
6
|
-
import { DataTable as te } from "../../components/DataTable.js";
|
|
7
6
|
import { EmptyState as a } from "../../components/EmptyState.js";
|
|
7
|
+
import { DataTable as te } from "../../components/DataTable.js";
|
|
8
8
|
import { Modal as ne } from "../../components/Modal.js";
|
|
9
9
|
import { QueryStateBoundary as re } from "../../components/QueryStateBoundary.js";
|
|
10
10
|
import { cn as o, formatNumber as s } from "../../utils/helpers.js";
|
|
11
11
|
import { useHeadshotmarketingBootstrap as ie } from "../../hooks/useHeadshotmarketingBootstrap.js";
|
|
12
|
-
import { toKeywordModel as ae, toSeoAuditModel as
|
|
13
|
-
import { dataStatusLabel as
|
|
12
|
+
import { toKeywordModel as ae, toSeoAuditModel as oe } from "../../utils/seoMapper.js";
|
|
13
|
+
import { dataStatusLabel as se, formatCpc as ce, formatDifficulty as c, formatVolume as le, hasKeywordData as ue, normalizeSiteUrl as de } from "../../utils/seoKeywordData.js";
|
|
14
14
|
import { SeoKeywordDetailModal as fe } from "./SeoKeywordDetailModal.js";
|
|
15
15
|
import "../../hooks/index.js";
|
|
16
16
|
import { SeoScoreGauge as pe } from "./SeoScoreGauge.js";
|
|
17
17
|
import { SeoScorePanel as me } from "./SeoScorePanel.js";
|
|
18
18
|
import { useMemo as l, useState as u } from "react";
|
|
19
19
|
import { AlertTriangle as he, ArrowUpRight as ge, BarChart3 as _e, CheckCircle2 as ve, ExternalLink as ye, Gauge as be, Globe as xe, Hash as Se, Info as d, Minus as Ce, Play as f, Search as p, TrendingDown as we, TrendingUp as m, XCircle as h } from "lucide-react";
|
|
20
|
-
import { Fragment as
|
|
21
|
-
import { EmphasisPanel as
|
|
20
|
+
import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
21
|
+
import { EmphasisPanel as y, NextSteps as Te, PagePurpose as Ee, ThemedSelect as De } from "@burdenoff/fe-libs/ui";
|
|
22
22
|
// src/headshotmarketing/pages/seo/SeoToolsPage.tsx
|
|
23
|
-
var
|
|
23
|
+
var Oe = {
|
|
24
24
|
[r.Tracking]: {
|
|
25
25
|
label: "Tracking",
|
|
26
26
|
className: "bg-status-success-bg text-status-success-text border-status-success-border"
|
|
@@ -33,7 +33,7 @@ var ke = {
|
|
|
33
33
|
label: "Archived",
|
|
34
34
|
className: "bg-bg-sunken text-text-secondary border-border-subtle"
|
|
35
35
|
}
|
|
36
|
-
},
|
|
36
|
+
}, ke = [
|
|
37
37
|
{
|
|
38
38
|
value: "all",
|
|
39
39
|
label: "All statuses"
|
|
@@ -50,15 +50,15 @@ var ke = {
|
|
|
50
50
|
value: r.Archived,
|
|
51
51
|
label: "Archived"
|
|
52
52
|
}
|
|
53
|
-
],
|
|
53
|
+
], Ae = {
|
|
54
54
|
error: h,
|
|
55
55
|
warning: he,
|
|
56
56
|
info: d
|
|
57
|
-
},
|
|
57
|
+
}, je = {
|
|
58
58
|
error: "text-status-error-text",
|
|
59
59
|
warning: "text-status-warning-text",
|
|
60
60
|
info: "text-status-info-text"
|
|
61
|
-
},
|
|
61
|
+
}, b = "https://headshotmarketing.com", Me = [
|
|
62
62
|
{
|
|
63
63
|
value: 1,
|
|
64
64
|
label: "This page only"
|
|
@@ -76,8 +76,8 @@ var ke = {
|
|
|
76
76
|
label: "Up to 50 pages"
|
|
77
77
|
}
|
|
78
78
|
];
|
|
79
|
-
function
|
|
80
|
-
return
|
|
79
|
+
function Ne(e) {
|
|
80
|
+
return oe({
|
|
81
81
|
id: e.id,
|
|
82
82
|
url: e.url,
|
|
83
83
|
overallScore: e.overallScore,
|
|
@@ -99,8 +99,8 @@ function Pe(e) {
|
|
|
99
99
|
updatedAt: e.updatedAt
|
|
100
100
|
});
|
|
101
101
|
}
|
|
102
|
-
var
|
|
103
|
-
let { data: r, loading:
|
|
102
|
+
var Pe = () => {
|
|
103
|
+
let { data: r, loading: Pe, error: Fe, refetch: x } = ie(), [S, C] = u("keywords"), [w, T] = u(""), [E, D] = u("all"), [O, Ie] = u(""), [Le, { loading: k }] = t(), [Re, { loading: A }] = e(), j = n({ fetchPolicy: "cache-and-network" }), M = j.data?.headshotmarketingSEOProviderStatus ?? null, ze = M?.keywordDataAvailable ?? !1, [N, Be] = u(""), [Ve, P] = u(null), [He, F] = u(!1), [I, L] = u(b), [R, Ue] = u(1), [z, We] = u(null), [B, Ge] = u(null), [V, H] = u(null), [U, W] = u(null), [G, K] = u(null), Ke = [
|
|
104
104
|
{
|
|
105
105
|
key: "keywords",
|
|
106
106
|
label: "Keyword Research"
|
|
@@ -117,7 +117,7 @@ var Fe = () => {
|
|
|
117
117
|
up: m,
|
|
118
118
|
down: we,
|
|
119
119
|
stable: Ce
|
|
120
|
-
},
|
|
120
|
+
}, q = l(() => (r?.headshotmarketingSEOKeywords.items ?? []).map((e) => ({
|
|
121
121
|
...ae(e),
|
|
122
122
|
bestRank: e.bestRank ?? null,
|
|
123
123
|
status: e.status,
|
|
@@ -125,25 +125,25 @@ var Fe = () => {
|
|
|
125
125
|
dataSource: e.dataSource ?? null,
|
|
126
126
|
dataError: e.dataError ?? null,
|
|
127
127
|
lastCheckedAt: e.lastCheckedAt ?? null
|
|
128
|
-
})), [r?.headshotmarketingSEOKeywords.items]),
|
|
129
|
-
let t = !
|
|
128
|
+
})), [r?.headshotmarketingSEOKeywords.items]), J = q.filter((e) => {
|
|
129
|
+
let t = !w || e.keyword.toLowerCase().includes(w.toLowerCase()), n = E === "all" || e.status === E;
|
|
130
130
|
return t && n;
|
|
131
|
-
}), Je =
|
|
131
|
+
}), Je = q.some((e) => e.keyword.toLowerCase() === w.trim().toLowerCase()), Y = r?.headshotmarketingSEOOverview, Ye = Y?.avgRank, Xe = Y?.avgSEOScore, Ze = Ye == null ? "—" : Ye.toFixed(1), Qe = Xe == null ? "—" : String(Math.round(Xe)), X = q.length > 0, $e = !!w.trim() || E !== "all", et = [
|
|
132
132
|
{
|
|
133
133
|
key: "keyword",
|
|
134
134
|
header: "Keyword",
|
|
135
135
|
sortable: !0,
|
|
136
|
-
render: (e) => /* @__PURE__ */
|
|
136
|
+
render: (e) => /* @__PURE__ */ v("div", {
|
|
137
137
|
className: "flex flex-col",
|
|
138
|
-
children: [/* @__PURE__ */
|
|
138
|
+
children: [/* @__PURE__ */ _("span", {
|
|
139
139
|
className: "font-medium text-text-primary",
|
|
140
140
|
children: e.keyword
|
|
141
|
-
}), /* @__PURE__ */
|
|
141
|
+
}), /* @__PURE__ */ v("span", {
|
|
142
142
|
className: "text-[10px] uppercase tracking-wide text-text-secondary",
|
|
143
143
|
children: [
|
|
144
144
|
e.intent,
|
|
145
145
|
" · ",
|
|
146
|
-
|
|
146
|
+
se(e.dataStatus, e.dataSource)
|
|
147
147
|
]
|
|
148
148
|
})]
|
|
149
149
|
})
|
|
@@ -154,14 +154,14 @@ var Fe = () => {
|
|
|
154
154
|
sortable: !0,
|
|
155
155
|
render: (e) => {
|
|
156
156
|
let t = qe[e.trend];
|
|
157
|
-
return /* @__PURE__ */
|
|
157
|
+
return /* @__PURE__ */ v("div", {
|
|
158
158
|
className: "flex items-center gap-1.5",
|
|
159
|
-
children: [/* @__PURE__ */
|
|
159
|
+
children: [/* @__PURE__ */ _("span", {
|
|
160
160
|
className: o("font-semibold tabular-nums", e.currentRank && e.currentRank <= 10 ? "text-status-success-text" : "text-text-primary"),
|
|
161
161
|
children: e.currentRank ?? "-"
|
|
162
|
-
}), e.rankChange !== 0 && /* @__PURE__ */
|
|
162
|
+
}), e.rankChange !== 0 && /* @__PURE__ */ v("span", {
|
|
163
163
|
className: o("inline-flex items-center gap-0.5 text-xs font-medium tabular-nums", e.trend === "up" ? "text-status-success-text" : e.trend === "down" ? "text-status-error-text" : "text-text-secondary"),
|
|
164
|
-
children: [/* @__PURE__ */
|
|
164
|
+
children: [/* @__PURE__ */ _(t, { className: "h-3.5 w-3.5" }), Math.abs(e.rankChange)]
|
|
165
165
|
})]
|
|
166
166
|
});
|
|
167
167
|
}
|
|
@@ -170,7 +170,7 @@ var Fe = () => {
|
|
|
170
170
|
key: "bestRank",
|
|
171
171
|
header: "Best Rank",
|
|
172
172
|
sortable: !0,
|
|
173
|
-
render: (e) => /* @__PURE__ */
|
|
173
|
+
render: (e) => /* @__PURE__ */ _("span", {
|
|
174
174
|
className: "tabular-nums text-text-primary",
|
|
175
175
|
children: e.bestRank ?? "-"
|
|
176
176
|
})
|
|
@@ -179,7 +179,7 @@ var Fe = () => {
|
|
|
179
179
|
key: "searchVolume",
|
|
180
180
|
header: "Volume",
|
|
181
181
|
sortable: !0,
|
|
182
|
-
render: (e) => /* @__PURE__ */
|
|
182
|
+
render: (e) => /* @__PURE__ */ _("span", {
|
|
183
183
|
className: o("tabular-nums", e.searchVolume == null && "text-text-secondary"),
|
|
184
184
|
title: e.searchVolume == null ? "No data" : void 0,
|
|
185
185
|
children: le(e.searchVolume)
|
|
@@ -191,23 +191,23 @@ var Fe = () => {
|
|
|
191
191
|
sortable: !0,
|
|
192
192
|
render: (e) => {
|
|
193
193
|
let t = e.difficulty;
|
|
194
|
-
if (t == null) return /* @__PURE__ */
|
|
194
|
+
if (t == null) return /* @__PURE__ */ _("span", {
|
|
195
195
|
className: "text-xs text-text-secondary",
|
|
196
196
|
title: "No data",
|
|
197
|
-
children:
|
|
197
|
+
children: c(t)
|
|
198
198
|
});
|
|
199
199
|
let n = "bg-status-success-text";
|
|
200
|
-
return t >= 70 ? n = "bg-status-error-text" : t >= 40 && (n = "bg-status-warning-text"), /* @__PURE__ */
|
|
200
|
+
return t >= 70 ? n = "bg-status-error-text" : t >= 40 && (n = "bg-status-warning-text"), /* @__PURE__ */ v("div", {
|
|
201
201
|
className: "flex items-center gap-2",
|
|
202
|
-
children: [/* @__PURE__ */
|
|
202
|
+
children: [/* @__PURE__ */ _("div", {
|
|
203
203
|
className: "w-12 h-2 rounded-full bg-bg-sunken overflow-hidden",
|
|
204
|
-
children: /* @__PURE__ */
|
|
204
|
+
children: /* @__PURE__ */ _("div", {
|
|
205
205
|
className: o("h-full rounded-full", n),
|
|
206
206
|
style: { width: `${Math.min(Math.max(t, 0), 100)}%` }
|
|
207
207
|
})
|
|
208
|
-
}), /* @__PURE__ */
|
|
208
|
+
}), /* @__PURE__ */ _("span", {
|
|
209
209
|
className: "text-xs tabular-nums",
|
|
210
|
-
children:
|
|
210
|
+
children: c(t)
|
|
211
211
|
})]
|
|
212
212
|
});
|
|
213
213
|
}
|
|
@@ -216,22 +216,22 @@ var Fe = () => {
|
|
|
216
216
|
key: "cpc",
|
|
217
217
|
header: "CPC",
|
|
218
218
|
sortable: !0,
|
|
219
|
-
render: (e) => /* @__PURE__ */
|
|
219
|
+
render: (e) => /* @__PURE__ */ _("span", {
|
|
220
220
|
className: o("tabular-nums", e.cpc == null && "text-text-secondary"),
|
|
221
221
|
title: e.cpc == null ? "No data" : void 0,
|
|
222
|
-
children:
|
|
222
|
+
children: ce(e.cpc)
|
|
223
223
|
})
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
key: "url",
|
|
227
227
|
header: "URL",
|
|
228
|
-
render: (e) => e.url ? /* @__PURE__ */
|
|
228
|
+
render: (e) => e.url ? /* @__PURE__ */ v("span", {
|
|
229
229
|
className: "flex max-w-[12rem] items-center gap-1 text-xs text-primary",
|
|
230
|
-
children: [/* @__PURE__ */
|
|
230
|
+
children: [/* @__PURE__ */ _("span", {
|
|
231
231
|
className: "truncate",
|
|
232
232
|
children: e.url
|
|
233
|
-
}), /* @__PURE__ */
|
|
234
|
-
}) : /* @__PURE__ */
|
|
233
|
+
}), /* @__PURE__ */ _(ye, { className: "h-3 w-3 flex-shrink-0" })]
|
|
234
|
+
}) : /* @__PURE__ */ _("span", {
|
|
235
235
|
className: "text-xs text-text-secondary",
|
|
236
236
|
children: "-"
|
|
237
237
|
})
|
|
@@ -241,8 +241,8 @@ var Fe = () => {
|
|
|
241
241
|
header: "Status",
|
|
242
242
|
sortable: !0,
|
|
243
243
|
render: (e) => {
|
|
244
|
-
let t =
|
|
245
|
-
return /* @__PURE__ */
|
|
244
|
+
let t = Oe[e.status];
|
|
245
|
+
return /* @__PURE__ */ _("span", {
|
|
246
246
|
className: o("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-medium", t.className),
|
|
247
247
|
children: t.label
|
|
248
248
|
});
|
|
@@ -251,33 +251,33 @@ var Fe = () => {
|
|
|
251
251
|
{
|
|
252
252
|
key: "details",
|
|
253
253
|
header: "",
|
|
254
|
-
render: (e) => /* @__PURE__ */
|
|
254
|
+
render: (e) => /* @__PURE__ */ _("button", {
|
|
255
255
|
type: "button",
|
|
256
256
|
onClick: (t) => {
|
|
257
|
-
t.stopPropagation(),
|
|
257
|
+
t.stopPropagation(), P(e.id);
|
|
258
258
|
},
|
|
259
259
|
className: "rounded-md border border-border-subtle px-2.5 py-1 text-xs font-medium text-text-primary hover:bg-bg-sunken",
|
|
260
260
|
"aria-label": `Details for ${e.keyword}`,
|
|
261
261
|
children: "Details"
|
|
262
262
|
})
|
|
263
263
|
}
|
|
264
|
-
],
|
|
265
|
-
id:
|
|
266
|
-
keyword:
|
|
267
|
-
url:
|
|
268
|
-
searchVolume:
|
|
269
|
-
difficulty:
|
|
270
|
-
cpc:
|
|
271
|
-
currentRank:
|
|
272
|
-
previousRank:
|
|
273
|
-
bestRank:
|
|
274
|
-
dataStatus:
|
|
275
|
-
dataSource:
|
|
276
|
-
dataError:
|
|
277
|
-
lastCheckedAt:
|
|
278
|
-
} : null, nt = l(() =>
|
|
264
|
+
], Z = q.find((e) => e.id === Ve) ?? null, tt = Z ? {
|
|
265
|
+
id: Z.id,
|
|
266
|
+
keyword: Z.keyword,
|
|
267
|
+
url: Z.url,
|
|
268
|
+
searchVolume: Z.searchVolume,
|
|
269
|
+
difficulty: Z.difficulty,
|
|
270
|
+
cpc: Z.cpc,
|
|
271
|
+
currentRank: Z.currentRank,
|
|
272
|
+
previousRank: Z.previousRank,
|
|
273
|
+
bestRank: Z.bestRank,
|
|
274
|
+
dataStatus: Z.dataStatus,
|
|
275
|
+
dataSource: Z.dataSource,
|
|
276
|
+
dataError: Z.dataError,
|
|
277
|
+
lastCheckedAt: Z.lastCheckedAt
|
|
278
|
+
} : null, nt = l(() => oe((r?.headshotmarketingSEOAudits.items ?? [])[0] ?? {
|
|
279
279
|
id: "audit-default",
|
|
280
|
-
url:
|
|
280
|
+
url: b,
|
|
281
281
|
overallScore: 0,
|
|
282
282
|
performanceScore: 0,
|
|
283
283
|
accessibilityScore: 0,
|
|
@@ -287,385 +287,385 @@ var Fe = () => {
|
|
|
287
287
|
completedAt: null,
|
|
288
288
|
createdAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
289
289
|
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
290
|
-
}), [r?.headshotmarketingSEOAudits.items]),
|
|
291
|
-
|
|
290
|
+
}), [r?.headshotmarketingSEOAudits.items]), Q = z ?? nt, rt = !!(z || (r?.headshotmarketingSEOAudits.items ?? []).length > 0), $ = (e) => e >= 80 ? "text-status-success-text" : e >= 60 ? "text-status-warning-text" : "text-status-error-text", it = async (e, t) => {
|
|
291
|
+
H(null);
|
|
292
292
|
try {
|
|
293
|
-
let n = (await
|
|
293
|
+
let n = (await Le({ variables: {
|
|
294
294
|
url: e,
|
|
295
295
|
...t && t > 1 ? { maxPages: t } : {}
|
|
296
296
|
} })).data?.headshotmarketingRunSEOAudit;
|
|
297
|
-
if (!n) return
|
|
298
|
-
let r =
|
|
299
|
-
return
|
|
297
|
+
if (!n) return H("Audit did not return a result."), null;
|
|
298
|
+
let r = Ne(n);
|
|
299
|
+
return x(), r;
|
|
300
300
|
} catch (e) {
|
|
301
|
-
return
|
|
301
|
+
return H(e instanceof Error ? e.message : "Failed to run SEO audit."), null;
|
|
302
302
|
}
|
|
303
|
-
},
|
|
304
|
-
if (!
|
|
305
|
-
|
|
303
|
+
}, at = async () => {
|
|
304
|
+
if (!I.trim()) {
|
|
305
|
+
H("Enter a URL to audit.");
|
|
306
306
|
return;
|
|
307
307
|
}
|
|
308
|
-
let e = await
|
|
309
|
-
e && (We(e),
|
|
310
|
-
},
|
|
311
|
-
if (!
|
|
312
|
-
|
|
308
|
+
let e = await it(I.trim(), R);
|
|
309
|
+
e && (We(e), F(!1), C("audit"));
|
|
310
|
+
}, ot = async () => {
|
|
311
|
+
if (!O.trim()) {
|
|
312
|
+
H("Enter a URL to analyze.");
|
|
313
313
|
return;
|
|
314
314
|
}
|
|
315
|
-
let e = await
|
|
315
|
+
let e = await it(O.trim());
|
|
316
316
|
e && Ge(e);
|
|
317
|
-
},
|
|
318
|
-
let e =
|
|
319
|
-
if (
|
|
320
|
-
|
|
317
|
+
}, st = async () => {
|
|
318
|
+
let e = w.trim();
|
|
319
|
+
if (W(null), K(null), !e) {
|
|
320
|
+
W("Enter a keyword to research.");
|
|
321
321
|
return;
|
|
322
322
|
}
|
|
323
323
|
if (Je) {
|
|
324
|
-
|
|
324
|
+
K("That keyword is already being tracked.");
|
|
325
325
|
return;
|
|
326
326
|
}
|
|
327
327
|
let t = null;
|
|
328
|
-
if (
|
|
328
|
+
if (N.trim() && (t = de(N), !t)) W("Enter your site's address, for example example.com, or leave it empty.");
|
|
329
329
|
else try {
|
|
330
|
-
let n = (await
|
|
330
|
+
let n = (await Re({ variables: { input: {
|
|
331
331
|
keyword: e,
|
|
332
332
|
...t ? { url: t } : {}
|
|
333
333
|
} } })).data?.headshotmarketingCreateSEOKeyword;
|
|
334
|
-
await Promise.all([
|
|
334
|
+
await Promise.all([x(), j.refetch()]), n && !ue(n.dataStatus) ? K(`Now tracking "${e}". ${n.dataError ?? "Keyword data is unavailable."}`) : K(`Now tracking "${e}".`);
|
|
335
335
|
} catch (e) {
|
|
336
|
-
|
|
336
|
+
W(e instanceof Error ? e.message : "Failed to add keyword.");
|
|
337
337
|
}
|
|
338
338
|
};
|
|
339
|
-
return /* @__PURE__ */
|
|
339
|
+
return /* @__PURE__ */ v(ee, {
|
|
340
340
|
title: "SEO Tools",
|
|
341
341
|
description: "Keyword research, site audits, and content optimization",
|
|
342
|
-
actions: /* @__PURE__ */
|
|
342
|
+
actions: /* @__PURE__ */ v("button", {
|
|
343
343
|
type: "button",
|
|
344
344
|
onClick: () => {
|
|
345
|
-
|
|
345
|
+
H(null), L(O.trim() || b), F(!0);
|
|
346
346
|
},
|
|
347
347
|
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-3 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90",
|
|
348
|
-
children: [/* @__PURE__ */
|
|
348
|
+
children: [/* @__PURE__ */ _(f, { className: "h-4 w-4" }), "Run Audit"]
|
|
349
349
|
}),
|
|
350
350
|
children: [
|
|
351
|
-
/* @__PURE__ */
|
|
352
|
-
/* @__PURE__ */
|
|
351
|
+
/* @__PURE__ */ _(Ee, { children: "Improve where you rank in search. Research keywords worth targeting, run a site audit to find what's holding your pages back, and get concrete optimization suggestions — so the content you publish actually gets found." }),
|
|
352
|
+
/* @__PURE__ */ _(Te, {
|
|
353
353
|
storageKey: "headshotmarketing-seo-tools",
|
|
354
354
|
steps: [
|
|
355
355
|
{
|
|
356
356
|
id: "keywords",
|
|
357
357
|
label: "Research keywords",
|
|
358
358
|
description: "Find search terms worth ranking for.",
|
|
359
|
-
icon: /* @__PURE__ */
|
|
360
|
-
onClick: () =>
|
|
359
|
+
icon: /* @__PURE__ */ _(p, { className: "h-4 w-4" }),
|
|
360
|
+
onClick: () => C("keywords")
|
|
361
361
|
},
|
|
362
362
|
{
|
|
363
363
|
id: "audit",
|
|
364
364
|
label: "Run a site audit",
|
|
365
365
|
description: "Surface technical issues holding pages back.",
|
|
366
|
-
icon: /* @__PURE__ */
|
|
367
|
-
onClick: () =>
|
|
366
|
+
icon: /* @__PURE__ */ _(ve, { className: "h-4 w-4" }),
|
|
367
|
+
onClick: () => C("audit")
|
|
368
368
|
},
|
|
369
369
|
{
|
|
370
370
|
id: "optimization",
|
|
371
371
|
label: "Optimize content",
|
|
372
372
|
description: "Apply concrete on-page improvement suggestions.",
|
|
373
|
-
icon: /* @__PURE__ */
|
|
374
|
-
onClick: () =>
|
|
373
|
+
icon: /* @__PURE__ */ _(m, { className: "h-4 w-4" }),
|
|
374
|
+
onClick: () => C("optimization")
|
|
375
375
|
}
|
|
376
376
|
]
|
|
377
377
|
}),
|
|
378
|
-
/* @__PURE__ */
|
|
378
|
+
/* @__PURE__ */ _("div", {
|
|
379
379
|
className: "border-b border-border-subtle",
|
|
380
|
-
children: /* @__PURE__ */
|
|
380
|
+
children: /* @__PURE__ */ _("div", {
|
|
381
381
|
className: "flex flex-nowrap gap-6 overflow-x-auto",
|
|
382
|
-
children: Ke.map((e) => /* @__PURE__ */
|
|
383
|
-
onClick: () =>
|
|
384
|
-
className: o("whitespace-nowrap pb-3 text-sm font-medium transition-colors border-b-2",
|
|
382
|
+
children: Ke.map((e) => /* @__PURE__ */ _("button", {
|
|
383
|
+
onClick: () => C(e.key),
|
|
384
|
+
className: o("whitespace-nowrap pb-3 text-sm font-medium transition-colors border-b-2", S === e.key ? "border-primary text-text-primary" : "border-transparent text-text-secondary hover:text-text-primary"),
|
|
385
385
|
children: e.label
|
|
386
386
|
}, e.key))
|
|
387
387
|
})
|
|
388
388
|
}),
|
|
389
|
-
/* @__PURE__ */
|
|
390
|
-
loading:
|
|
391
|
-
error:
|
|
392
|
-
onRetry:
|
|
389
|
+
/* @__PURE__ */ _(re, {
|
|
390
|
+
loading: Pe,
|
|
391
|
+
error: Fe,
|
|
392
|
+
onRetry: x,
|
|
393
393
|
hasData: !!r,
|
|
394
|
-
children: /* @__PURE__ */
|
|
394
|
+
children: /* @__PURE__ */ v("div", {
|
|
395
395
|
className: "space-y-6",
|
|
396
396
|
children: [
|
|
397
|
-
/* @__PURE__ */
|
|
397
|
+
/* @__PURE__ */ _(y, { children: /* @__PURE__ */ v("div", {
|
|
398
398
|
className: "grid grid-cols-2 gap-4 lg:grid-cols-4",
|
|
399
399
|
children: [
|
|
400
|
-
/* @__PURE__ */
|
|
400
|
+
/* @__PURE__ */ _(i, {
|
|
401
401
|
title: "Tracked Keywords",
|
|
402
|
-
value: s(
|
|
403
|
-
icon: /* @__PURE__ */
|
|
402
|
+
value: s(Y?.totalKeywords ?? 0),
|
|
403
|
+
icon: /* @__PURE__ */ _(Se, { className: "h-5 w-5" }),
|
|
404
404
|
featured: !0
|
|
405
405
|
}),
|
|
406
|
-
/* @__PURE__ */
|
|
406
|
+
/* @__PURE__ */ _(i, {
|
|
407
407
|
title: "Avg Rank",
|
|
408
408
|
value: Ze,
|
|
409
|
-
icon: /* @__PURE__ */
|
|
409
|
+
icon: /* @__PURE__ */ _(_e, { className: "h-5 w-5" })
|
|
410
410
|
}),
|
|
411
|
-
/* @__PURE__ */
|
|
411
|
+
/* @__PURE__ */ _(i, {
|
|
412
412
|
title: "Keywords Improved",
|
|
413
|
-
value: s(
|
|
414
|
-
icon: /* @__PURE__ */
|
|
413
|
+
value: s(Y?.keywordsImproved ?? 0),
|
|
414
|
+
icon: /* @__PURE__ */ _(ge, { className: "h-5 w-5" })
|
|
415
415
|
}),
|
|
416
|
-
/* @__PURE__ */
|
|
416
|
+
/* @__PURE__ */ _(i, {
|
|
417
417
|
title: "Avg SEO Score",
|
|
418
418
|
value: Qe,
|
|
419
|
-
icon: /* @__PURE__ */
|
|
419
|
+
icon: /* @__PURE__ */ _(be, { className: "h-5 w-5" })
|
|
420
420
|
})
|
|
421
421
|
]
|
|
422
422
|
}) }),
|
|
423
|
-
|
|
423
|
+
S === "keywords" && /* @__PURE__ */ v("div", {
|
|
424
424
|
className: "space-y-4",
|
|
425
425
|
children: [
|
|
426
|
-
/* @__PURE__ */
|
|
426
|
+
/* @__PURE__ */ v("div", {
|
|
427
427
|
className: "flex flex-col gap-2 sm:flex-row sm:items-center",
|
|
428
428
|
children: [
|
|
429
|
-
/* @__PURE__ */
|
|
429
|
+
/* @__PURE__ */ v("div", {
|
|
430
430
|
className: "relative flex-1 min-w-[14rem]",
|
|
431
|
-
children: [/* @__PURE__ */
|
|
431
|
+
children: [/* @__PURE__ */ _(p, { className: "absolute start-3 top-1/2 -translate-y-1/2 h-4 w-4 text-text-secondary" }), /* @__PURE__ */ _("input", {
|
|
432
432
|
type: "text",
|
|
433
|
-
value:
|
|
434
|
-
onChange: (e) =>
|
|
433
|
+
value: w,
|
|
434
|
+
onChange: (e) => T(e.target.value),
|
|
435
435
|
placeholder: "Search keywords or enter a new keyword to research...",
|
|
436
436
|
className: "w-full rounded-md border border-border-subtle bg-bg-surface px-9 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
437
437
|
})]
|
|
438
438
|
}),
|
|
439
|
-
/* @__PURE__ */
|
|
440
|
-
value:
|
|
441
|
-
onChange: (e) =>
|
|
439
|
+
/* @__PURE__ */ _(De, {
|
|
440
|
+
value: E,
|
|
441
|
+
onChange: (e) => D(e.target.value),
|
|
442
442
|
"aria-label": "Filter keywords by status",
|
|
443
443
|
className: "rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
|
|
444
|
-
children:
|
|
444
|
+
children: ke.map((e) => /* @__PURE__ */ _("option", {
|
|
445
445
|
value: e.value,
|
|
446
446
|
children: e.label
|
|
447
447
|
}, e.value))
|
|
448
448
|
}),
|
|
449
|
-
/* @__PURE__ */
|
|
449
|
+
/* @__PURE__ */ _("input", {
|
|
450
450
|
type: "url",
|
|
451
|
-
value:
|
|
451
|
+
value: N,
|
|
452
452
|
onChange: (e) => Be(e.target.value),
|
|
453
453
|
placeholder: "Your site (optional), e.g. example.com",
|
|
454
454
|
"aria-label": "Your site URL for rank tracking",
|
|
455
455
|
className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)] sm:w-56"
|
|
456
456
|
}),
|
|
457
|
-
/* @__PURE__ */
|
|
457
|
+
/* @__PURE__ */ _("button", {
|
|
458
458
|
type: "button",
|
|
459
|
-
onClick: () => void
|
|
460
|
-
disabled:
|
|
459
|
+
onClick: () => void st(),
|
|
460
|
+
disabled: A || !w.trim(),
|
|
461
461
|
className: "inline-flex min-h-[44px] items-center justify-center rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-50",
|
|
462
|
-
children:
|
|
462
|
+
children: A ? "Researching…" : "Research"
|
|
463
463
|
})
|
|
464
464
|
]
|
|
465
465
|
}),
|
|
466
|
-
|
|
466
|
+
U && /* @__PURE__ */ _("div", {
|
|
467
467
|
className: "rounded-md border border-status-error-border/30 bg-status-error-bg/10 px-3 py-2 text-sm text-status-error-text",
|
|
468
|
-
children:
|
|
468
|
+
children: U
|
|
469
469
|
}),
|
|
470
|
-
|
|
470
|
+
G && !U && /* @__PURE__ */ _("div", {
|
|
471
471
|
className: "rounded-md border border-status-success-border/30 bg-status-success-bg/10 px-3 py-2 text-sm text-status-success-text",
|
|
472
|
-
children:
|
|
472
|
+
children: G
|
|
473
473
|
}),
|
|
474
|
-
|
|
474
|
+
M && /* @__PURE__ */ _("div", {
|
|
475
475
|
"data-testid": "seo-provider-status",
|
|
476
|
-
className: o("rounded-md border px-3 py-2 text-sm",
|
|
477
|
-
children:
|
|
476
|
+
className: o("rounded-md border px-3 py-2 text-sm", ze ? "border-border-subtle bg-bg-sunken text-text-secondary" : "border-status-warning-border/30 bg-status-warning-bg/10 text-status-warning-text"),
|
|
477
|
+
children: ze ? `Keyword data from ${M.provider ?? "the configured provider"}. Ranks are checked every ${M.rankCheckIntervalHours} hours for keywords with a site URL. ${M.callsThisMonth} of ${M.monthlyCallCap} lookups used this month.` : `${M.unavailableReason ?? "Keyword data is unavailable."} Volume, difficulty and CPC show "—" (no data) until data is available.`
|
|
478
478
|
}),
|
|
479
|
-
/* @__PURE__ */
|
|
479
|
+
/* @__PURE__ */ v("div", {
|
|
480
480
|
className: "grid grid-cols-1 gap-6 lg:grid-cols-3",
|
|
481
|
-
children: [/* @__PURE__ */
|
|
481
|
+
children: [/* @__PURE__ */ v("div", {
|
|
482
482
|
className: "min-w-0 space-y-3 lg:col-span-2",
|
|
483
|
-
children: [/* @__PURE__ */
|
|
483
|
+
children: [/* @__PURE__ */ v("div", {
|
|
484
484
|
className: "flex items-center justify-between gap-2",
|
|
485
|
-
children: [/* @__PURE__ */
|
|
485
|
+
children: [/* @__PURE__ */ _("h3", {
|
|
486
486
|
className: "text-sm font-semibold text-text-primary",
|
|
487
487
|
children: "Keyword rankings"
|
|
488
|
-
}), /* @__PURE__ */
|
|
488
|
+
}), /* @__PURE__ */ v("span", {
|
|
489
489
|
className: "text-xs text-text-secondary tabular-nums",
|
|
490
|
-
children: [
|
|
490
|
+
children: [J.length, J.length === 1 ? " keyword" : " keywords"]
|
|
491
491
|
})]
|
|
492
|
-
}),
|
|
493
|
-
illustration:
|
|
494
|
-
title:
|
|
495
|
-
description:
|
|
496
|
-
action:
|
|
492
|
+
}), J.length === 0 ? /* @__PURE__ */ _(a, {
|
|
493
|
+
illustration: X ? "empty-search" : "empty-generic",
|
|
494
|
+
title: X ? "No keywords match your filters" : "No keywords yet",
|
|
495
|
+
description: X ? "Try a different search term or status filter." : "Research a keyword above to start tracking its search volume, difficulty and ranking opportunities.",
|
|
496
|
+
action: X && $e ? /* @__PURE__ */ _("button", {
|
|
497
497
|
type: "button",
|
|
498
498
|
onClick: () => {
|
|
499
|
-
|
|
499
|
+
T(""), D("all");
|
|
500
500
|
},
|
|
501
501
|
className: "inline-flex items-center gap-2 rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken",
|
|
502
502
|
children: "Clear filters"
|
|
503
503
|
}) : void 0
|
|
504
|
-
}) : /* @__PURE__ */
|
|
505
|
-
data:
|
|
504
|
+
}) : /* @__PURE__ */ _(te, {
|
|
505
|
+
data: J,
|
|
506
506
|
columns: et,
|
|
507
507
|
pageSize: 10,
|
|
508
|
-
onRowClick: (e) =>
|
|
508
|
+
onRowClick: (e) => P(e.id)
|
|
509
509
|
})]
|
|
510
|
-
}), /* @__PURE__ */
|
|
510
|
+
}), /* @__PURE__ */ _("div", {
|
|
511
511
|
className: "lg:col-span-1",
|
|
512
|
-
children: /* @__PURE__ */
|
|
513
|
-
audit:
|
|
512
|
+
children: /* @__PURE__ */ _(me, {
|
|
513
|
+
audit: Q,
|
|
514
514
|
hasAudit: rt,
|
|
515
|
-
onViewIssues: () =>
|
|
515
|
+
onViewIssues: () => C("audit"),
|
|
516
516
|
onRunAudit: () => {
|
|
517
|
-
|
|
517
|
+
H(null), L(b), F(!0);
|
|
518
518
|
}
|
|
519
519
|
})
|
|
520
520
|
})]
|
|
521
521
|
})
|
|
522
522
|
]
|
|
523
523
|
}),
|
|
524
|
-
|
|
524
|
+
S === "audit" && /* @__PURE__ */ _("div", {
|
|
525
525
|
className: "space-y-6",
|
|
526
|
-
children: rt ? /* @__PURE__ */
|
|
527
|
-
/* @__PURE__ */
|
|
526
|
+
children: rt ? /* @__PURE__ */ v(g, { children: [
|
|
527
|
+
/* @__PURE__ */ _("div", {
|
|
528
528
|
className: "flex items-center justify-between gap-2",
|
|
529
|
-
children: /* @__PURE__ */
|
|
529
|
+
children: /* @__PURE__ */ v("p", {
|
|
530
530
|
className: "text-sm text-text-secondary truncate",
|
|
531
531
|
children: [
|
|
532
532
|
"Audited:",
|
|
533
533
|
" ",
|
|
534
|
-
/* @__PURE__ */
|
|
534
|
+
/* @__PURE__ */ _("span", {
|
|
535
535
|
className: "text-text-primary",
|
|
536
|
-
children:
|
|
536
|
+
children: Q.url
|
|
537
537
|
})
|
|
538
538
|
]
|
|
539
539
|
})
|
|
540
540
|
}),
|
|
541
|
-
/* @__PURE__ */
|
|
541
|
+
/* @__PURE__ */ _(y, { children: /* @__PURE__ */ v("div", {
|
|
542
542
|
className: "grid grid-cols-1 gap-6 md:grid-cols-[auto_1fr] md:items-center",
|
|
543
|
-
children: [/* @__PURE__ */
|
|
543
|
+
children: [/* @__PURE__ */ v("div", {
|
|
544
544
|
className: "flex flex-col items-center gap-2",
|
|
545
|
-
children: [/* @__PURE__ */
|
|
546
|
-
score:
|
|
545
|
+
children: [/* @__PURE__ */ _(pe, {
|
|
546
|
+
score: Q.score,
|
|
547
547
|
size: 140
|
|
548
|
-
}), /* @__PURE__ */
|
|
548
|
+
}), /* @__PURE__ */ _("p", {
|
|
549
549
|
className: "text-xs font-medium text-text-secondary",
|
|
550
550
|
children: "Overall Score"
|
|
551
551
|
})]
|
|
552
|
-
}), /* @__PURE__ */
|
|
552
|
+
}), /* @__PURE__ */ _("div", {
|
|
553
553
|
className: "grid grid-cols-2 gap-3 lg:grid-cols-4",
|
|
554
554
|
children: [
|
|
555
555
|
{
|
|
556
556
|
label: "Performance",
|
|
557
|
-
score:
|
|
557
|
+
score: Q.performanceScore
|
|
558
558
|
},
|
|
559
559
|
{
|
|
560
560
|
label: "Accessibility",
|
|
561
|
-
score:
|
|
561
|
+
score: Q.accessibilityScore
|
|
562
562
|
},
|
|
563
563
|
{
|
|
564
564
|
label: "SEO",
|
|
565
|
-
score:
|
|
565
|
+
score: Q.seoScore
|
|
566
566
|
},
|
|
567
567
|
{
|
|
568
568
|
label: "Best Practices",
|
|
569
|
-
score:
|
|
569
|
+
score: Q.bestPracticesScore
|
|
570
570
|
}
|
|
571
|
-
].map((e) => /* @__PURE__ */
|
|
571
|
+
].map((e) => /* @__PURE__ */ v("div", {
|
|
572
572
|
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-4 text-center",
|
|
573
|
-
children: [/* @__PURE__ */
|
|
574
|
-
className: o("text-3xl font-bold tabular-nums",
|
|
573
|
+
children: [/* @__PURE__ */ _("p", {
|
|
574
|
+
className: o("text-3xl font-bold tabular-nums", $(e.score)),
|
|
575
575
|
children: Math.round(e.score)
|
|
576
|
-
}), /* @__PURE__ */
|
|
576
|
+
}), /* @__PURE__ */ _("p", {
|
|
577
577
|
className: "text-xs text-text-secondary mt-1",
|
|
578
578
|
children: e.label
|
|
579
579
|
})]
|
|
580
580
|
}, e.label))
|
|
581
581
|
})]
|
|
582
582
|
}) }),
|
|
583
|
-
/* @__PURE__ */
|
|
583
|
+
/* @__PURE__ */ _("div", {
|
|
584
584
|
className: "grid grid-cols-3 md:grid-cols-6 gap-3",
|
|
585
585
|
children: [
|
|
586
586
|
{
|
|
587
587
|
label: "Pages Crawled",
|
|
588
|
-
value:
|
|
588
|
+
value: Q.crawledPages
|
|
589
589
|
},
|
|
590
590
|
{
|
|
591
591
|
label: "Reachable",
|
|
592
|
-
value:
|
|
592
|
+
value: Q.reachablePages
|
|
593
593
|
},
|
|
594
594
|
{
|
|
595
595
|
label: "Unreachable",
|
|
596
|
-
value:
|
|
596
|
+
value: Q.unreachablePages
|
|
597
597
|
},
|
|
598
598
|
{
|
|
599
599
|
label: "Missing Meta",
|
|
600
|
-
value:
|
|
600
|
+
value: Q.missingMetaTags
|
|
601
601
|
},
|
|
602
602
|
{
|
|
603
603
|
label: "Slow Pages",
|
|
604
|
-
value:
|
|
604
|
+
value: Q.slowPages
|
|
605
605
|
},
|
|
606
606
|
{
|
|
607
607
|
label: "Mobile Issues",
|
|
608
|
-
value:
|
|
608
|
+
value: Q.mobileIssues
|
|
609
609
|
}
|
|
610
|
-
].map((e) => /* @__PURE__ */
|
|
610
|
+
].map((e) => /* @__PURE__ */ v("div", {
|
|
611
611
|
className: "rounded-md border border-border-seam bg-gloss-card shadow-pop p-3 text-center",
|
|
612
|
-
children: [/* @__PURE__ */
|
|
612
|
+
children: [/* @__PURE__ */ _("p", {
|
|
613
613
|
className: "text-lg font-semibold text-text-primary",
|
|
614
614
|
children: e.value
|
|
615
|
-
}), /* @__PURE__ */
|
|
615
|
+
}), /* @__PURE__ */ _("p", {
|
|
616
616
|
className: "text-[10px] text-text-secondary",
|
|
617
617
|
children: e.label
|
|
618
618
|
})]
|
|
619
619
|
}, e.label))
|
|
620
620
|
}),
|
|
621
|
-
|
|
621
|
+
Q.crawlTimedOut && /* @__PURE__ */ v("p", {
|
|
622
622
|
className: "text-xs text-text-secondary",
|
|
623
623
|
children: [
|
|
624
624
|
"The crawl reached its time limit, so the report covers the",
|
|
625
625
|
" ",
|
|
626
|
-
|
|
626
|
+
Q.crawledPages,
|
|
627
627
|
" pages fetched before it stopped."
|
|
628
628
|
]
|
|
629
629
|
}),
|
|
630
|
-
/* @__PURE__ */
|
|
630
|
+
/* @__PURE__ */ v("div", { children: [/* @__PURE__ */ v("h3", {
|
|
631
631
|
className: "text-sm font-semibold text-text-primary mb-3",
|
|
632
632
|
children: [
|
|
633
633
|
"Issues (",
|
|
634
|
-
|
|
634
|
+
Q.issues.length,
|
|
635
635
|
")",
|
|
636
|
-
|
|
637
|
-
className: "
|
|
638
|
-
children: [
|
|
636
|
+
Q.passedChecks > 0 && /* @__PURE__ */ v("span", {
|
|
637
|
+
className: "ms-2 text-xs font-normal text-text-secondary",
|
|
638
|
+
children: [Q.passedChecks, " checks passed"]
|
|
639
639
|
})
|
|
640
640
|
]
|
|
641
|
-
}),
|
|
641
|
+
}), Q.issues.length === 0 ? /* @__PURE__ */ _("p", {
|
|
642
642
|
className: "text-sm text-text-secondary",
|
|
643
643
|
children: "No issues found in the latest audit."
|
|
644
|
-
}) : /* @__PURE__ */
|
|
644
|
+
}) : /* @__PURE__ */ _("div", {
|
|
645
645
|
className: "space-y-2",
|
|
646
|
-
children:
|
|
647
|
-
let t =
|
|
648
|
-
return /* @__PURE__ */
|
|
646
|
+
children: Q.issues.map((e) => {
|
|
647
|
+
let t = Ae[e.type] || d;
|
|
648
|
+
return /* @__PURE__ */ _("div", {
|
|
649
649
|
className: o("rounded-lg border bg-bg-surface p-4", e.status === "fixed" ? "border-status-success-border bg-status-success-bg/50 opacity-60" : "border-border-subtle"),
|
|
650
|
-
children: /* @__PURE__ */
|
|
650
|
+
children: /* @__PURE__ */ v("div", {
|
|
651
651
|
className: "flex items-start gap-3",
|
|
652
|
-
children: [/* @__PURE__ */
|
|
652
|
+
children: [/* @__PURE__ */ _(t, { className: o("h-5 w-5 mt-0.5 flex-shrink-0", je[e.type]) }), /* @__PURE__ */ v("div", {
|
|
653
653
|
className: "flex-1",
|
|
654
654
|
children: [
|
|
655
|
-
/* @__PURE__ */
|
|
655
|
+
/* @__PURE__ */ v("div", {
|
|
656
656
|
className: "flex items-center justify-between gap-2",
|
|
657
|
-
children: [/* @__PURE__ */
|
|
657
|
+
children: [/* @__PURE__ */ _("p", {
|
|
658
658
|
className: "text-sm font-medium text-text-primary",
|
|
659
659
|
children: e.description
|
|
660
|
-
}), /* @__PURE__ */
|
|
660
|
+
}), /* @__PURE__ */ _("div", {
|
|
661
661
|
className: "flex items-center gap-2",
|
|
662
|
-
children: /* @__PURE__ */
|
|
662
|
+
children: /* @__PURE__ */ _("span", {
|
|
663
663
|
className: o("rounded-full px-2 py-0.5 text-[10px] font-medium capitalize", e.impact === "high" ? "bg-status-error-bg text-status-error-text" : e.impact === "medium" ? "bg-status-warning-bg text-status-warning-text" : "bg-status-info-bg text-status-info-text"),
|
|
664
664
|
children: e.impact
|
|
665
665
|
})
|
|
666
666
|
})]
|
|
667
667
|
}),
|
|
668
|
-
/* @__PURE__ */
|
|
668
|
+
/* @__PURE__ */ v("p", {
|
|
669
669
|
className: "text-xs text-text-secondary mt-1",
|
|
670
670
|
children: [
|
|
671
671
|
"Page: ",
|
|
@@ -675,7 +675,7 @@ var Fe = () => {
|
|
|
675
675
|
e.category
|
|
676
676
|
]
|
|
677
677
|
}),
|
|
678
|
-
e.recommendation && /* @__PURE__ */
|
|
678
|
+
e.recommendation && /* @__PURE__ */ v("p", {
|
|
679
679
|
className: "text-xs text-text-secondary mt-1",
|
|
680
680
|
children: ["Recommendation: ", e.recommendation]
|
|
681
681
|
})
|
|
@@ -685,118 +685,118 @@ var Fe = () => {
|
|
|
685
685
|
}, e.id);
|
|
686
686
|
})
|
|
687
687
|
})] })
|
|
688
|
-
] }) : /* @__PURE__ */
|
|
688
|
+
] }) : /* @__PURE__ */ _(a, {
|
|
689
689
|
illustration: "empty-generic",
|
|
690
690
|
title: "No audits yet",
|
|
691
691
|
description: "Run a site audit to surface performance, accessibility and SEO issues.",
|
|
692
|
-
action: /* @__PURE__ */
|
|
692
|
+
action: /* @__PURE__ */ v("button", {
|
|
693
693
|
type: "button",
|
|
694
694
|
onClick: () => {
|
|
695
|
-
|
|
695
|
+
H(null), L(b), F(!0);
|
|
696
696
|
},
|
|
697
697
|
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90",
|
|
698
|
-
children: [/* @__PURE__ */
|
|
698
|
+
children: [/* @__PURE__ */ _(f, { className: "h-4 w-4" }), "Run Audit"]
|
|
699
699
|
})
|
|
700
700
|
})
|
|
701
701
|
}),
|
|
702
|
-
|
|
702
|
+
S === "optimization" && /* @__PURE__ */ v("div", {
|
|
703
703
|
className: "space-y-6",
|
|
704
704
|
children: [
|
|
705
|
-
/* @__PURE__ */
|
|
705
|
+
/* @__PURE__ */ v("div", {
|
|
706
706
|
className: "flex flex-wrap gap-2",
|
|
707
|
-
children: [/* @__PURE__ */
|
|
707
|
+
children: [/* @__PURE__ */ v("div", {
|
|
708
708
|
className: "relative flex-1 min-w-[16rem]",
|
|
709
|
-
children: [/* @__PURE__ */
|
|
709
|
+
children: [/* @__PURE__ */ _(xe, { className: "absolute start-3 top-1/2 -translate-y-1/2 h-4 w-4 text-text-secondary" }), /* @__PURE__ */ _("input", {
|
|
710
710
|
type: "url",
|
|
711
|
-
value:
|
|
712
|
-
onChange: (e) =>
|
|
711
|
+
value: O,
|
|
712
|
+
onChange: (e) => Ie(e.target.value),
|
|
713
713
|
placeholder: "Enter URL to analyze (e.g. https://headshotmarketing.com/blog/tips)",
|
|
714
714
|
className: "w-full rounded-md border border-border-subtle bg-bg-surface px-9 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
715
715
|
})]
|
|
716
|
-
}), /* @__PURE__ */
|
|
716
|
+
}), /* @__PURE__ */ _("button", {
|
|
717
717
|
type: "button",
|
|
718
|
-
onClick: () => void
|
|
719
|
-
disabled:
|
|
718
|
+
onClick: () => void ot(),
|
|
719
|
+
disabled: k || !O.trim(),
|
|
720
720
|
className: "rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-50",
|
|
721
|
-
children:
|
|
721
|
+
children: k ? "Analyzing…" : "Analyze"
|
|
722
722
|
})]
|
|
723
723
|
}),
|
|
724
|
-
|
|
724
|
+
V && /* @__PURE__ */ _("div", {
|
|
725
725
|
className: "rounded-md border border-status-error-border/30 bg-status-error-bg/10 px-3 py-2 text-sm text-status-error-text",
|
|
726
|
-
children:
|
|
726
|
+
children: V
|
|
727
727
|
}),
|
|
728
|
-
|
|
728
|
+
B ? /* @__PURE__ */ v("div", {
|
|
729
729
|
className: "space-y-4",
|
|
730
730
|
children: [
|
|
731
|
-
/* @__PURE__ */
|
|
731
|
+
/* @__PURE__ */ v("div", {
|
|
732
732
|
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-6 text-center",
|
|
733
733
|
children: [
|
|
734
|
-
/* @__PURE__ */
|
|
735
|
-
className: o("text-4xl font-bold",
|
|
736
|
-
children: Math.round(
|
|
734
|
+
/* @__PURE__ */ _("p", {
|
|
735
|
+
className: o("text-4xl font-bold", $(B.score)),
|
|
736
|
+
children: Math.round(B.score)
|
|
737
737
|
}),
|
|
738
|
-
/* @__PURE__ */
|
|
738
|
+
/* @__PURE__ */ _("p", {
|
|
739
739
|
className: "text-sm text-text-secondary mt-1",
|
|
740
740
|
children: "Overall Optimization Score"
|
|
741
741
|
}),
|
|
742
|
-
/* @__PURE__ */
|
|
742
|
+
/* @__PURE__ */ _("div", {
|
|
743
743
|
className: "w-full h-3 rounded-full bg-bg-sunken mt-3 overflow-hidden max-w-xs mx-auto",
|
|
744
|
-
children: /* @__PURE__ */
|
|
745
|
-
className: o("h-full rounded-full",
|
|
746
|
-
style: { width: `${Math.min(Math.max(
|
|
744
|
+
children: /* @__PURE__ */ _("div", {
|
|
745
|
+
className: o("h-full rounded-full", B.score >= 80 ? "bg-status-success-text" : B.score >= 60 ? "bg-status-warning-text" : "bg-status-error-text"),
|
|
746
|
+
style: { width: `${Math.min(Math.max(B.score, 0), 100)}%` }
|
|
747
747
|
})
|
|
748
748
|
})
|
|
749
749
|
]
|
|
750
750
|
}),
|
|
751
|
-
/* @__PURE__ */
|
|
751
|
+
/* @__PURE__ */ _("div", {
|
|
752
752
|
className: "grid grid-cols-2 md:grid-cols-4 gap-3",
|
|
753
753
|
children: [
|
|
754
754
|
{
|
|
755
755
|
label: "Performance",
|
|
756
|
-
score:
|
|
756
|
+
score: B.performanceScore
|
|
757
757
|
},
|
|
758
758
|
{
|
|
759
759
|
label: "Accessibility",
|
|
760
|
-
score:
|
|
760
|
+
score: B.accessibilityScore
|
|
761
761
|
},
|
|
762
762
|
{
|
|
763
763
|
label: "Best Practices",
|
|
764
|
-
score:
|
|
764
|
+
score: B.bestPracticesScore
|
|
765
765
|
},
|
|
766
766
|
{
|
|
767
767
|
label: "SEO",
|
|
768
|
-
score:
|
|
768
|
+
score: B.seoScore
|
|
769
769
|
}
|
|
770
|
-
].map((e) => /* @__PURE__ */
|
|
770
|
+
].map((e) => /* @__PURE__ */ v("div", {
|
|
771
771
|
className: "rounded-md border border-border-seam bg-gloss-card shadow-pop p-3 text-center",
|
|
772
|
-
children: [/* @__PURE__ */
|
|
773
|
-
className: o("text-lg font-semibold",
|
|
772
|
+
children: [/* @__PURE__ */ _("p", {
|
|
773
|
+
className: o("text-lg font-semibold", $(e.score)),
|
|
774
774
|
children: Math.round(e.score)
|
|
775
|
-
}), /* @__PURE__ */
|
|
775
|
+
}), /* @__PURE__ */ _("p", {
|
|
776
776
|
className: "text-[10px] text-text-secondary",
|
|
777
777
|
children: e.label
|
|
778
778
|
})]
|
|
779
779
|
}, e.label))
|
|
780
780
|
}),
|
|
781
|
-
|
|
781
|
+
B.issues.length === 0 ? /* @__PURE__ */ _("div", {
|
|
782
782
|
className: "rounded-lg border border-status-success-border/30 bg-status-success-bg/10 p-4 text-sm text-status-success-text",
|
|
783
783
|
children: "No on-page issues found — this page is well optimized."
|
|
784
|
-
}) : /* @__PURE__ */
|
|
784
|
+
}) : /* @__PURE__ */ _("div", {
|
|
785
785
|
className: "space-y-2",
|
|
786
|
-
children:
|
|
786
|
+
children: B.issues.map((e) => /* @__PURE__ */ _("div", {
|
|
787
787
|
className: "rounded-lg border border-border-seam bg-gloss-card shadow-pop p-4",
|
|
788
|
-
children: /* @__PURE__ */
|
|
788
|
+
children: /* @__PURE__ */ v("div", {
|
|
789
789
|
className: "flex items-start justify-between gap-3",
|
|
790
|
-
children: [/* @__PURE__ */
|
|
790
|
+
children: [/* @__PURE__ */ v("div", {
|
|
791
791
|
className: "flex items-start gap-3",
|
|
792
|
-
children: [e.impact === "high" ? /* @__PURE__ */
|
|
792
|
+
children: [e.impact === "high" ? /* @__PURE__ */ _(h, { className: "h-5 w-5 text-status-error-text flex-shrink-0" }) : e.impact === "medium" ? /* @__PURE__ */ _(he, { className: "h-5 w-5 text-status-warning-text flex-shrink-0" }) : /* @__PURE__ */ _(d, { className: "h-5 w-5 text-status-info-text flex-shrink-0" }), /* @__PURE__ */ v("div", { children: [/* @__PURE__ */ _("p", {
|
|
793
793
|
className: "text-sm font-medium text-text-primary",
|
|
794
794
|
children: e.description
|
|
795
|
-
}), e.recommendation && /* @__PURE__ */
|
|
795
|
+
}), e.recommendation && /* @__PURE__ */ _("p", {
|
|
796
796
|
className: "text-xs text-text-secondary",
|
|
797
797
|
children: e.recommendation
|
|
798
798
|
})] })]
|
|
799
|
-
}), /* @__PURE__ */
|
|
799
|
+
}), /* @__PURE__ */ _("span", {
|
|
800
800
|
className: "rounded-full bg-bg-sunken px-2 py-0.5 text-[10px] font-medium text-text-secondary capitalize whitespace-nowrap",
|
|
801
801
|
children: e.category
|
|
802
802
|
})]
|
|
@@ -804,7 +804,7 @@ var Fe = () => {
|
|
|
804
804
|
}, e.id))
|
|
805
805
|
})
|
|
806
806
|
]
|
|
807
|
-
}) : /* @__PURE__ */
|
|
807
|
+
}) : /* @__PURE__ */ _(a, {
|
|
808
808
|
illustration: "empty-generic",
|
|
809
809
|
title: "Analyze a page",
|
|
810
810
|
description: "Enter a URL above and run an analysis to see its optimization score and concrete on-page fixes."
|
|
@@ -814,84 +814,84 @@ var Fe = () => {
|
|
|
814
814
|
]
|
|
815
815
|
})
|
|
816
816
|
}),
|
|
817
|
-
/* @__PURE__ */
|
|
817
|
+
/* @__PURE__ */ _(ne, {
|
|
818
818
|
open: He,
|
|
819
|
-
onClose: () =>
|
|
819
|
+
onClose: () => F(!1),
|
|
820
820
|
title: "Run SEO audit",
|
|
821
821
|
description: "Analyze a URL for performance, accessibility and SEO issues.",
|
|
822
822
|
size: "md",
|
|
823
|
-
footer: /* @__PURE__ */
|
|
823
|
+
footer: /* @__PURE__ */ v(g, { children: [/* @__PURE__ */ _("button", {
|
|
824
824
|
type: "button",
|
|
825
|
-
onClick: () =>
|
|
825
|
+
onClick: () => F(!1),
|
|
826
826
|
className: "rounded-md border border-border-subtle px-4 py-2 text-sm font-medium text-text-primary hover:bg-bg-sunken",
|
|
827
827
|
children: "Cancel"
|
|
828
|
-
}), /* @__PURE__ */
|
|
828
|
+
}), /* @__PURE__ */ v("button", {
|
|
829
829
|
type: "button",
|
|
830
|
-
onClick: () => void
|
|
831
|
-
disabled:
|
|
830
|
+
onClick: () => void at(),
|
|
831
|
+
disabled: k,
|
|
832
832
|
className: "inline-flex items-center gap-2 rounded-md bg-action-primary-bg px-4 py-2 text-sm font-medium text-action-primary-text hover:bg-action-primary-bg/90 disabled:opacity-60",
|
|
833
|
-
children: [/* @__PURE__ */
|
|
833
|
+
children: [/* @__PURE__ */ _(f, { className: "h-4 w-4" }), k ? "Running…" : "Run Audit"]
|
|
834
834
|
})] }),
|
|
835
|
-
children: /* @__PURE__ */
|
|
835
|
+
children: /* @__PURE__ */ v("div", {
|
|
836
836
|
className: "space-y-3",
|
|
837
837
|
children: [
|
|
838
|
-
/* @__PURE__ */
|
|
838
|
+
/* @__PURE__ */ v("label", {
|
|
839
839
|
className: "block",
|
|
840
|
-
children: [/* @__PURE__ */
|
|
840
|
+
children: [/* @__PURE__ */ _("span", {
|
|
841
841
|
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
842
842
|
children: "URL to audit"
|
|
843
|
-
}), /* @__PURE__ */
|
|
843
|
+
}), /* @__PURE__ */ _("input", {
|
|
844
844
|
type: "url",
|
|
845
|
-
value:
|
|
846
|
-
onChange: (e) =>
|
|
845
|
+
value: I,
|
|
846
|
+
onChange: (e) => L(e.target.value),
|
|
847
847
|
placeholder: "https://example.com",
|
|
848
848
|
className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary placeholder:text-text-secondary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
849
849
|
})]
|
|
850
850
|
}),
|
|
851
|
-
/* @__PURE__ */
|
|
851
|
+
/* @__PURE__ */ v("label", {
|
|
852
852
|
className: "block",
|
|
853
853
|
children: [
|
|
854
|
-
/* @__PURE__ */
|
|
854
|
+
/* @__PURE__ */ _("span", {
|
|
855
855
|
className: "mb-1 block text-sm font-medium text-text-primary",
|
|
856
856
|
children: "Pages to crawl"
|
|
857
857
|
}),
|
|
858
|
-
/* @__PURE__ */
|
|
859
|
-
value:
|
|
858
|
+
/* @__PURE__ */ _(De, {
|
|
859
|
+
value: R,
|
|
860
860
|
onChange: (e) => Ue(Number(e.target.value)),
|
|
861
861
|
className: "w-full rounded-md border border-border-subtle bg-bg-surface px-3 py-2 text-sm text-text-primary focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]",
|
|
862
|
-
children:
|
|
862
|
+
children: Me.map((e) => /* @__PURE__ */ _("option", {
|
|
863
863
|
value: e.value,
|
|
864
864
|
children: e.label
|
|
865
865
|
}, e.value))
|
|
866
866
|
}),
|
|
867
|
-
/* @__PURE__ */
|
|
867
|
+
/* @__PURE__ */ _("span", {
|
|
868
868
|
className: "mt-1 block text-xs text-text-secondary",
|
|
869
869
|
children: "A crawl follows same-site links from this URL and reports on every page it reaches."
|
|
870
870
|
})
|
|
871
871
|
]
|
|
872
872
|
}),
|
|
873
|
-
|
|
873
|
+
V && /* @__PURE__ */ _("div", {
|
|
874
874
|
className: "rounded-md border border-status-error-border/30 bg-status-error-bg/10 px-3 py-2 text-sm text-status-error-text",
|
|
875
|
-
children:
|
|
875
|
+
children: V
|
|
876
876
|
})
|
|
877
877
|
]
|
|
878
878
|
})
|
|
879
879
|
}),
|
|
880
|
-
/* @__PURE__ */
|
|
880
|
+
/* @__PURE__ */ _(fe, {
|
|
881
881
|
keyword: tt,
|
|
882
|
-
provider:
|
|
883
|
-
available:
|
|
884
|
-
unavailableReason:
|
|
885
|
-
rankCheckIntervalHours:
|
|
882
|
+
provider: M ? {
|
|
883
|
+
available: M.keywordDataAvailable,
|
|
884
|
+
unavailableReason: M.unavailableReason ?? null,
|
|
885
|
+
rankCheckIntervalHours: M.rankCheckIntervalHours
|
|
886
886
|
} : null,
|
|
887
|
-
onClose: () =>
|
|
887
|
+
onClose: () => P(null),
|
|
888
888
|
onChanged: () => {
|
|
889
|
-
|
|
889
|
+
x(), j.refetch();
|
|
890
890
|
}
|
|
891
891
|
})
|
|
892
892
|
]
|
|
893
893
|
});
|
|
894
894
|
};
|
|
895
|
-
export {
|
|
895
|
+
export { Pe as SeoToolsPage };
|
|
896
896
|
|
|
897
897
|
//# sourceMappingURL=SeoToolsPage.js.map
|