fix(ui_kit): add local font assets + compress images

This commit is contained in:
Hugo Pointcheval 2023-02-14 14:48:11 +01:00
parent 8b5f56c1a8
commit f5aae45568
Signed by: hugo
GPG Key ID: 3AAC487E131E00BC
28 changed files with 11 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 756 KiB

View File

@ -46,7 +46,7 @@ class InformationCards extends StatelessWidget {
child: Container( child: Container(
decoration: const BoxDecoration( decoration: const BoxDecoration(
image: DecorationImage( image: DecorationImage(
image: AssetImage('assets/asset_1.png'), image: AssetImage('assets/images/asset_1.png'),
fit: BoxFit.fitHeight, fit: BoxFit.fitHeight,
alignment: Alignment.centerRight, alignment: Alignment.centerRight,
), ),
@ -112,7 +112,7 @@ class InformationCards extends StatelessWidget {
child: Container( child: Container(
decoration: const BoxDecoration( decoration: const BoxDecoration(
image: DecorationImage( image: DecorationImage(
image: AssetImage('assets/asset_1.png'), image: AssetImage('assets/images/asset_1.png'),
fit: BoxFit.fitHeight, fit: BoxFit.fitHeight,
alignment: Alignment.centerRight, alignment: Alignment.centerRight,
), ),

View File

@ -39,7 +39,7 @@ class PortfolioCards extends StatelessWidget {
], ],
assets: [ assets: [
Image.asset( Image.asset(
'assets/mockup_1.png', 'assets/images/mockup_1.png',
alignment: Alignment.topCenter, alignment: Alignment.topCenter,
fit: BoxFit.cover, fit: BoxFit.cover,
) )
@ -72,7 +72,7 @@ class PortfolioCards extends StatelessWidget {
], ],
assets: [ assets: [
Image.asset( Image.asset(
'assets/mockup_1.png', 'assets/images/mockup_1.png',
alignment: Alignment.topCenter, alignment: Alignment.topCenter,
fit: BoxFit.cover, fit: BoxFit.cover,
) )
@ -105,12 +105,12 @@ class PortfolioCards extends StatelessWidget {
], ],
assets: [ assets: [
Image.asset( Image.asset(
'assets/mockup_1.png', 'assets/images/mockup_1.png',
alignment: Alignment.topCenter, alignment: Alignment.topCenter,
fit: BoxFit.cover, fit: BoxFit.cover,
), ),
Image.asset( Image.asset(
'assets/mockup_1.png', 'assets/images/mockup_1.png',
alignment: Alignment.topCenter, alignment: Alignment.topCenter,
fit: BoxFit.cover, fit: BoxFit.cover,
) )
@ -148,17 +148,17 @@ class PortfolioCards extends StatelessWidget {
], ],
assets: [ assets: [
Image.asset( Image.asset(
'assets/mockup_1.png', 'assets/images/mockup_1.png',
alignment: Alignment.topCenter, alignment: Alignment.topCenter,
fit: BoxFit.cover, fit: BoxFit.cover,
), ),
Image.asset( Image.asset(
'assets/mockup_2.png', 'assets/images/mockup_2.png',
alignment: Alignment.topCenter, alignment: Alignment.topCenter,
fit: BoxFit.cover, fit: BoxFit.cover,
), ),
Image.asset( Image.asset(
'assets/mockup_1.png', 'assets/images/mockup_1.png',
alignment: Alignment.topCenter, alignment: Alignment.topCenter,
fit: BoxFit.cover, fit: BoxFit.cover,
) )

View File

@ -36,4 +36,5 @@ flutter:
uses-material-design: true uses-material-design: true
assets: assets:
- ./assets/ - ./assets/images/
- ./assets/fonts/montserrat/