Skip to content

Commit af7b281

Browse files
Fix host links to eryxon.eu
Update various pages to use https://eryxon.eu for docs/support links, remove external subdomain references, and route privacy/terms to host. Adjust auth/help/footer links accordingly; replace support emails with GitHub issues where appropriate; clean up unused imports. X-Lovable-Edit-ID: edt-c722b44c-93d4-4302-a94b-617b3de9324c
2 parents b0fd408 + 40c00b7 commit af7b281

File tree

8 files changed

+30
-46
lines changed

8 files changed

+30
-46
lines changed

src/components/AlphaBanner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function AlphaBanner() {
3232
<span className="text-center font-medium">
3333
{t("alphaBanner.message")}{" "}
3434
<a
35-
href="https://eryxon.eu/introduction/"
35+
href="https://eryxon.eu"
3636
target="_blank"
3737
rel="noopener noreferrer"
3838
className="underline hover:no-underline font-semibold"

src/components/onboarding/PlanSelection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Clock, Mail } from 'lucide-react';
1+
import { Clock, ExternalLink } from 'lucide-react';
22
import { Card, CardContent } from '@/components/ui/card';
33
import { Button } from '@/components/ui/button';
44
import { useTranslation } from 'react-i18next';
@@ -20,7 +20,7 @@ export function PlanSelection({ onPlanSelect, onSkip }: PlanSelectionProps) {
2020
};
2121

2222
const handleContactUs = () => {
23-
window.location.href = `mailto:office@sheetmetalconnect.com?subject=${encodeURIComponent('Pricing Inquiry')}`;
23+
window.open('https://github.com/SheetMetalConnect/eryxon-flow/issues', '_blank');
2424
};
2525

