File tree 5 files changed +27
-48
lines changed
5 files changed +27
-48
lines changed Original file line number Diff line number Diff line change @@ -138,9 +138,8 @@ export default defineConfig({
138
138
} ,
139
139
] ,
140
140
footer : {
141
- message : `<div class="footer-spacer"></div>
142
- <div class="footer-license">Released under the <a href="https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-typescript/LICENSE">MIT License</a>.</div>
143
- <a class="footer-hosting" href="https://www.netlify.com"><img src="https://www.netlify.com/v3/img/components/netlify-color-bg.svg" alt="Deploys by Netlify" /></a>` ,
141
+ message :
142
+ 'Released under the <a href="https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-typescript/LICENSE">MIT License</a>. Powered by <a href="https://netlify.com">Netlify</a>.' ,
144
143
} ,
145
144
} ,
146
145
} ) ;
Original file line number Diff line number Diff line change @@ -64,9 +64,8 @@ export default defineConfig({
64
64
sidebarMenuLabel : "メニュー" ,
65
65
returnToTopLabel : "最上部に戻る" ,
66
66
footer : {
67
- message : `<div class="footer-spacer"></div>
68
- <div class="footer-license"><a href="https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-typescript/LICENSE">MITライセンス</a> に基づいて配布されています。</div>
69
- <a class="footer-hosting" href="https://www.netlify.com"><img src="https://www.netlify.com/v3/img/components/netlify-color-bg.svg" alt="Deploys by Netlify" /></a>` ,
67
+ message :
68
+ '<a href="https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-typescript/LICENSE">MITライセンス</a> に基づいて配布されています。' ,
70
69
} ,
71
70
} ,
72
71
} ) ;
@@ -112,4 +111,4 @@ export const jaSearch: DefaultTheme.AlgoliaSearchOptions["locales"] = {
112
111
} ,
113
112
} ,
114
113
} ,
115
- } ;
114
+ } ;
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ const { Layout } = DefaultTheme;
39
39
</a ></template
40
40
>
41
41
42
- <!-- Silver sponsor logos -->
42
+ <!-- Sidebar sponsors -->
43
43
<template #sidebar-nav-after >
44
44
<div class =" sidenav-sponsors" >
45
45
<h5 >Gold Sponsors</h5 >
@@ -58,16 +58,9 @@ const { Layout } = DefaultTheme;
58
58
</a >
59
59
</li >
60
60
</ul >
61
- <h5 style =" margin-block-start : 4rem " >Hosting</h5 >
62
- <div class =" sidebar-hosting" >
63
- <a href =" https://www.netlify.com"
64
- ><img
65
- width =" 73"
66
- height =" 32"
67
- src =" https://www.netlify.com/v3/img/components/netlify-color-bg.svg"
68
- alt =" Deploys by Netlify"
69
- /></a >
70
- </div >
61
+ <p class =" sidebar-hosting" >
62
+ Powered by <a href =" https://netlify.com" >Netlify</a >
63
+ </p >
71
64
</div >
72
65
</template >
73
66
</Layout >
@@ -159,11 +152,22 @@ const { Layout } = DefaultTheme;
159
152
}
160
153
161
154
.sidebar-hosting {
162
- align-items : center ;
163
- display : flex ;
164
- justify-content : center ;
165
- margin-block-start : 1rem ;
166
- text-align : center ;
155
+ color : var (--vp-c-text-3 );
156
+ font-size : 0.75rem ;
157
+ font-weight : 500 ;
158
+ letter-spacing : 0.0625em ;
159
+ margin-block-start : 2rem ;
160
+ text-transform : uppercase ;
161
+
162
+ a {
163
+ color : var (--vp-c-brand-1 );
164
+ text-decoration : underline ;
165
+
166
+ &:hover,
167
+ &:focus-visible {
168
+ color : var (--vp-c-brand-2 );
169
+ }
170
+ }
167
171
}
168
172
</style >
169
173
Original file line number Diff line number Diff line change @@ -235,25 +235,3 @@ code {
235
235
.home-sponsor .donate {
236
236
display : inline-block;
237
237
}
238
-
239
- /* Home footer */
240
- .VPFooter .container .message {
241
- --badge-width : 8rem ;
242
-
243
- align-items : center;
244
- display : grid;
245
- justify-items : center;
246
- gap : 1.5rem ;
247
- text-align : center;
248
-
249
- @media (width > = 600px) {
250
- grid-template-columns : var (--badge-width ) auto var (--badge-width );
251
- gap : 0 ;
252
- }
253
- }
254
-
255
- .footer-hosting {
256
- display : inline-block;
257
- height : 2rem ;
258
- width : 8rem ;
259
- }
Original file line number Diff line number Diff line change @@ -53,9 +53,8 @@ export default defineConfig({
53
53
} ,
54
54
55
55
footer : {
56
- message : `<div class="footer-spacer"></div>
57
- <div class="footer-license">基于 <a href="https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-typescript/LICENSE">MIT</a> 许可发布</div>
58
- <a class="footer-hosting" href="https://www.netlify.com"><img src="https://www.netlify.com/v3/img/components/netlify-color-bg.svg" alt="Deploys by Netlify" /></a>` ,
56
+ message :
57
+ '基于 <a href="https://github.com/openapi-ts/openapi-typescript/blob/main/packages/openapi-typescript/LICENSE">MIT</a> 许可发布' ,
59
58
} ,
60
59
} ,
61
60
} ) ;
You can’t perform that action at this time.
0 commit comments