Skip to content

Legal notice page: testnet-only scope, no-services disclosure, provider imprint - #35

Merged
moscowchill merged 1 commit into
devfrom
feat/legal-notice-page
Jul 14, 2026
Merged

Legal notice page: testnet-only scope, no-services disclosure, provider imprint#35
moscowchill merged 1 commit into
devfrom
feat/legal-notice-page

Conversation

@moscowchill

Copy link
Copy Markdown
Contributor

Adds a /legal page stating: contracts live only on the QRL 2.0 testnet and stQRL/testnet QRL are valueless test assets (no real funds, no public offer of a crypto-asset); QuantaPool is free open-source software, not a crypto-asset service under MiCA, no fees or commission; no warranty (GPL-3.0 s15/16); GPL-3.0 + repo link; DigitalGuards provider block (KvK 91987482) linking to the full imprint at qrlwallet.com/legal. Footer Legal link, RouteSeo entry, sitemap entry.

Gates: eslint --max-warnings 0 green, build (tsc -b + vite) green.

@moscowchill
moscowchill merged commit c61d1d1 into dev Jul 14, 2026
2 checks passed

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds a new Legal Notice page to the application, updating the sitemap, application routes, footer navigation, and SEO metadata. The reviewer identified a potential TypeScript compilation issue in the new LegalPage.tsx file due to missing imports for React.ComponentType and React.ReactNode, and provided a suggestion to import them directly from 'react'.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment on lines +1 to +14
import { Building2, Code2, FlaskConical, Scale, ShieldAlert } from "lucide-react";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/UI/Card";

function Section({
icon: Icon,
title,
children,
accent = "secondary",
}: {
icon: React.ComponentType<{ className?: string }>;
title: string;
children: React.ReactNode;
accent?: "secondary" | "blue";
}) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The types React.ComponentType and React.ReactNode are referenced, but React is not imported in this file. This will cause a TypeScript compilation error (Cannot find name 'React') unless React is globally available.

To resolve this, import ComponentType and ReactNode directly from 'react' and use them.

import { ComponentType, ReactNode } from "react";
import { Building2, Code2, FlaskConical, Scale, ShieldAlert } from "lucide-react";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/UI/Card";

function Section({
  icon: Icon,
  title,
  children,
  accent = "secondary",
}: {
  icon: ComponentType<{ className?: string }>;
  title: string;
  children: ReactNode;
  accent?: "secondary" | "blue";
}) {

@moscowchill
moscowchill deleted the feat/legal-notice-page branch July 15, 2026 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant