Frontend first draft
This commit is contained in:
19
frontend/pweb/lib/pages/errors/not_found.dart
Normal file
19
frontend/pweb/lib/pages/errors/not_found.dart
Normal file
@@ -0,0 +1,19 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'package:pweb/pages/errors/error.dart';
|
||||
|
||||
import 'package:pweb/generated/i18n/app_localizations.dart';
|
||||
|
||||
|
||||
class NotFoundPage extends StatelessWidget {
|
||||
const NotFoundPage({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => Scaffold(
|
||||
body: ErrorPage(
|
||||
title: AppLocalizations.of(context)!.errorPageNotFoundTitle,
|
||||
errorMessage: AppLocalizations.of(context)!.errorPageNotFoundMessage,
|
||||
errorHint: AppLocalizations.of(context)!.errorPageNotFoundHint,
|
||||
),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user