Skip to content

Commit

Permalink
Fix layout and performance issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Alejandro-FA committed Nov 6, 2024
1 parent fbfba84 commit 9b46a0f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
Binary file removed assets/images/portrait.png
Binary file not shown.
Binary file added assets/images/portrait.webp
Binary file not shown.
5 changes: 2 additions & 3 deletions lib/pages/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class _Portrait extends StatelessWidget {
@override
Widget build(BuildContext context) => Padding(
padding: const EdgeInsets.only(top: 50),
child: Image.asset('assets/images/portrait.png'),
child: Image.asset('assets/images/portrait.webp'),
);
}

Expand All @@ -96,13 +96,12 @@ class _Greeting extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'Hello, I’m ',
'Hi, I’m ',
style: isCompact ? textTheme.displaySmall : textTheme.displayMedium,
),
Text(
'Alejandro Fernández',
style: nameStyle?.copyWith(
fontWeight: FontWeight.bold,
color: colorScheme.primary,
),
),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "portfolio",
"version": "0.4.0",
"version": "0.5.0",
"description": "Portfolio of Alejandro Fernández Alburquerque.",
"config": {
"port": 8080,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -921,4 +921,4 @@ packages:
version: "3.1.2"
sdks:
dart: ">=3.5.0 <4.0.0"
flutter: ">=3.24.0"
flutter: ">=3.24.4"
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 0.3.0
version: 0.5.0

environment:
sdk: ">=3.4.4 <4.0.0"
flutter: 3.24.0
flutter: 3.24.4

# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
Expand Down

0 comments on commit 9b46a0f

Please sign in to comment.