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()
8484 >
8585 {{ currentLocale === 'en' ? session.name_en : session.name_ja }}
8686 </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 >
8797 </div >
8898 </div >
8999 </VFSessionContent >
@@ -182,4 +192,15 @@ const { range } = useRange()
182192 font-size : 18px ;
183193 font-weight : 700 ;
184194}
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+ }
185206 </style >
Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ export type IconName =
1515 | 'external'
1616 | 'alert'
1717 | 'translation'
18+ | 'slide'
Original file line number Diff line number Diff line change @@ -61,6 +61,9 @@ const svgComponent = match<IconName>(props.name)
6161 .with (' translation' , () =>
6262 defineAsyncComponent (() => import (' ../../assets/icon/translation.svg?component' )),
6363 )
64+ .with (' slide' , () =>
65+ defineAsyncComponent (() => import (' ../../assets/icon/slide_icon.svg?component' )),
66+ )
6467 .exhaustive ()
6568
6669const { color : fillColor } = useColor ()
You can’t perform that action at this time.
0 commit comments