Skip to content

Commit

Permalink
Merge pull request #22 from felipecastrosales/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
felipecastrosales authored Sep 22, 2024
2 parents 3e88c58 + 6b4cf06 commit 71153fd
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 0 deletions.
8 changes: 8 additions & 0 deletions assets/components/social/medium.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions lib/app/core/l10n/localizations/app_localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import 'app_localizations_en.dart';
import 'app_localizations_es.dart';
import 'app_localizations_pt.dart';

// ignore_for_file: type=lint

/// Callers can lookup localized strings with an instance of AppLocalizations
/// returned by `AppLocalizations.of(context)`.
///
Expand Down Expand Up @@ -281,6 +283,12 @@ abstract class AppLocalizations {
/// **'Instagram'**
String get instagram;

/// No description provided for @medium.
///
/// In pt, this message translates to:
/// **'Medium'**
String get medium;

/// No description provided for @followMeOnMySocialNetworks.
///
/// In pt, this message translates to:
Expand Down
5 changes: 5 additions & 0 deletions lib/app/core/l10n/localizations/app_localizations_en.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import 'app_localizations.dart';

// ignore_for_file: type=lint

/// The translations for English (`en`).
class AppLocalizationsEn extends AppLocalizations {
AppLocalizationsEn([String locale = 'en']) : super(locale);
Expand Down Expand Up @@ -97,6 +99,9 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get instagram => 'Instagram';

@override
String get medium => 'Medium';

@override
String get followMeOnMySocialNetworks => 'Follow me on my social networks';

Expand Down
5 changes: 5 additions & 0 deletions lib/app/core/l10n/localizations/app_localizations_es.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import 'app_localizations.dart';

// ignore_for_file: type=lint

/// The translations for Spanish Castilian (`es`).
class AppLocalizationsEs extends AppLocalizations {
AppLocalizationsEs([String locale = 'es']) : super(locale);
Expand Down Expand Up @@ -97,6 +99,9 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get instagram => 'Instagram';

@override
String get medium => 'Medium';

@override
String get followMeOnMySocialNetworks => 'Sígueme en mis redes sociales';

Expand Down
5 changes: 5 additions & 0 deletions lib/app/core/l10n/localizations/app_localizations_pt.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import 'app_localizations.dart';

// ignore_for_file: type=lint

/// The translations for Portuguese (`pt`).
class AppLocalizationsPt extends AppLocalizations {
AppLocalizationsPt([String locale = 'pt']) : super(locale);
Expand Down Expand Up @@ -97,6 +99,9 @@ class AppLocalizationsPt extends AppLocalizations {
@override
String get instagram => 'Instagram';

@override
String get medium => 'Medium';

@override
String get followMeOnMySocialNetworks => 'Me acompanhe nas minhas redes';

Expand Down
1 change: 1 addition & 0 deletions lib/app/core/l10n/templates/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"discord": "Discord",
"udemy": "Udemy",
"instagram": "Instagram",
"medium": "Medium",
"followMeOnMySocialNetworks": "Follow me on my social networks",
"contact": "Contact",
"name": "Name",
Expand Down
1 change: 1 addition & 0 deletions lib/app/core/l10n/templates/app_es.arb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"discord": "Discord",
"udemy": "Udemy",
"instagram": "Instagram",
"medium": "Medium",
"followMeOnMySocialNetworks": "Sígueme en mis redes sociales",
"contact": "Contacto",
"name": "Nombre",
Expand Down
1 change: 1 addition & 0 deletions lib/app/core/l10n/templates/app_pt.arb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"discord": "Discord",
"udemy": "Udemy",
"instagram": "Instagram",
"medium": "Medium",
"followMeOnMySocialNetworks": "Me acompanhe nas minhas redes",
"contact": "Contato",
"name": "Nome",
Expand Down
1 change: 1 addition & 0 deletions lib/app/core/shared/app_assets.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ class AppAssets {
static const discord = 'discord.svg';
static const udemy = 'udemy.svg';
static const instagram = 'instagram.svg';
static const medium = 'discord.svg';

/// Contact
static const contactVerticalTexture =
Expand Down
1 change: 1 addition & 0 deletions lib/app/core/shared/app_keys.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class AppKeys {
static const socialItemDiscord = Key('social_list_discord');
static const socialItemUdemy = Key('social_list_udemy');
static const socialItemInstagram = Key('social_list_instagram');
static const socialItemMedium = Key('social_list_medium');

/// Testing keys
static const snackBarKey = Key('tap_snack_bar');
Expand Down
1 change: 1 addition & 0 deletions lib/app/core/shared/app_urls.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class AppUrls {
static const discord = 'https://discordapp.com/users/406074089011281921';
static const udemy = 'https://udemy.com/user/luis-felipe-de-castro-sales/';
static const instagram = 'https://instagram.com/felipecastrosales';
static const medium = 'https://medium.com/@felipecastrosales';

/// Project
static const gitHubProject = 'https://github.com/felipecastrosales/site';
Expand Down
7 changes: 7 additions & 0 deletions lib/app/features/home/widgets/social/widgets/social_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ class SocialList extends StatelessWidget {
onTap: () => launch(AppUrls.instagram),
),
const SizedBox(height: 14),
SocialItem(
key: AppKeys.socialItemMedium,
title: AppTexts.get(context).medium,
image: AppAssets.discord,
onTap: () => launch(AppUrls.medium),
),
const SizedBox(height: 14),
],
);
}
Expand Down

0 comments on commit 71153fd

Please sign in to comment.