@rspress-theme-anatole/theme-default 0.7.37 → 0.7.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle.css +2 -1
- package/dist/bundle.js +3 -9
- package/package.json +3 -3
package/dist/bundle.css
CHANGED
package/dist/bundle.js
CHANGED
|
@@ -681,12 +681,13 @@ const NavBarTitle = () => {
|
|
|
681
681
|
style: {
|
|
682
682
|
border: '1px solid #D2D5DA',
|
|
683
683
|
height: '24px',
|
|
684
|
+
margin: '0 12px',
|
|
684
685
|
},
|
|
685
686
|
}),
|
|
686
687
|
logoText && (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
687
688
|
children: logoText,
|
|
688
689
|
style: {
|
|
689
|
-
|
|
690
|
+
fontSize: '20px',
|
|
690
691
|
}
|
|
691
692
|
}),
|
|
692
693
|
!logo && !logoText && (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
@@ -4288,16 +4289,10 @@ function HomepageTopSearch({ frontmatter, routePath }) {
|
|
|
4288
4289
|
|
|
4289
4290
|
function IntroBanner({ frontmatter, routePath }) {
|
|
4290
4291
|
const banner = frontmatter?.banner || DEFAULT_HERO;
|
|
4291
|
-
const imageSrc = typeof banner.image?.src === 'string'
|
|
4292
|
-
? { light: banner.image.src, dark: banner.image.src }
|
|
4293
|
-
: banner.image?.src || { light: '', dark: '' };
|
|
4294
4292
|
|
|
4295
4293
|
return (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
4296
4294
|
style: {
|
|
4297
|
-
height: "
|
|
4298
|
-
backgroundImage: `url(${(0, __WEBPACK_EXTERNAL_MODULE__rspress_runtime_0abd3046__.normalizeImagePath)(imageSrc.light)})`,
|
|
4299
|
-
backgroundSize: "cover",
|
|
4300
|
-
backgroundPosition: "center right",
|
|
4295
|
+
height: "233px",
|
|
4301
4296
|
display: "flex",
|
|
4302
4297
|
alignItems: "center",
|
|
4303
4298
|
paddingLeft: "40px"
|
|
@@ -4306,7 +4301,6 @@ function IntroBanner({ frontmatter, routePath }) {
|
|
|
4306
4301
|
(0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
4307
4302
|
style: {
|
|
4308
4303
|
maxWidth: "657px",
|
|
4309
|
-
padding: "20px",
|
|
4310
4304
|
borderRadius: "8px"
|
|
4311
4305
|
},
|
|
4312
4306
|
children: [
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspress-theme-anatole/theme-default",
|
|
3
3
|
"author": "Anatole Tong",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.38",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.css",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"types": "./dist/bundle.d.ts",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@mdx-js/react": "2.3.0",
|
|
24
|
-
"@rspress-theme-anatole/rspress-plugin-mermaid": "0.7.
|
|
25
|
-
"@rspress-theme-anatole/shared": "0.7.
|
|
24
|
+
"@rspress-theme-anatole/rspress-plugin-mermaid": "0.7.38",
|
|
25
|
+
"@rspress-theme-anatole/shared": "0.7.38",
|
|
26
26
|
"@rspress/runtime": "1.43.8",
|
|
27
27
|
"body-scroll-lock": "4.0.0-beta.0",
|
|
28
28
|
"copy-to-clipboard": "^3.3.3",
|