임시 빌드

This commit is contained in:
girinb
2025-07-11 17:34:29 +09:00
parent 7e56c68827
commit af89539293
2 changed files with 40 additions and 32 deletions

View File

@@ -67,48 +67,56 @@ class JobCard extends StatelessWidget {
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
children: [ children: [
Flexible( // 수입
child: Text( Text(
"\$ ${job.jobIncome}", job.jobIncome is num ? "\$ ${job.jobIncome}" : job.jobIncome.toString(),
style: TextStyle(fontSize: 22, fontWeight: FontWeight.bold), style: const TextStyle(fontSize: 22, fontWeight: FontWeight.bold),
maxLines: 1,
overflow: TextOverflow.ellipsis, softWrap: false,
), ),
),
Flexible( // 수입 타입
child: Text( Text(
job.jobIncomeType, job.jobIncomeType,
style: TextStyle(color: Colors.grey), style: const TextStyle(color: Colors.grey),
overflow: TextOverflow.ellipsis, maxLines: 1,
softWrap: false,
), ),
),
const SizedBox(height: 20), const SizedBox(height: 5),
Flexible( // 도시
child: Text( Text(
job.jobLocationCity, job.jobLocationCity,
style: TextStyle(fontSize: 18, fontWeight: FontWeight.bold), style: const TextStyle(fontSize: 18, fontWeight: FontWeight.bold),
overflow: TextOverflow.ellipsis, maxLines: 1,
softWrap: false,
), ),
),
Flexible( // 국가
child: Text( Text(
job.jobLocationCountry, job.jobLocationCountry,
style: TextStyle(color: Colors.grey), style: const TextStyle(color: Colors.grey),
overflow: TextOverflow.ellipsis, maxLines: 1,
softWrap: false,
), ),
),
const Spacer(), const Spacer(),
ElevatedButton(
onPressed: () {}, // 지원 버튼
style: ElevatedButton.styleFrom( SizedBox(
backgroundColor: Color(0xFF3056D3), height: 44,
shape: RoundedRectangleBorder( child: ElevatedButton(
borderRadius: BorderRadius.circular(50), onPressed: () {},
style: ElevatedButton.styleFrom(
backgroundColor: const Color(0xB91459DB),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(50),
),
padding: const EdgeInsets.symmetric(horizontal: 20),
), ),
padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 10), child: const Text("Apply", style: TextStyle(color: Colors.white)),
), ),
child: const Text("지원"),
), ),
], ],
), ),

View File

@@ -22,7 +22,7 @@ class MyApp extends StatelessWidget {
return MaterialApp( return MaterialApp(
title: 'Case Study', title: 'Case Study',
theme: ThemeData( theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), colorScheme: ColorScheme.fromSeed(seedColor: Color(0xFF2005E6)),
useMaterial3: true, useMaterial3: true,
), ),
home: const MyHomePage(), home: const MyHomePage(),