Skip to content

Commit

Permalink
Update experience
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutosh.s committed Apr 26, 2024
1 parent 4053c0a commit a763423
Show file tree
Hide file tree
Showing 8 changed files with 54 additions and 47 deletions.
Binary file modified assets/me.webp
Binary file not shown.
5 changes: 2 additions & 3 deletions lib/about/contact.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ class Contact extends StatelessWidget {
SizedBox(width: 50),
contactIcon(
iconData: FontAwesomeIcons.briefcase,
url:
"https://my-portfolio-ashutosh-singh.s3.ap-south-1.amazonaws.com/Ashutosh_Resume.pdf",
url: "https://www.linkedin.com/in/thecodepapaya/",
tooltip: "Ashutosh's Resume",
),
contactIcon(
Expand All @@ -42,7 +41,7 @@ class Contact extends StatelessWidget {
),
contactIcon(
iconData: FontAwesomeIcons.linkedinIn,
url: "https://linkedin.com/in/ashutoshsingh05as",
url: "https://www.linkedin.com/in/thecodepapaya/",
tooltip: "Ashutosh's LinkedIn profile",
),
contactIcon(
Expand Down
16 changes: 11 additions & 5 deletions lib/experience/experience.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,39 +58,45 @@ final data = [
organizationName: "Even Healthcare",
position: "Software Engineer",
description:
"Building an awesome product for creators all around the world.",
"Build a new kind of health cover, One that keeps you healthy and "
"out of hospitals.",
startYearMonth: "Aug 23",
endYearMonth: "Present",
),
ExperienceData(
organizationName: "Qoohoo",
position: "Product Engineer",
description:
"Building an awesome product for creators all around the world.",
"Lead mobile engineer, designed and implemented several high impact "
"project from ground up including push notification system, payment "
"and ledger system and referral system.",
startYearMonth: "Oct 21",
endYearMonth: "July 23",
),
ExperienceData(
organizationName: "National Informatics Centre | Govt of India",
position: "Trainee",
description:
"Developed frontend components to house image processing utilities on NIC website. Integrated microservice APIs with Angular frontend.",
"Developed frontend components to house image processing utilities "
"on NIC website. Integrated microservice APIs with Angular frontend.",
startYearMonth: "Jun 21",
endYearMonth: "Jul 21",
),
ExperienceData(
organizationName: "Kowi Lifestyle Pvt Ltd",
position: "Full stack Developer",
description:
"Created company's core product from scratch. Wore different hats including SDE, DevOps and QA.",
"Created company's core product from scratch. Wore different hats "
"including SDE, DevOps and QA.",
startYearMonth: "May 21",
endYearMonth: "Jul 21",
),
ExperienceData(
organizationName: "Blindside HB GmbH",
position: "Software Developer",
description:
"Worked on the company's core product to enhance UX, add backend connectivity and modularize existing code.",
"Worked on the company's core product to enhance UX, add backend "
"connectivity and modularize existing code.",
startYearMonth: "Sep 20",
endYearMonth: "Nov 20",
),
Expand Down
11 changes: 6 additions & 5 deletions lib/generated/intl/messages_all.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

import 'dart:async';

import 'package:flutter/foundation.dart';
import 'package:intl/intl.dart';
import 'package:intl/message_lookup_by_library.dart';
import 'package:intl/src/intl_helpers.dart';
Expand All @@ -19,7 +20,7 @@ import 'messages_en.dart' as messages_en;

typedef Future<dynamic> LibraryLoader();
Map<String, LibraryLoader> _deferredLibraries = {
'en': () => new Future.value(null),
'en': () => new SynchronousFuture(null),
};

MessageLookupByLibrary? _findExact(String localeName) {
Expand All @@ -32,18 +33,18 @@ MessageLookupByLibrary? _findExact(String localeName) {
}

/// User programs should call this before using [localeName] for messages.
Future<bool> initializeMessages(String localeName) async {
Future<bool> initializeMessages(String localeName) {
var availableLocale = Intl.verifiedLocale(
localeName, (locale) => _deferredLibraries[locale] != null,
onFailure: (_) => null);
if (availableLocale == null) {
return new Future.value(false);
return new SynchronousFuture(false);
}
var lib = _deferredLibraries[availableLocale];
await (lib == null ? new Future.value(false) : lib());
lib == null ? new SynchronousFuture(false) : lib();
initializeInternalMessageLookup(() => new CompositeMessageLookup());
messageLookup.addLocale(availableLocale, _findGeneratedMessagesFor);
return new Future.value(true);
return new SynchronousFuture(true);
}

bool _messagesExistFor(String locale) {
Expand Down
8 changes: 4 additions & 4 deletions lib/generated/intl/messages_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ class MessageLookup extends MessageLookupByLibrary {
'e': 'Good Evening',
'n': 'Hi there, night owl',
'other': 'Hello',
})}. I\'m ";
})}. I\'\'m ";

final messages = _notInlinedMessages(_notInlinedMessages);
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
"aboutDesc": MessageLookupByLibrary.simpleMessage(
"I am Ashutosh Singh, also known by the username thecodepapaya, freshly graduated from Indian Institute of Information Technology Vadodara. I love building delightful user experiences and system verticals."),
"I am Ashutosh Singh, also known by the username thecodepapaya. I\'\'m Passionate about crafting high-quality software that transforms industries and enhances the lives of individuals with a particular interest in healthcare and energy sectors."),
"aboutGreeting": m0,
"blogMinutes": MessageLookupByLibrary.simpleMessage("Min"),
"footerCredit": MessageLookupByLibrary.simpleMessage(
Expand All @@ -46,8 +46,8 @@ class MessageLookup extends MessageLookupByLibrary {
"notFoundInterjection": MessageLookupByLibrary.simpleMessage("Oh no!"),
"tabBlog": MessageLookupByLibrary.simpleMessage("03. Blogs"),
"tabExperience":
MessageLookupByLibrary.simpleMessage("02. Experience"),
"tabProjects": MessageLookupByLibrary.simpleMessage("01. Projects"),
MessageLookupByLibrary.simpleMessage("01. Experience"),
"tabProjects": MessageLookupByLibrary.simpleMessage("02. Projects"),
"title": MessageLookupByLibrary.simpleMessage("Ashutosh Singh")
};
}
16 changes: 8 additions & 8 deletions lib/generated/l10n.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 19 additions & 18 deletions lib/homepage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@ class _HomePageState extends State<HomePage> {

List<TabData> tabData = [];

double projectPercent = 1;
double experiencePercent = 0;
double experiencePercent = 1;
double projectPercent = 0;
double blogPercent = 0;

@override
void didChangeDependencies() {
super.didChangeDependencies();
tabData = [
TabData(
globalKey: experienceKey,
tabName: S.of(context).tabExperience,
),
TabData(
globalKey: projectKey,
tabName: S.of(context).tabProjects,
isSelected: true,
),
TabData(
globalKey: experienceKey,
tabName: S.of(context).tabExperience,
),
TabData(
globalKey: blogKey,
tabName: S.of(context).tabBlog,
Expand Down Expand Up @@ -82,16 +82,16 @@ class _HomePageState extends State<HomePage> {
controller: _controller,
child: Column(
children: [
VisibilityDetector(
key: Key(tabData[0].tabName),
child: Projects(key: projectKey),
onVisibilityChanged: projectVisibility,
),
VisibilityDetector(
key: Key(tabData[1].tabName),
child: Experience(key: experienceKey),
onVisibilityChanged: experienceVisibility,
),
VisibilityDetector(
key: Key(tabData[0].tabName),
child: Projects(key: projectKey),
onVisibilityChanged: projectVisibility,
),
VisibilityDetector(
key: Key(tabData[2].tabName),
child: Blogs(key: blogKey),
Expand Down Expand Up @@ -119,23 +119,23 @@ class _HomePageState extends State<HomePage> {
child: Padding(
padding: const EdgeInsets.all(Constants.cardMargin),
child: Text(
S.of(context).tabProjects,
S.of(context).tabExperience,
style: Theme.of(context).textTheme.headlineSmall,
),
),
),
Projects(),
Experience(),
Align(
alignment: Alignment.centerLeft,
child: Padding(
padding: const EdgeInsets.all(Constants.cardMargin),
child: Text(
S.of(context).tabExperience,
S.of(context).tabProjects,
style: Theme.of(context).textTheme.headlineSmall,
),
),
),
Experience(),
Projects(),
Align(
alignment: Alignment.centerLeft,
child: Padding(
Expand All @@ -157,8 +157,8 @@ class _HomePageState extends State<HomePage> {
List<Widget> mobileWidgets = [
About(tabData: tabData),
SizedBox(height: 50),
projectHeader(),
experienceHeader(),
projectHeader(),
blogHeader(),
Footer(),
];
Expand Down Expand Up @@ -241,18 +241,19 @@ class _HomePageState extends State<HomePage> {
}

void handleChange() {
if (projectPercent > experiencePercent && projectPercent > blogPercent) {
if (experiencePercent > projectPercent && experiencePercent > blogPercent) {
setAllFalse();
setState(() {
tabData[0].isSelected = true;
});
}
if (experiencePercent > projectPercent && experiencePercent > blogPercent) {
if (projectPercent > experiencePercent && projectPercent > blogPercent) {
setAllFalse();
setState(() {
tabData[1].isSelected = true;
});
}

if (blogPercent > experiencePercent && blogPercent > projectPercent) {
setAllFalse();
setState(() {
Expand Down
8 changes: 4 additions & 4 deletions lib/l10n/intl_en.arb
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"aboutDesc": "I am Ashutosh Singh, also known by the username thecodepapaya, freshly graduated from Indian Institute of Information Technology Vadodara. I love building delightful user experiences and system verticals.",
"aboutGreeting": "{greeting, select, em {Good morning, early bird} m {Good Morning} a {Good Afternoon} e {Good Evening} n {Hi there, night owl} other {Hello}}. I'm ",
"aboutDesc": "I am Ashutosh Singh, also known by the username thecodepapaya. I''m Passionate about crafting high-quality software that transforms industries and enhances the lives of individuals with a particular interest in healthcare and energy sectors.",
"aboutGreeting": "{greeting, select, em {Good morning, early bird} m {Good Morning} a {Good Afternoon} e {Good Evening} n {Hi there, night owl} other {Hello}}. I''m ",
"blogMinutes": "Min",
"footerCredit": "Based on designs by Nicolas Meuzard",
"footerPower": "Powered by Flutter",
"notFoundDespise": "Looks like you are lost ... on a single page application, duh!",
"notFoundHome": "Take me back to 127.0.0.1",
"notFoundInterjection": "Oh no!",
"tabBlog": "03. Blogs",
"tabExperience": "02. Experience",
"tabProjects": "01. Projects",
"tabExperience": "01. Experience",
"tabProjects": "02. Projects",
"title": "Ashutosh Singh"
}

0 comments on commit a763423

Please sign in to comment.