navigate(link)}>
- {title}
+
window.open(link, '_blank')}
+ >
+ {t(title)}
);
})}
diff --git a/packages/components/src/components/TextDrawer/index.tsx b/packages/components/src/components/TextDrawer/index.tsx
index 47be2ec6..656741dd 100644
--- a/packages/components/src/components/TextDrawer/index.tsx
+++ b/packages/components/src/components/TextDrawer/index.tsx
@@ -32,7 +32,7 @@ export const TextDrawer = (
setVisible(false)}
diff --git a/packages/components/src/pages/Overall/index.tsx b/packages/components/src/pages/Overall/index.tsx
index 61ab45c4..f75ba75c 100644
--- a/packages/components/src/pages/Overall/index.tsx
+++ b/packages/components/src/pages/Overall/index.tsx
@@ -17,6 +17,48 @@ interface Props {
project: SDK.ServerAPI.InferResponseType;
}
+const helpCenterData = [
+ {
+ title: 'FAQ',
+ link: 'https://rsdoctor.dev/guide/more/faq',
+ },
+ {
+ title: 'Introduction',
+ link: 'https://rsdoctor.dev/guide/start/intro',
+ },
+ {
+ title: 'Bundle Alerts',
+ link: 'https://rsdoctor.dev/guide/usage/bundle-alerts',
+ },
+ {
+ title: 'Bundle Overall',
+ link: 'https://rsdoctor.dev/guide/usage/bundle-overall',
+ },
+ {
+ title: 'Bundle Analysis',
+ link: 'https://rsdoctor.dev/guide/usage/bundle-size',
+ },
+ {
+ title: 'Compilation Alerts',
+ link: 'https://rsdoctor.dev/guide/usage/compile-alerts',
+ },
+ {
+ title: 'Compile Overall',
+ link: 'https://rsdoctor.dev/guide/usage/compile-overall',
+ },
+ {
+ title: 'Loaders Analysis',
+ link: 'https://rsdoctor.dev/guide/usage/loaders-analysis',
+ },
+ {
+ title: 'Loaders Timeline',
+ link: 'https://rsdoctor.dev/guide/usage/loaders-timeline',
+ },
+ {
+ title: 'Plugin Analysis',
+ link: 'https://rsdoctor.dev/guide/usage/plugins-analysis',
+ },
+];
const Component: React.FC = ({ project }) => {
const { summary, configs, root: cwd, envinfo, errors } = project;
@@ -38,36 +80,7 @@ const Component: React.FC = ({ project }) => {
- {/* TODO Change this component */}
-
-
+