Added Tournament List and detail Page

This commit is contained in:
2026-03-04 08:14:21 +01:00
parent 597bfb60e8
commit 65a6089f5e
4 changed files with 46 additions and 7 deletions

View File

@@ -0,0 +1,31 @@
import 'package:flutter/material.dart';
import 'package:frontend_splatournament_manager/widgets/available_tournament_list.dart';
import 'package:go_router/go_router.dart';
class HomePage extends StatelessWidget {
const HomePage({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Splatournament"),
actions: [
PopupMenuButton(
onSelected: (value) {
context.go("/settings");
},
itemBuilder: (context) {
return [PopupMenuItem(value: 1,child: Text("Settings"),)];
},
),
],
),
body: Column(
children: [
AvailableTournamentList(),
],
)
);
}
}