2626
return (
@@ -40,7 +40,7 @@ export function PlanSelection({ onPlanSelect, onSkip }: PlanSelectionProps) {
4040
{t('pricing.comingSoonDescription')}
4141
</p>
4242
<Button size="lg" onClick={handleContactUs} variant="outline">
43-
<Mail className="h-4 w-4 mr-2" />
43+
<ExternalLink className="h-4 w-4 mr-2" />
4444
{t('pricing.contactUs')}
4545
</Button>
4646
</CardContent>

src/pages/auth/Auth.tsx

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import {
1616
Monitor,
1717
Globe,
1818
BookOpen,
19-
Rocket,
2019
BarChart3,
2120
Shield,
2221
Zap,
@@ -31,9 +30,8 @@ import { cn } from "@/lib/utils";
3130
import AnimatedBackground from "@/components/AnimatedBackground";
3231

3332
const SITE_URL = "https://eryxon.eu";
34-
const DOCS_URL = `${SITE_URL}/docs`;
3533
const GITHUB_URL = "https://github.com/SheetMetalConnect/eryxon-flow";
36-
const APP_URL = "https://app.eryxon.eu";
34+
const GITHUB_ISSUES_URL = `${GITHUB_URL}/issues`;
3735

3836
export default function Auth() {
3937
const { t } = useTranslation();
@@ -151,7 +149,7 @@ export default function Auth() {
151149
{/* Quick Links */}
152150
<nav className="flex items-center gap-6">
153151
<a
154-
href={DOCS_URL}
152+
href={SITE_URL}
155153
target="_blank"
156154
rel="noopener noreferrer"
157155
className="flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors"
@@ -160,13 +158,13 @@ export default function Auth() {
160158
Documentation
161159
</a>
162160
<a
163-
href={`${DOCS_URL}/guides/quick-start/`}
161+
href={GITHUB_URL}
164162
target="_blank"
165163
rel="noopener noreferrer"
166164
className="flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground transition-colors"
167165
>
168-
<Rocket className="h-4 w-4" />
169-
Getting Started
166+
<Github className="h-4 w-4" />
167+
GitHub
170168
</a>
171169
<a
172170
href={GITHUB_URL}
@@ -224,7 +222,7 @@ export default function Auth() {
224222
{/* Bottom - Demo CTA */}
225223
<div className="flex items-center gap-4">
226224
<Button className="cta-button" asChild>
227-
<a href={`${DOCS_URL}/guides/quick-start/`} target="_blank" rel="noopener noreferrer">
225+
<a href={SITE_URL} target="_blank" rel="noopener noreferrer">
228226
<Play className="h-4 w-4" />
229227
Open Docs
230228
</a>
@@ -458,10 +456,10 @@ export default function Auth() {
458456
<Link to={ROUTES.COMMON.TERMS_OF_SERVICE} className="hover:text-foreground transition-colors">
459457
Terms
460458
</Link>
461-
<a href={DOCS_URL} target="_blank" rel="noopener noreferrer" className="hover:text-foreground transition-colors">
459+
<a href={SITE_URL} target="_blank" rel="noopener noreferrer" className="hover:text-foreground transition-colors">
462460
Docs
463461
</a>
464-
<a href={`${DOCS_URL}/guides/faq/`} target="_blank" rel="noopener noreferrer" className="hover:text-foreground transition-colors">
462+
<a href={GITHUB_ISSUES_URL} target="_blank" rel="noopener noreferrer" className="hover:text-foreground transition-colors">
465463
Support
466464
</a>
467465
</div>

src/pages/common/ApiDocs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ apiClient.post('/api-jobs', jobData)
300300
<CardDescription className="text-base">
301301
Production workflow management API for custom metals fabrication.
302302
Build integrations, automate workflows, and manage your production data programmatically.
303-
See <a href="https://eryxon.eu/api/api_documentation/" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline">full API documentation</a>.
303+
See <a href="https://eryxon.eu" target="_blank" rel="noopener noreferrer" className="text-primary hover:underline">full documentation</a>.
304304
</CardDescription>
305305
</div>
306306
<Badge variant="secondary" className="text-sm">

src/pages/common/Help.tsx

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ import {
1212
Calendar,
1313
CheckCircle,
1414
BookOpen,
15-
Users,
16-
Shield,
1715
HelpCircle,
1816
} from "lucide-react";
1917
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
@@ -71,28 +69,16 @@ export default function Help() {
7169

7270
const docLinks = [
7371
{
74-
href: "https://eryxon.eu/docs/guides/quick-start/",
72+
href: "https://eryxon.eu",
7573
icon: BookOpen,
76-
title: "Quick Start",
77-
desc: "Get up and running",
74+
title: "Documentation",
75+
desc: "Full docs & guides",
7876
},
7977
{
80-
href: "https://eryxon.eu/docs/guides/operator-manual/",
81-
icon: Users,
82-
title: "Operator Guide",
83-
desc: "For shop floor users",
84-
},
85-
{
86-
href: "https://eryxon.eu/docs/guides/admin-manual/",
87-
icon: Shield,
88-
title: "Admin Guide",
89-
desc: "Configuration & setup",
90-
},
91-
{
92-
href: "https://eryxon.eu/docs/guides/faq/",
78+
href: "https://github.com/SheetMetalConnect/eryxon-flow/issues",
9379
icon: HelpCircle,
94-
title: "FAQ",
95-
desc: "Common questions",
80+
title: "Report Issue",
81+
desc: "GitHub issues",
9682
},
9783
];
9884

@@ -112,7 +98,7 @@ export default function Help() {
11298
{/* Quick Links */}
11399
<div className="grid grid-cols-2 lg:grid-cols-4 gap-4 mb-8">
114100
<a
115-
href="https://eryxon.eu/docs"
101+
href="https://eryxon.eu"
116102
target="_blank"
117103
rel="noopener noreferrer"
118104
>
@@ -192,7 +178,7 @@ export default function Help() {
192178
</div>
193179
<div className="mt-4 pt-4 border-t border-white/10 text-center">
194180
<a
195-
href="https://eryxon.eu/docs"
181+
href="https://eryxon.eu"
196182
target="_blank"
197183
rel="noopener noreferrer"
198184
className="text-sm text-primary hover:underline inline-flex items-center gap-1"

src/pages/common/PrivacyPolicy.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,13 @@ export default function PrivacyPolicy() {
139139
<h2 className="text-lg font-semibold mb-2">9. Contact Information</h2>
140140
<p className="text-muted-foreground mb-4">
141141
For privacy-related inquiries, data access requests, or to exercise your GDPR rights,
142-
please contact us at:
142+
please visit:
143143
</p>
144144
<div className="text-muted-foreground space-y-1">
145-
<p><strong>Email:</strong> [email protected]</p>
145+
<p><strong>Website:</strong> <a href="https://eryxon.eu" target="_blank" rel="noopener noreferrer" className="underline hover:text-foreground">https://eryxon.eu</a></p>
146+
<p><strong>GitHub:</strong> <a href="https://github.com/SheetMetalConnect/eryxon-flow/issues" target="_blank" rel="noopener noreferrer" className="underline hover:text-foreground">Report an issue</a></p>
146147
<p><strong>Data Controller:</strong> Sheet Metal Connect e.U.</p>
147148
<p><strong>Address:</strong> Dr.-Karl-Lueger-Platz 4B / 16, 1010 Vienna, Austria</p>
148-
<p><strong>Contact Person:</strong> Luke van Enkhuizen</p>
149149
</div>
150150
<p className="text-muted-foreground mt-4">
151151
{t("legal.privacyPolicy.impressumLink")}{" "}

src/pages/common/SubscriptionBlocked.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ export const SubscriptionBlocked: React.FC<SubscriptionBlockedProps> = ({
9696
asChild
9797
className="w-full"
9898
>
99-
<a href="mailto:support@eryxonflow.com">
100-
Contact Support
99+
<a href="https://github.com/SheetMetalConnect/eryxon-flow/issues" target="_blank" rel="noopener noreferrer">
100+
Report Issue on GitHub
101101
</a>
102102
</Button>
103103
</div>
104104

105105
<p className="text-xs text-muted-foreground mt-6">
106-
Need help? Our support team is here to assist you.
106+
Need help? Visit <a href="https://eryxon.eu" target="_blank" rel="noopener noreferrer" className="underline">eryxon.eu</a> or open a GitHub issue.
107107
</p>
108108
</CardContent>
109109
</Card>

src/pages/common/TermsOfService.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,13 +197,13 @@ export default function TermsOfService() {
197197
<section>
198198
<h2 className="text-lg font-semibold mb-2">13. Contact Information</h2>
199199
<p className="text-muted-foreground mb-4">
200-
For questions about these Terms, please contact us at:
200+
For questions about these Terms, please visit:
201201
</p>
202202
<div className="text-muted-foreground space-y-1">
203-
<p><strong>Email:</strong> [email protected]</p>
203+
<p><strong>Website:</strong> <a href="https://eryxon.eu" target="_blank" rel="noopener noreferrer" className="underline hover:text-foreground">https://eryxon.eu</a></p>
204+
<p><strong>GitHub:</strong> <a href="https://github.com/SheetMetalConnect/eryxon-flow/issues" target="_blank" rel="noopener noreferrer" className="underline hover:text-foreground">Report an issue</a></p>
204205
<p><strong>Company:</strong> Sheet Metal Connect e.U.</p>
205206
<p><strong>Address:</strong> Dr.-Karl-Lueger-Platz 4B / 16, 1010 Vienna, Austria</p>
206-
<p><strong>Contact Person:</strong> Luke van Enkhuizen</p>
207207
</div>
208208
<p className="text-muted-foreground mt-4">
209209
{t("legal.termsOfService.impressumLink")}{" "}

0 commit comments

Comments
 (0)