style(frontend): harmonize student demo labels
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import "package:flutter/material.dart";
|
||||
import "package:google_fonts/google_fonts.dart";
|
||||
import "../demo_identity.dart";
|
||||
import "../theme/ensup_colors.dart";
|
||||
import "../widgets/ensup_top_bar.dart";
|
||||
import "../widgets/profile_card.dart";
|
||||
@@ -38,9 +39,9 @@ class HomeScreen extends StatelessWidget {
|
||||
child: Column(
|
||||
children: [
|
||||
EnsupTopBar(
|
||||
campusTag: "Paris · Ensitech",
|
||||
userName: "Lucas Martin",
|
||||
userInitials: "LM",
|
||||
campusTag: DemoIdentity.campusTag,
|
||||
userName: DemoIdentity.userName,
|
||||
userInitials: DemoIdentity.userInitials,
|
||||
onBack: () => Navigator.of(context).pop(),
|
||||
),
|
||||
Expanded(
|
||||
@@ -50,9 +51,9 @@ class HomeScreen extends StatelessWidget {
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
const ProfileCard(
|
||||
name: "Lucas Martin",
|
||||
subtitle: "Étudiant · BTS SIO 2ème année · Ensitech Paris",
|
||||
initials: "LM",
|
||||
name: DemoIdentity.userName,
|
||||
subtitle: DemoIdentity.userSubtitle,
|
||||
initials: DemoIdentity.userInitials,
|
||||
),
|
||||
const SizedBox(height: 24),
|
||||
Text(
|
||||
@@ -89,7 +90,9 @@ class HomeScreen extends StatelessWidget {
|
||||
"Restituer un matériel que vous avez emprunté",
|
||||
color: EnsupColors.teal,
|
||||
onTap: () => Navigator.of(context).push(
|
||||
MaterialPageRoute(builder: (_) => const RestitutionSelectScreen()),
|
||||
MaterialPageRoute(
|
||||
builder: (_) => const RestitutionSelectScreen(),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user