File tree Expand file tree Collapse file tree 5 files changed +85
-0
lines changed
Expand file tree Collapse file tree 5 files changed +85
-0
lines changed Original file line number Diff line number Diff line change 1+ <template >
2+ <div class =" nys-footer" >
3+ <span >Brought to you by:</span >
4+ <a
5+ href =" https://github.com/sponsors/khalwat"
6+ target =" _blank"
7+ rel =" noopener"
8+ >
9+ <img
10+ src =" /resources/img/nys-logo.svg"
11+ aria-label =" nystudio107 logo"
12+ />
13+ </a >
14+ </div >
15+ </template >
16+
17+ <script >
18+ export default {
19+ name: " SidebarBottom"
20+ }
21+ </script >
22+
23+ <style scoped>
24+ .nys-footer {
25+ padding : 0 1.5rem 2rem ;
26+ font-size : 0.8rem ;
27+ }
28+
29+ .nys-footer img {
30+ box-sizing : border-box ;
31+ max-width : 200px ;
32+ height : 80px ;
33+ display : block ;
34+ margin : 1rem 0 ;
35+ padding-left : 0.7rem ;
36+ }
37+ </style >
Original file line number Diff line number Diff line change 1+ : root {
2+ --c-brand : # 48a391 ;
3+ --c-brand-light : # 5db7a5 ;
4+ }
5+
6+ .custom-block .tip {
7+ border-color : var (--c-brand-light );
8+ }
9+
10+ .DocSearch {
11+ --docsearch-primary-color : var (--c-brand ) !important ;
12+ }
Original file line number Diff line number Diff line change 1+ import Theme from 'vitepress/theme'
2+ import { h } from 'vue'
3+ import './custom.css'
4+
5+ import SidebarBottom from './SidebarBottom.vue' ;
6+
7+ export default {
8+ ...Theme ,
9+ Layout ( ) {
10+ return h ( Theme . Layout , null , {
11+ 'sidebar-bottom' : ( ) => h ( SidebarBottom )
12+ }
13+ )
14+ }
15+ }
Original file line number Diff line number Diff line change 1+ [
2+ {
3+ "id" : " tailwind" ,
4+ "name" : " Tailwind Labs" ,
5+ "href" : " https://tailwindcss.com" ,
6+ "src" : " /tailwind-labs.svg"
7+ },
8+ {
9+ "id" : " vuejobs" ,
10+ "name" : " Vue Jobs" ,
11+ "href" : " https://vuejobs.com/?ref=vuejs" ,
12+ "src" : " /vuejobs.png"
13+ },
14+ {
15+ "id" : " mux" ,
16+ "name" : " Mux" ,
17+ "href" : " https://mux.com" ,
18+ "src" : " /mux.svg"
19+ }
20+ ]
You can’t perform that action at this time.
0 commit comments