Skip to content

Commit

Permalink
Merge pull request #6 from deandreamatias/feature/rebranding-v2
Browse files Browse the repository at this point in the history
Feature/rebranding-v2
  • Loading branch information
deandreamatias authored Aug 1, 2024
2 parents 25cae2e + 89b43eb commit 4d93691
Show file tree
Hide file tree
Showing 42 changed files with 1,461 additions and 615 deletions.
2 changes: 1 addition & 1 deletion .fvmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"flutter": "3.22.2"
"flutter": "3.22.3"
}
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ This project has been built using the [Flutter](https://flutter.dev/) framework,

- **See info about Matias de Andrea**
- **Open some profile links**
- **Roadmap in [public Trello](https://trello.com/b/TUxLi2ik)**
- **Responsive design**
- **Light and dark themes**
- **Translated to english, spanish and portuguese**
- **Automatic deploy to Firebase Hosting**

## Build and run

Expand Down
Binary file removed assets/fonts/asap.ttf
Binary file not shown.
Binary file removed assets/fonts/portfolio.ttf
Binary file not shown.
Binary file removed assets/fonts/sniglet.ttf
Binary file not shown.
Binary file removed assets/img/adobe_xd.png
Binary file not shown.
Binary file removed assets/img/android.png
Binary file not shown.
Binary file removed assets/img/flutter.png
Binary file not shown.
Binary file removed assets/img/git.png
Binary file not shown.
11 changes: 0 additions & 11 deletions lib/core/utils/constants.dart

This file was deleted.

68 changes: 48 additions & 20 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
@@ -1,22 +1,50 @@
{
"homeHeaderTitle": "Hi, I'm Matias de Andrea",
"homeHeaderSubtitle": "a creative and dynamic developer.\nI really like to work with mobile applications, developing UI/UX and software",
"skillsTitle": "My most loved technologies and tools are",
"githubTitle": "Open source projects are awesome and sometimes I contribute to it",
"languagesTitle": "I've the privilege to live in some places and learn different languages",
"languagesSpanish": "Spanish: Native",
"languagesPortuguese": "Portuguese: C2",
"languagesEnglish": "English: A2",
"contactTitle": "Let's talk?",
"menuHome": "deandreamatias",
"menuPodcast": "podcast",
"menuOptions": "Options",
"menuOptionsEnglish": "English",
"menuOptionsSpanish": "Spanish",
"menuOptionsPortuguese": "Portuguese",
"footerLocale": "Valencia, Spain",
"email": "Email",
"linkedin": "LinkedIn",
"github": "Github",
"behance": "Behance"
"@@locale": "en",
"who_title": "Who I am",
"who_is_mobile": "Mobile Developer",
"who_communities": "Member of communities",
"who_writer": "Writer",
"who_podcast": "Podcast fan",
"who_football": "Football player",
"who_secondary_football": "with low skills",
"who_nationality": "Spanish/Uruguayan",
"who_secondary_nationality": "and a little bit of Brazilian",
"who_family": "Husband",
"who_pets": "Cat tutor",
"what_title": "What I do",
"what_mobile": "Mobile applications",
"what_secondary_mobile": "mainly with Flutter",
"what_contribute": "Contribution to open source projects",
"what_videos": "Participation in videos",
"what_writing": "Writing articles and thoughts",
"what_podcast": "Podcast listener and creator",
"what_languages": "I am fluent in Spanish, Portuguese and moderately English",
"what_pets": "Picture with my cats",
"where_title": "Where I do it",
"where_live": "I live in Valencia, Spain",
"where_work": "I work remotely for Multiplica Talent ({linkedin})",
"where_contribute": "{github} and {stack_overflow}",
"where_videos": "{youtube}",
"where_communities": "Communities",
"where_community_brazil_tech": "Brazil Tech Expats",
"where_community_flutter": "Flutter Spain",
"where_community_vlc_tech": "VLC Tech",
"where_community_podcast": "Hoje Tem (Telegram)",
"where_writing": "{medium}",
"where_podcast": "{universo_flutter} / {podcast_participation}",
"where_podcast_participation": "podcast participantions",
"where_football": "{football}",
"where_family_and_pets": "{social_networks}",
"when_title": "When I do",
"when_age": "Every year. Currently {age} years old",
"when_work": "Monday to Friday",
"when_balance": "All days looking for the balance between work and personal life",
"skills_one": "detail-oriented",
"skills_two": "cooperative",
"skills_three": "communicative",
"skills_four": "proactive",
"skills_five": "mediator",
"brazil_tech_expats": "Brazil Tech Expats (Wiki)",
"cv_button": "Resume",
"github_button": "Open source contributions"
}
68 changes: 48 additions & 20 deletions lib/l10n/app_es.arb
Original file line number Diff line number Diff line change
@@ -1,22 +1,50 @@
{
"homeHeaderTitle": "Hola, soy Matias de Andrea",
"homeHeaderSubtitle": "un desarrollador creativo y dinámico. Me encanta trabajar con aplicaciones móviles, desarrollando el UI/UX y el software",
"skillsTitle": "Mis herramientas preferidas son",
"githubTitle": "Proyectos de código abierto son increíbles y a veces contribuyo en ellos",
"languagesTitle": "Tuve el privilegio de vivir en diversos lugares y aprender algunos idiomas",
"languagesSpanish": "Español: Nativo",
"languagesPortuguese": "Portugués: C2",
"languagesEnglish": "Inglés: A2",
"contactTitle": "¿Vamos conversar?",
"menuHome": "deandreamatias",
"menuPodcast": "podcast",
"menuOptions": "Opciones",
"menuOptionsEnglish": "Inglés",
"menuOptionsSpanish": "Español",
"menuOptionsPortuguese": "Portugués",
"footerLocale": "Valencia, España",
"email": "Email",
"linkedin": "LinkedIn",
"github": "Github",
"behance": "Behance"
"@@locale": "es",
"who_title": "Quién soy",
"who_is_mobile": "Desarrollador de aplicaciones móviles",
"who_communities": "Miembro de comunidades",
"who_writer": "Escritor",
"who_podcast": "Fan de podcasts",
"who_football": "Jugador de fútbol",
"who_secondary_football": "con pocas habilidades",
"who_nationality": "Español/Uruguayo",
"who_secondary_nationality": "y un poco brasileño",
"who_family": "Esposo",
"who_pets": "Tutor de gatos",
"what_title": "Qué hago",
"what_mobile": "Aplicaciones móviles",
"what_secondary_mobile": "principalmente con Flutter",
"what_contribute": "Contribución a proyectos de código abierto",
"what_videos": "Participación en videos",
"what_writing": "Escribir artículos y reflexiones",
"what_podcast": "Oyente y creador de podcasts",
"what_languages": "Hablo español, portugués y medianamente inglés",
"what_pets": "Foto con mis gatos",
"where_title": "Dónde lo hago",
"where_live": "Vivo en Valencia, España",
"where_work": "Trabajo remotamente para Multiplica Talent ({linkedin})",
"where_contribute": "{github} y {stack_overflow}",
"where_videos": "{youtube}",
"where_communities": "Comunidades",
"where_community_brazil_tech": "Brazil Tech Expats",
"where_community_flutter": "Flutter España",
"where_community_vlc_tech": "VLC Tech",
"where_community_podcast": "Hoje Tem (Telegram)",
"where_writing": "{medium}",
"where_podcast": "{universo_flutter} y {podcast_participation}",
"where_podcast_participation": "participaciones en podcasts",
"where_football": "{football}",
"where_family_and_pets": "{social_networks}",
"when_title": "Cuándo lo hago",
"when_age": "Cada año. Actualmente tengo {age} años",
"when_work": "De lunes a viernes",
"when_balance": "Todos los días buscando el equilibrio entre el trabajo y la vida personal",
"skills_one": "detallista",
"skills_two": "cooperativo",
"skills_three": "comunicativo",
"skills_four": "proactivo",
"skills_five": "mediador",
"brazil_tech_expats": "Brazil Tech Expats (Wiki)",
"cv_button": "CV",
"github_button": "Contribuciones de código abierto"
}
68 changes: 48 additions & 20 deletions lib/l10n/app_pt.arb
Original file line number Diff line number Diff line change
@@ -1,22 +1,50 @@
{
"homeHeaderTitle": "Olá, sou Matias de Andrea",
"homeHeaderSubtitle": "um desenvolvedor criativo e dinâmico. Gosto muito de trabalhar com aplicações móveis, desenvolvendo o UI/UX e o software",
"skillsTitle": "Minhas ferramentas favoritas são",
"githubTitle": "Projetos de código aberto são incríveis e as vezes contribuo neles",
"languagesTitle": "Tive o privilegio de viver em diversos locais e aprender alguns idiomas",
"languagesSpanish": "Espanhol: Nativo",
"languagesPortuguese": "Português: C2",
"languagesEnglish": "Inglês: A2",
"contactTitle": "Vamos conversar?",
"menuHome": "deandreamatias",
"menuPodcast": "podcast",
"menuOptions": "Opções",
"menuOptionsEnglish": "Inglês",
"menuOptionsSpanish": "Espanhol",
"menuOptionsPortuguese": "Português",
"footerLocale": "Valencia, Espanha",
"email": "Email",
"linkedin": "LinkedIn",
"github": "Github",
"behance": "Behance"
"@@locale": "pt",
"who_title": "Quem sou eu",
"who_is_mobile": "Desenvolvedor de aplicativos móveis",
"who_communities": "Membro de comunidades",
"who_writer": "Escritor",
"who_podcast": "Fã de podcasts",
"who_football": "Jogador de futebol",
"who_secondary_football": "com poucas habilidades",
"who_nationality": "Espanhol/Uruguaio",
"who_secondary_nationality": "e um pouco brasileiro",
"who_family": "Marido",
"who_pets": "Tutor de gatos",
"what_title": "O que eu faço",
"what_mobile": "Aplicativos móveis",
"what_secondary_mobile": "principalmente com Flutter",
"what_contribute": "Contribuição para projetos de código aberto",
"what_videos": "Participação em vídeos",
"what_writing": "Escrever artigos e relfexões",
"what_podcast": "Ouvinte e criador de podcasts",
"what_languages": "Falo espanhol, português e medianamente inglês",
"what_pets": "Foto com meus gatos",
"where_title": "Onde eu faço",
"where_live": "Moro em Valencia, Espanha",
"where_work": "Trabalho remotamente para Multiplica Talent ({linkedin})",
"where_contribute": "{github} e {stack_overflow}",
"where_videos": "{youtube}",
"where_communities": "Comunidades",
"where_community_brazil_tech": "Brazil Tech Expats",
"where_community_flutter": "Flutter Espanha",
"where_community_vlc_tech": "VLC Tech",
"where_community_podcast": "Hoje Tem (Telegram)",
"where_writing": "{medium}",
"where_podcast": "{universo_flutter} e {podcast_participation}",
"where_podcast_participation": "participação em podcasts",
"where_football": "{football}",
"where_family_and_pets": "{social_networks}",
"when_title": "Quando eu faço",
"when_age": "Todos os anos. Atualmente tenho {age} anos",
"when_work": "De segunda a sexta-feira",
"when_balance": "Todos os dias buscando o equilíbrio entre o trabalho e a vida pessoal",
"skills_one": "detalhista",
"skills_two": "cooperativo",
"skills_three": "comunicativo",
"skills_four": "proativo",
"skills_five": "mediador",
"brazil_tech_expats": "Brazil Tech Expats (Wiki)",
"cv_button": "CV",
"github_button": "Contribuições de código aberto"
}
19 changes: 14 additions & 5 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:portfolio/shared/context_extensions.dart';

import 'ui/shared/styles.dart';
import 'ui/views/home.dart';
import 'shared/theme.dart';
import 'views/home.dart';

Future<void> main() async {
runApp(const App());
Expand All @@ -12,12 +13,20 @@ class App extends StatelessWidget {
const App({super.key});
@override
Widget build(BuildContext context) {
final brightness = View.of(context).platformDispatcher.platformBrightness;

// Use with Google Fonts package to use downloadable fonts
TextTheme textTheme = context.createTextTheme(
bodyFontString: "Asap",
displayFontString: "Geologica",
);

MaterialTheme theme = MaterialTheme(textTheme);
return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'deandreamatias | Mobile developer with Flutter',
themeMode: ThemeMode.dark,
theme: themeDark,
initialRoute: '/',
theme: brightness == Brightness.light ? theme.light() : theme.dark(),
initialRoute: HomeView.route,
routes: <String, WidgetBuilder>{
HomeView.route: (BuildContext context) => const HomeView(),
},
Expand Down
35 changes: 35 additions & 0 deletions lib/shared/constants.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
class Urls {
static const String podcast =
'https://podcasters.spotify.com/pod/show/universoflutter';
static const String podcastParticipations =
'https://open.spotify.com/playlist/4ttgPmSQixftO81ANLRkFF?si=4919bae4c5994dd2';
static const String profile = 'https://deandreamatias.com/profile.png';
static const String bluesky = 'https://bsky.app/profile/deandreamatias.com';
static const String linkedin = 'https://www.linkedin.com/in/deandreamatias/';
static const String github = 'https:/deandreamatias/';
static const String stackoverflow =
'https://stackoverflow.com/users/8700272/matias-de-andrea';
static const String medium = 'https://medium.com/@deandreamatias';
static const String ondaFC = 'https://www.ondafc.es/';
static const String youtube =
'https://youtube.com/playlist?list=PL47j3mLiYhbh763kwspHLXlfedT6n-lYO&feature=shared';
static const String brazilTechExpats =
'https://brazil-tech-expats.deandreamatias.com/home/spain/';
}

class UrlKeys {
static const String linkedIn = 'LinkedIn';
static const String gitHub = 'GitHub';
static const String stackOverflow = 'StackOverflow';
static const String youtube = 'YouTube';
static const String medium = 'Medium';
static const String universoFlutter = 'Universo Flutter';
static const String ondaFC = 'OndaFC';
static const String blueSky = 'Bluesky';
}

class Constants {
static const String username = 'dendreamatias';
static const String name = 'Matias de Andrea';
static const String separator = '·';
}
38 changes: 38 additions & 0 deletions lib/shared/context_extensions.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';

extension MediaQueryExtension on BuildContext {
double get width => MediaQuery.of(this).size.width;
double get height => MediaQuery.of(this).size.height;

// Breakpoints
bool get isExtraExtraSmall => width < 256;
bool get isExtraSmall => width < 512;
bool get isSmall => width < 768;
bool get isMedium => width >= 768;
bool get isLarge => width >= 1024;
bool get isExtraLarge => width >= 1440;
bool get isExtraExtraLarge => width >= 2560;
}

extension ThemeExtension on BuildContext {
TextTheme createTextTheme({
required String bodyFontString,
required String displayFontString,
}) {
TextTheme baseTextTheme = Theme.of(this).textTheme;
TextTheme bodyTextTheme =
GoogleFonts.getTextTheme(bodyFontString, baseTextTheme);
TextTheme displayTextTheme =
GoogleFonts.getTextTheme(displayFontString, baseTextTheme);
TextTheme textTheme = displayTextTheme.copyWith(
bodyLarge: bodyTextTheme.bodyLarge,
bodyMedium: bodyTextTheme.bodyMedium,
bodySmall: bodyTextTheme.bodySmall,
labelLarge: bodyTextTheme.labelLarge,
labelMedium: bodyTextTheme.labelMedium,
labelSmall: bodyTextTheme.labelSmall,
);
return textTheme;
}
}
File renamed without changes.
7 changes: 7 additions & 0 deletions lib/shared/sizes.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
class Sizes {
static const double small = 4;
static const double medium = 8;
static const double large = 16;
static const double extraLarge = 32;
static const double extraExtraLarge = 64;
}
Loading

0 comments on commit 4d93691

Please sign in to comment.