diff --git a/src/components/HomepageFeatures/index.module.css b/src/components/HomepageFeatures/index.module.css
index 220381c8..0ae8cac1 100644
--- a/src/components/HomepageFeatures/index.module.css
+++ b/src/components/HomepageFeatures/index.module.css
@@ -25,8 +25,7 @@
.featureBackground::after {
content: "";
- top: 0;
- left: 0;
+ inset: 0;
z-index: -1;
height: 100%;
width: calc(100vw - (100vw - 100%));
diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index a990b67b..6b282ed5 100644
--- a/src/pages/index.jsx
+++ b/src/pages/index.jsx
@@ -11,8 +11,8 @@ import styles from './index.module.css';
const INSTALL_COMMAND = 'npx svgo';
-const onClick = async () => {
- navigator.clipboard.writeText(INSTALL_COMMAND);
+function onClick() {
+ navigator.clipboard?.writeText(INSTALL_COMMAND);
}
function HomepageHeader() {
diff --git a/src/theme/DocRoot/Layout/Sidebar/ExpandButton/styles.module.css b/src/theme/DocRoot/Layout/Sidebar/ExpandButton/styles.module.css
index f4cd944d..3118bf06 100644
--- a/src/theme/DocRoot/Layout/Sidebar/ExpandButton/styles.module.css
+++ b/src/theme/DocRoot/Layout/Sidebar/ExpandButton/styles.module.css
@@ -1,8 +1,7 @@
@media (min-width: 997px) {
.expandButton {
position: absolute;
- top: 0;
- right: 0;
+ inset: 0;
width: 100%;
height: 100%;
display: flex;
diff --git a/src/theme/Layout/index.js b/src/theme/Layout/index.js
deleted file mode 100644
index 841735ef..00000000
--- a/src/theme/Layout/index.js
+++ /dev/null
@@ -1,12 +0,0 @@
-import React from 'react';
-import Layout from '@theme-original/Layout';
-import SpriteSheet from '../../components/SpriteSheet';
-
-export default function LayoutWrapper(props) {
- return (
- <>
-
-
- >
- );
-}
diff --git a/src/theme/Root.jsx b/src/theme/Root.jsx
new file mode 100644
index 00000000..5d4ccc14
--- /dev/null
+++ b/src/theme/Root.jsx
@@ -0,0 +1,11 @@
+import React from 'react';
+import SpriteSheet from '../components/SpriteSheet';
+
+export default function Root({ children }) {
+ return (
+ <>
+
+ {children}
+ >
+ );
+}
diff --git a/src/vectors/logo.svg b/src/vectors/logo.svg
index ea66cd8e..4ce071c3 100644
--- a/src/vectors/logo.svg
+++ b/src/vectors/logo.svg
@@ -1,5 +1,5 @@