mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 21:32:18 +00:00
feat(cycle): drop the standing disclaimer from the cycle-tracking settings card
The card carried a four-sentence non-medical notice at the top of the cycle on-ramp. It goes, at the maintainer's decision. The goal-specific caveat on the prediction surface is untouched: a profile set to avoid pregnancy still gets the stronger "not a contraceptive method" copy, which is chosen server-side by goal and shared with the native client, so nothing about that path changes here. Removes the key from all six locales and the now-unused icon import.
This commit is contained in:
1 parent
ed05c49f6f
commit
a8b61abf6f
7 files changed
+1
-22
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
||||
import Link from "next/link";
|
||||
import { CalendarHeart, Info } from "lucide-react";
|
||||
import { CalendarHeart } from "lucide-react";
|
||||
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Label } from "@/components/ui/label";
|
||||
@@ -79,21 +79,6 @@ export function CycleTrackingCard({
|
||||
className="mt-0.5 shrink-0"
|
||||
/>
|
||||
</div>
|
||||
{/* The single, prominent non-medical disclaimer for the whole cycle
|
||||
vertical. It lives here at the on-ramp — where expectations are
|
||||
set — instead of repeating beneath every prediction surface. */}
|
||||
<div
|
||||
data-slot="cycle-tracking-disclaimer"
|
||||
className="border-border bg-muted/40 flex items-start gap-2.5 rounded-lg border-l-2 p-3"
|
||||
>
|
||||
<Info
|
||||
className="text-muted-foreground mt-0.5 h-4 w-4 shrink-0"
|
||||
aria-hidden="true"
|
||||
/>
|
||||
<p className="text-foreground/80 text-xs leading-relaxed">
|
||||
{t("settings.cycleTracking.disclaimer")}
|
||||
</p>
|
||||
</div>
|
||||
{enabled ? (
|
||||
<Button
|
||||
variant="outline"
|
||||
|
||||
Reference in new issue
Block a user