File tree Expand file tree Collapse file tree 4 files changed +31
-0
lines changed
apps/web/app/components/time-table Expand file tree Collapse file tree 4 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,16 @@ const { range } = useRange()
84
84
>
85
85
{{ currentLocale === 'en' ? session.name_en : session.name_ja }}
86
86
</p >
87
+ <div class =" session-archives" >
88
+ <VFIconButton
89
+ v-if =" session.session_doc_url"
90
+ :href =" session.session_doc_url"
91
+ target-blank
92
+ color =" vue-blue"
93
+ name =" slide"
94
+ class =" session-archive-slide"
95
+ />
96
+ </div >
87
97
</div >
88
98
</div >
89
99
</VFSessionContent >
@@ -182,4 +192,15 @@ const { range } = useRange()
182
192
font-size : 18px ;
183
193
font-weight : 700 ;
184
194
}
195
+ .session-archives {
196
+ display : flex ;
197
+ gap : var (calc (var (--unit ) * 1.5 ));
198
+ }
199
+ .session-archive-slide {
200
+ margin-top : 5px ;
201
+ }
202
+ .session-archive-slide :hover {
203
+ opacity : 0.6 ;
204
+ transition : opacity 0.2s ;
205
+ }
185
206
</style >
Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ export type IconName =
15
15
| 'external'
16
16
| 'alert'
17
17
| 'translation'
18
+ | 'slide'
Original file line number Diff line number Diff line change @@ -61,6 +61,9 @@ const svgComponent = match<IconName>(props.name)
61
61
.with (' translation' , () =>
62
62
defineAsyncComponent (() => import (' ../../assets/icon/translation.svg?component' )),
63
63
)
64
+ .with (' slide' , () =>
65
+ defineAsyncComponent (() => import (' ../../assets/icon/slide_icon.svg?component' )),
66
+ )
64
67
.exhaustive ()
65
68
66
69
const { color : fillColor } = useColor ()
You can’t perform that action at this time.
0 commit comments