Skip to content

Commit

Permalink
fix: 하위 도메인 접속 및 이용약관 페이지 레이아웃 에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
changhwan77 committed Mar 7, 2024
1 parent 66de925 commit 12e84e3
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 26 deletions.
2 changes: 1 addition & 1 deletion lib/features/tutis/views/s_personal_branding.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class PersonalBrandingScreen extends ConsumerWidget {
title: '트티',
contents: '기업명: (주) 이쿠아\n 주소: 서울 강남구 테헤란로22길 15 2층\n 전화: 010.7415.8850',
onTap: () {
String urlPath = 'info.tuti20.com';
String urlPath = 'https://info.tuti20.com';
launchUrl(
Uri.parse(urlPath),
);
Expand Down
53 changes: 28 additions & 25 deletions lib/features/tutis/views/s_terms_of_use.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,32 +46,35 @@ class TermsOfUseScreen extends StatelessWidget {
return DefaultTabController(
length: tabs.length,
child: Scaffold(
body: Column(
children: [
const TuTiHeaderMobile(),
TabBar(
indicatorColor: ColorConstants.primaryColor,
labelColor: ColorConstants.primaryColor,
dividerColor: ColorConstants.primaryColor,
tabs: tabs.map((String name) => Text(name)).toList(),
),
Flexible(
flex: 11,
child: TabBarView(
children: companyInfos
.map((CompanyInfo info) => CompanyInfoCard(
title: info.title,
contents: info.contents,
onTap: info.onTap,
))
.toList(),
body: Container(
constraints: BoxConstraints(maxWidth: 700.w),
child: Column(
children: [
const TuTiHeaderMobile(),
TabBar(
indicatorColor: ColorConstants.primaryColor,
labelColor: ColorConstants.primaryColor,
dividerColor: ColorConstants.primaryColor,
tabs: tabs.map((String name) => Text(name)).toList(),
),
),
Flexible(
flex: 1,
child: Container(),
),
],
Flexible(
flex: 11,
child: TabBarView(
children: companyInfos
.map((CompanyInfo info) => CompanyInfoCard(
title: info.title,
contents: info.contents,
onTap: info.onTap,
))
.toList(),
),
),
Flexible(
flex: 1,
child: Container(),
),
],
),
),
),
);
Expand Down

0 comments on commit 12e84e3

Please sign in to comment.