Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
| --- | --- |
| 전체를 그림으로 한 번에 (처음 읽을 때) | [docs/overview.md](./docs/overview.md) |
| 일을 어떤 순서로 하나 (Jira → 브랜치 → 구현 순서 → 검증 → PR → 리뷰 → 릴리스) | [docs/workflow.md](./docs/workflow.md) |
| 앱 폴더에 어떤 파일이 들어가고 누가 누구를 import하나, dev/prod flavor | [docs/mobile-architecture.md](./docs/mobile-architecture.md) |
| 앱 폴더에 어떤 파일이 들어가고 누가 누구를 import하나, dev/prod flavor, 화면 이동 경로 | [docs/mobile-architecture.md](./docs/mobile-architecture.md) |
| 웹 폴더 구조·의존성·bridge·환경 | [docs/web-architecture.md](./docs/web-architecture.md) |
| 색·간격·글자 크기 값과 바꾸는 절차 | [docs/design-tokens.md](./docs/design-tokens.md) |
| PR 올리기 전·리뷰할 때 무엇을 왜 보나 | [docs/pr-checklist.md](./docs/pr-checklist.md) |
Expand Down
94 changes: 94 additions & 0 deletions apps/mobile/assets/fonts/pretendard/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
Copyright (c) 2021, Kil Hyung-jin (https://github.com/orioncactus/pretendard),
with Reserved Font Name Pretendard.

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://scripts.sil.org/OFL


-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------

PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.

The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.

DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.

"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).

"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).

"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.

"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.

PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:

1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.

4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.

5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.

TERMINATION
This license becomes null and void if any of the above conditions are
not met.

DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 1 addition & 5 deletions apps/mobile/lib/app/router.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';

import '../features/auth/presentation/views/login_view.dart';

/// 경로 문자열은 여기서만 정의한다. View는 자기 경로를 모른다.
abstract final class AppRoutes {
static const login = '/login';
}
import 'routes.dart';

/// 인증 redirect를 붙일 때는 세션 상태를 `ref.listen`으로 구독해 `refreshListenable`에 연결한다.
/// `ref.watch`로 GoRouter를 다시 만들면 내비게이션 스택이 초기화되므로 쓰지 않는다.
Expand Down
77 changes: 77 additions & 0 deletions apps/mobile/lib/app/routes.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
/// 경로 문자열은 여기서만 정의한다. View는 자기 경로를 모른다.
/// 아무것도 import하지 않는 상수 파일이다. 화면 연결(`GoRoute`)은 `router.dart`.
/// 전체 지도와 Figma 화면 대응은 `docs/mobile-architecture.md` 11절.
/// 상수는 미리 합의해 두고, `GoRoute`는 그 화면을 만들 때 `router.dart`에 등록한다.
/// `:id`가 있는 경로는 상수(GoRoute용)와 함수(이동용)를 같이 둔다.
abstract final class AppRoutes {
// 인증·온보딩 (로그인 전)
static const login = '/login';
static const terms = '/terms';
static const signup = '/signup';
static const onboardingProfile = '/onboarding/profile';
static const onboardingBandNew = '/onboarding/band/new';
static const onboardingBandJoin = '/onboarding/band/join';

// 하단 탭
static const home = '/home';
static const recruit = '/recruit';
static const chat = '/chat';
static const my = '/my';

// 팀 모집
static const recruitSearch = '/recruit/search';
static const recruitNew = '/recruit/new';
static const recruitDetail = '/recruit/:postId';
static String recruitDetailOf(String postId) => '/recruit/$postId';

// 채팅
static const chatRoom = '/chat/:roomId';
static String chatRoomOf(String roomId) => '/chat/$roomId';
static const chatMembers = '/chat/:roomId/members';
static String chatMembersOf(String roomId) => '/chat/$roomId/members';

// 마이·설정·알림
static const myProfileEdit = '/my/profile/edit';
static const settings = '/settings';
static const notifications = '/notifications';

// 합동공연
static const showNew = '/shows/new';
static const showNewPlace = '/shows/new/place';
static const show = '/shows/:showId';
static String showOf(String showId) => '/shows/$showId';
static const showEdit = '/shows/:showId/edit';
static String showEditOf(String showId) => '/shows/$showId/edit';
static const showFeedNew = '/shows/:showId/feed/new';
static String showFeedNewOf(String showId) => '/shows/$showId/feed/new';
static const showFeedPost = '/shows/:showId/feed/:postId';
static String showFeedPostOf(String showId, String postId) =>
'/shows/$showId/feed/$postId';
static const showScheduleNew = '/shows/:showId/schedule/new';
static String showScheduleNewOf(String showId) =>
'/shows/$showId/schedule/new';
static const showSchedule = '/shows/:showId/schedule/:scheduleId';
static String showScheduleOf(String showId, String scheduleId) =>
'/shows/$showId/schedule/$scheduleId';
static const showSetlist = '/shows/:showId/setlist/:bandId';
static String showSetlistOf(String showId, String bandId) =>
'/shows/$showId/setlist/$bandId';
static const showRoles = '/shows/:showId/roles';
static String showRolesOf(String showId) => '/shows/$showId/roles';
static const showAccountOwner = '/shows/:showId/account-owner';
static String showAccountOwnerOf(String showId) =>
'/shows/$showId/account-owner';
static const showEntry = '/shows/:showId/entry';
static String showEntryOf(String showId) => '/shows/$showId/entry';
static const showEntrySearch = '/shows/:showId/entry/search';
static String showEntrySearchOf(String showId) =>
'/shows/$showId/entry/search';

// 밴드
static const band = '/bands/:bandId';
static String bandOf(String bandId) => '/bands/$bandId';
static const bandEdit = '/bands/:bandId/edit';
static String bandEditOf(String bandId) => '/bands/$bandId/edit';
static const bandMembers = '/bands/:bandId/members';
static String bandMembersOf(String bandId) => '/bands/$bandId/members';
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:flutter/material.dart';

import '../../../../shared/theme/app_spacing.dart';
import '../../../../shared/theme/app_typography.dart';

/// 로그인 화면. 첫 공통 예제(로그인 → 보호 화면 → 세션 복원 → 로그아웃)를 구현할 때 채운다.
class LoginView extends StatelessWidget {
Expand All @@ -12,7 +13,7 @@ class LoginView extends StatelessWidget {
body: Center(
child: Padding(
padding: const EdgeInsets.all(AppSpacing.x4),
child: Text('로그인', style: Theme.of(context).textTheme.titleLarge),
child: Text('로그인', style: context.textStyles.title1Bold),
),
),
);
Expand Down
Loading
Loading