Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ENG-CJ committed Aug 28, 2023
1 parent 5e5515f commit 12a6b67
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 65 deletions.
2 changes: 1 addition & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class JobFinder extends StatelessWidget {
scaffoldBackgroundColor: const Color(0xfff4f4f4)
),
debugShowCheckedModeBanner: false,
home: OnBoarding(),
home: Home(),
);
}
}
Expand Down
15 changes: 0 additions & 15 deletions lib/util/profile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,6 @@ class ProfileImage extends StatelessWidget {
final Color? color;
final String imagePath;
final double? paddingAll;


const ProfileImage(
{super.key,
required this.imagePath,
this.color,
this.paddingAll,
});

@override
Widget build(BuildContext context) {
return CircleAvatar(
radius: 60,
backgroundColor: color ?? Colors.white,

final bool asBackgroundImage;
final double radius;
const ProfileImage({
Expand Down
2 changes: 1 addition & 1 deletion lib/views/components/login_mode_profile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class LoginModeProfile extends StatelessWidget {
children: [
Padding(
padding: const EdgeInsets.only(top: 10),
child: ProfileImage(imagePath: "assets/google.png",imgHeight: 20,imgWidth: 20),
child: ProfileImage(imagePath: "assets/google.png"),
),

SizedBox(height: 4,),
Expand Down
45 changes: 0 additions & 45 deletions lib/views/pages/home_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,51 +25,6 @@ import '../components/job_header.dart';
import '../components/login_mode_profile.dart';


class Home extends StatelessWidget with BuildListViewJobCard {
const Home({super.key});
static var categories = [
"Software Engineering",
"UI/UX Designer",
"Database Admin",
"Graphic Designer",
"Analytical",
"Help Desk"
];
static List<Job> jobs = [
Job(
jobTitle: "Agency Business Lead",
corporation: "Google, Inc",
companyLogoPath: "assets/google.png",
jobDescription:
"In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate the visual form of a document or a typeface without relying",
numberOfApplicants: 19,
timePosted:
timeago.format(DateTime.now().subtract(Duration(minutes: 6)))),
Job(
jobTitle: "Software Tester",
corporation: "Afro Tech",
companyLogoPath: "assets/afro.png",
jobDescription:
"In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate",
numberOfApplicants: 100,
timePosted: timeago.format(DateTime.now().subtract(Duration(days: 2)))),


Job(jobTitle: "Social Media Marketer", corporation: "Hilaal, Inc", companyLogoPath: "assets/hilal.png",
jobDescription: "In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate",
numberOfApplicants: 300 ,
softSkills: ["Design","Teaching","Blender","Copy Writing","Canva"],
about: "We are seeking a talented Social Media Marketer to elevate our brand's online presence and engagement. In this role, you'll be responsible for crafting captivating content, managing social media platforms, and driving meaningful interactions with our target audience. Your creative approach and strategic thinking will play a pivotal role in expanding our brand's influence in the digital landscape. As a Social Media Marketer, you'll have the exciting opportunity to develop and implement dynamic social media strategies across various platforms. Your eye for engaging visuals and ability to craft compelling captions will help us effectively convey our brand's message and values. By staying up-to-date with the latest social media trends, you'll ensure our content remains fresh and relevant. Join our team and shape the way our audience perceives and engages with our brand on social media.",
timePosted: timeago.format(DateTime.now().subtract(Duration(days: 2)))),
Job(
jobTitle: "Web Developer",
corporation: "Tombal ICT",
companyLogoPath: "assets/hilal.png",
jobDescription:
"In publishing and graphic design, Lorem ipsum is a placeholder text commonly used to demonstrate",
numberOfApplicants: 300,

timePosted: timeago.format(DateTime.now().subtract(Duration(days: 6))))

class Home extends StatefulWidget {
const Home({super.key});
Expand Down
4 changes: 1 addition & 3 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.18.1"

js:
dependency: transitive
description:
Expand All @@ -124,7 +123,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "2.0.0"

lints:
dependency: transitive
description:
Expand Down Expand Up @@ -251,5 +249,5 @@ packages:
source: hosted
version: "2.1.4"
sdks:
dart: ">=3.0.6 <4.0.0"
dart: ">=3.0.5 <4.0.0"
flutter: ">=1.17.0"

0 comments on commit 12a6b67

Please sign in to comment.