Recl∆Im — the F∆I product line for Pflicht-basierte
Wirkungsanalyse und Reform-Vorschlags-Pipelines. Replaces the
working title 'Law-Heatmap', which described the demo view
rather than the platform. Heatmap, Norms list, Hub view,
Methodik are now four panes of the same Recl∆Im app.
Renames in this commit:
Flutter package lawheatmap_app -> reclaim_app
macOS bundle id ai.flemming.lawheatmapApp -> ai.flemming.reclaim
macOS PRODUCT_NAME lawheatmap_app -> reclaim_app
Theme tokens LawHeatmapColors/Space/Radius/Typography/Theme
-> Reclaim*
Surface card LawHeatmapCard -> ReclaimCard
Top-level widget LawHeatmapApp -> ReclaimApp
Theme files lawheatmap_theme.dart/lawheatmap_tokens.dart
-> reclaim_theme.dart/reclaim_tokens.dart
Widget file lawheatmap_card.dart -> reclaim_card.dart
Build script build-macos.sh paths and headline string
Docs MACHBARKEITSSTUDIE.md, METHODIK.md, RUN.md,
app/README.md, flow YAML
UI strings 'F∆I Law-Heatmap' / 'Law-Heatmap'
-> 'Recl∆Im' / 'Recl∆Im (F∆I)' for vendor-
prefixed contexts
flutter analyze: clean. flutter test: 2/2 passing.
The local working directory stays fai_lawheatmap/ for now —
the dir is referenced by the .claude project metadata; renaming
it would break session continuity for no real gain. The Forgejo
repo was renamed via API in the same change-set (fai/lawheatmap
-> fai/reclaim), with the legacy slug serving a redirect
courtesy of Forgejo's built-in rename handling.
Signed-off-by: flemming-it <sf@flemming.it>
85 lines
3.2 KiB
Dart
85 lines
3.2 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
import '../data/repository.dart';
|
|
import '../theme/reclaim_theme.dart';
|
|
import '../theme/reclaim_tokens.dart';
|
|
import '../widgets/delta_mark.dart';
|
|
import 'shell_page.dart';
|
|
|
|
/// First-run landing: brand mark, one-line claim, "enter app" CTA.
|
|
/// Mock-mode bypasses Hub connect; the live wire lands in week 1.
|
|
class LandingPage extends StatelessWidget {
|
|
const LandingPage({super.key, required this.repository});
|
|
|
|
final EvaluationRepository repository;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
final t = Theme.of(context).textTheme;
|
|
return Scaffold(
|
|
body: SafeArea(
|
|
child: Center(
|
|
child: ConstrainedBox(
|
|
constraints: const BoxConstraints(maxWidth: 720),
|
|
child: Padding(
|
|
padding: const EdgeInsets.symmetric(
|
|
horizontal: ReclaimSpace.xxl,
|
|
vertical: ReclaimSpace.xxxl,
|
|
),
|
|
child: Column(
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
const DeltaMark(size: 96),
|
|
const SizedBox(height: ReclaimSpace.xxl),
|
|
Text('Recl∆Im', style: t.displaySmall),
|
|
const SizedBox(height: ReclaimSpace.sm),
|
|
Text(
|
|
'Pflicht-basierte Wirkungsanalyse von Rechtsnormen — '
|
|
'auf Ch∆In, mit Quellen-Audit by construction.',
|
|
style: t.bodyLarge
|
|
?.copyWith(color: ReclaimColors.mute),
|
|
),
|
|
const SizedBox(height: ReclaimSpace.xxl),
|
|
Wrap(
|
|
crossAxisAlignment: WrapCrossAlignment.center,
|
|
spacing: ReclaimSpace.md,
|
|
runSpacing: ReclaimSpace.sm,
|
|
children: [
|
|
FilledButton.icon(
|
|
onPressed: () {
|
|
Navigator.of(context).pushReplacement(
|
|
MaterialPageRoute(
|
|
builder: (_) =>
|
|
ShellPage(repository: repository),
|
|
),
|
|
);
|
|
},
|
|
icon: const Icon(Icons.east),
|
|
label: const Text('App öffnen (Demo-Modus)'),
|
|
),
|
|
Text(
|
|
'Demo: 5 Pilot-Normen, ohne Hub-Verbindung',
|
|
style: t.labelSmall?.copyWith(
|
|
color: ReclaimColors.mute,
|
|
),
|
|
),
|
|
],
|
|
),
|
|
const SizedBox(height: ReclaimSpace.xl),
|
|
Text(
|
|
'v0.1.0 · Phase 0 · Mock-Modus · '
|
|
'Live-Hub-Anbindung folgt in Woche 1',
|
|
style: ReclaimTheme.mono(
|
|
t.labelSmall ?? const TextStyle(),
|
|
).copyWith(color: ReclaimColors.mute),
|
|
),
|
|
],
|
|
),
|
|
),
|
|
),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|