File tree Expand file tree Collapse file tree 3 files changed +10
-63
lines changed
Expand file tree Collapse file tree 3 files changed +10
-63
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ const IndexRoute = IndexRouteImport.update({
3838 path : '/' ,
3939 getParentRoute : ( ) => rootRouteImport ,
4040} as any )
41- const MissionIndexRoute = MissionIndexRouteImport . update ( {
42- id : '/' ,
43- path : '/' ,
44- getParentRoute : ( ) => MissionRouteRoute ,
41+ const OnboardingIndexRoute = OnboardingIndexRouteImport . update ( {
42+ id : '/onboarding/ ' ,
43+ path : '/onboarding/ ' ,
44+ getParentRoute : ( ) => rootRouteImport ,
4545} as any )
4646const MissionIndexRoute = MissionIndexRouteImport . update ( {
4747 id : '/' ,
@@ -92,47 +92,31 @@ export interface FileRoutesById {
9292export interface FileRouteTypes {
9393 fileRoutesByFullPath : FileRoutesByFullPath
9494 fullPaths :
95- |
9695 | '/'
97-
9896 | '/mission'
9997 | '/difficulty'
100-
10198 | '/gym'
102-
10399 | '/mission/$missionId'
104100 | '/users/$userId'
105-
106101 | '/mission/'
107102 | '/onboarding'
108103 fileRoutesByTo : FileRoutesByTo
109104 to :
110- |
111105 | '/'
112-
113106 | '/difficulty'
114-
115107 | '/gym'
116-
117108 | '/mission/$missionId'
118109 | '/users/$userId'
119-
120110 | '/mission'
121111 | '/onboarding'
122112 id :
123- |
124113 | '__root__'
125-
126114 | '/'
127-
128115 | '/mission'
129116 | '/difficulty'
130-
131117 | '/gym'
132-
133118 | '/mission/$missionId'
134119 | '/users/$userId'
135-
136120 | '/mission/'
137121 | '/onboarding/'
138122 fileRoutesById : FileRoutesById
Original file line number Diff line number Diff line change 11import * as Select from "@radix-ui/react-select" ;
22import { useState } from "react" ;
3+ import CheckIcon from "../../../components/icons/CheckIcon" ;
4+ import ChevronDownIcon from "../../../components/icons/ChevronDownIcon" ;
35
46const gyms = [
57 { id : "gangnam" , name : "더클라임 강남" } ,
@@ -22,22 +24,7 @@ export default function MissionHeader() {
2224 < Select . Trigger className = "inline-flex items-center justify-center px-4 py-2 bg-white border border-gray-300 rounded-md text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500" >
2325 < Select . Value placeholder = "암장 선택" />
2426 < Select . Icon className = "ml-2" >
25- < svg
26- width = "15"
27- height = "15"
28- viewBox = "0 0 15 15"
29- fill = "none"
30- xmlns = "http://www.w3.org/2000/svg"
31- aria-label = "Select Gym"
32- role = "img"
33- >
34- < path
35- d = "M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.26618 11.9026 7.38064 11.95 7.49999 11.95C7.61933 11.95 7.73379 11.9026 7.81819 11.8182L10.0682 9.56819Z"
36- fill = "currentColor"
37- fillRule = "evenodd"
38- clipRule = "evenodd"
39- > </ path >
40- </ svg >
27+ < ChevronDownIcon variant = "dark" />
4128 </ Select . Icon >
4229 </ Select . Trigger >
4330 < Select . Portal >
@@ -52,22 +39,7 @@ export default function MissionHeader() {
5239 >
5340 < Select . ItemText > { gym . name } </ Select . ItemText >
5441 < Select . ItemIndicator className = "absolute left-2 w-4 h-4" >
55- < svg
56- width = "15"
57- height = "15"
58- viewBox = "0 0 15 15"
59- fill = "none"
60- xmlns = "http://www.w3.org/2000/svg"
61- aria-label = "Select Gym"
62- role = "img"
63- >
64- < path
65- d = "M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z"
66- fill = "currentColor"
67- fillRule = "evenodd"
68- clipRule = "evenodd"
69- > </ path >
70- </ svg >
42+ < CheckIcon variant = "dark" width = { 15 } height = { 15 } />
7143 </ Select . ItemIndicator >
7244 </ Select . Item >
7345 ) ) }
Original file line number Diff line number Diff line change 11import { createFileRoute } from "@tanstack/react-router" ;
22import useEmblaCarousel from "embla-carousel-react" ;
33import { useState } from "react" ;
4+ import PlayIcon from "../../components/icons/PlayIcon" ;
45import MissionCard from "./-components/MissionCard" ;
56
67export const Route = createFileRoute ( "/mission/" ) ( {
@@ -136,17 +137,7 @@ function Mission() {
136137 className = "w-16 h-16 bg-blue-600 hover:bg-blue-700 text-white rounded-full flex items-center justify-center transition-colors"
137138 aria-label = "시작하기"
138139 >
139- < svg
140- aria-label = "시작하기"
141- role = "img"
142- width = "24"
143- height = "24"
144- viewBox = "0 0 24 24"
145- fill = "none"
146- xmlns = "http://www.w3.org/2000/svg"
147- >
148- < path d = "M8 5V19L19 12L8 5Z" fill = "currentColor" />
149- </ svg >
140+ < PlayIcon variant = "white" />
150141 </ button >
151142 </ div >
152143 </ div >
You can’t perform that action at this time.
0 commit comments