File tree Expand file tree Collapse file tree 8 files changed +21
-14
lines changed Expand file tree Collapse file tree 8 files changed +21
-14
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export interface ShowCaseInfo {
15
15
export const showcases : ShowCaseInfo [ ] = [
16
16
{
17
17
title : 'Composable Vue' ,
18
- cover : '' ,
18
+ cover : ` ${ import . meta . env . BASE_URL } assets/composable-vue.png` ,
19
19
author : {
20
20
name : 'Anthony Fu' ,
21
21
link : 'https://github.com/antfu' ,
@@ -25,4 +25,14 @@ export const showcases: ShowCaseInfo[] = [
25
25
at : 'VueDay 2021' ,
26
26
datetime : '2021-04-29' ,
27
27
} ,
28
+ // Add yours here!
29
+ {
30
+ title : 'Yours?' ,
31
+ author : {
32
+ name : '' ,
33
+ } ,
34
+ at : 'Sumbit your talk/presentation to be list here!' ,
35
+ cover : `${ import . meta. env . BASE_URL } themes/placeholder.png` ,
36
+ datetime : '2021-04-29' ,
37
+ } ,
28
38
]
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ defineProps<{
10
10
<template >
11
11
<div >
12
12
<div
13
- class =" block mb-1.5 w-full rounded overflow-hidden relative"
14
- style = " padding-top : 56.25 % "
13
+ class =" block mb-1.5 w-full overflow-hidden relative aspect-9/16 "
14
+ border = " ~ rounded gray-400 opacity-20 "
15
15
>
16
16
<img :src =" info.cover" class =" absolute top-0 bottom-0 left-0 right-0" />
17
17
</div >
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ defineProps<{
12
12
<a
13
13
:href =" theme.id ? theme.previews[0] : '/themes/write-a-theme#submit'"
14
14
target =" _blank"
15
- class =" block mb-1.5 w-full rounded overflow-hidden relative"
16
- style = " padding-top : 56.25 % "
15
+ class =" block mb-1.5 w-full overflow-hidden relative aspect-9/16 "
16
+ border = " ~ rounded gray-400 opacity-20 "
17
17
>
18
18
<img :src =" theme.previews[0]" class =" absolute top-0 bottom-0 left-0 right-0" />
19
19
</a >
@@ -33,7 +33,8 @@ defineProps<{
33
33
<a
34
34
v-if =" theme.id"
35
35
:href =" `https://npmjs.com/package/${theme.id}`"
36
- class =" ml-2 text-current opacity-20 text-sm hover:opacity-100 hover:text-[#cb3837]"
36
+ class =" ml-2 text-current opacity-20 text-sm"
37
+ hover =" opacity-100 text-[#cb3837]"
37
38
target =" _blank"
38
39
>
39
40
<simple-icons-npm />
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import './styles/layout.css'
8
8
import './styles/code.css'
9
9
import './styles/custom-blocks.css'
10
10
import './styles/sidebar-links.css'
11
- import './styles/utils.css'
12
11
import 'windi-utilities.css'
13
12
14
13
const theme = {
Original file line number Diff line number Diff line change 2
2
::before ,
3
3
::after {
4
4
box-sizing : border-box;
5
+ border-width : 0 ;
6
+ border-style : solid;
7
+ border-color : # e5e7eb ;
5
8
}
6
9
7
10
* {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ sidebar: false
6
6
7
7
Talks / Presentations using Slidev.
8
8
9
+ <!-- Edit in ./docs/.vitepress/showcases.ts -->
9
10
<ShowCases />
Original file line number Diff line number Diff line change 1
- ---
2
- sidebar : false
3
- ---
4
-
5
1
# Themes Gallery
6
2
7
3
Browser awesome themes available for Slidev here.
You can’t perform that action at this time.
0 commit comments