update
This commit is contained in:
parent
5469c484e1
commit
c87b10a050
11 changed files with 241 additions and 39 deletions
|
|
@ -1,8 +1,10 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
// import 'package:google_fonts/google_fonts.dart';
|
||||
import 'package:gap/gap.dart';
|
||||
import 'package:pharmacy_mobile/widgets/button_widget.dart';
|
||||
import 'package:pharmacy_mobile/widgets/text_widget.dart';
|
||||
import 'package:pharmacy_mobile/widgets/title_widget.dart';
|
||||
|
||||
class IndexPage extends StatelessWidget {
|
||||
const IndexPage({super.key});
|
||||
|
|
@ -21,8 +23,9 @@ class IndexPage extends StatelessWidget {
|
|||
decoration: const BoxDecoration(
|
||||
gradient: LinearGradient(
|
||||
colors: [
|
||||
Color.fromRGBO(34, 51, 69, 1),
|
||||
Color.fromRGBO(22, 32, 44, 1),
|
||||
Color.fromRGBO(165, 105, 189, 1),
|
||||
Color.fromRGBO(142, 68, 173, 1),
|
||||
Color.fromRGBO(165, 105, 189, 1),
|
||||
],
|
||||
begin: Alignment.topCenter,
|
||||
end: Alignment.bottomCenter,
|
||||
|
|
@ -33,20 +36,18 @@ class IndexPage extends StatelessWidget {
|
|||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: [
|
||||
const Gap(120),
|
||||
Text('Ofelia Franco-Alcala',
|
||||
style: GoogleFonts.outfit(
|
||||
textStyle: const TextStyle(color: Color.fromRGBO(255, 255, 255, 1), fontSize: 32))),
|
||||
Text('Pharmacy',
|
||||
style: GoogleFonts.outfit(
|
||||
textStyle: const TextStyle(color: Color.fromRGBO(255, 255, 255, 1), fontSize: 40))),
|
||||
const TitleWidget(firstTextSize: 32, secondTextSize: 40),
|
||||
const Gap(32),
|
||||
Padding(
|
||||
padding: const EdgeInsets.fromLTRB(0, 0, 16, 0),
|
||||
child: Image.asset('assets/ph_logo.webp',
|
||||
width: 256, cacheWidth: (256 * MediaQuery.of(context).devicePixelRatio).round()),
|
||||
width: 200, cacheWidth: (200 * MediaQuery.of(context).devicePixelRatio).round()),
|
||||
),
|
||||
const Gap(32),
|
||||
ButtonWidget(text: 'Login', onPressed: gotoLogin)
|
||||
ButtonWidget(text: 'Login', onPressed: gotoLogin),
|
||||
const MaxGap(500),
|
||||
const TextWidget(text: 'Copyright © 2025 - Ofelia Franco-Alcala Pharmacy', size: 14),
|
||||
const TextWidget(text: 'Developed By: Pat Alcala', size: 12)
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue