Skip to content

Commit 4b9375d

Browse files
committed
update homepage
1 parent 0052a8b commit 4b9375d

File tree

9 files changed

+113
-349
lines changed

9 files changed

+113
-349
lines changed

apps/dashboard/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Route, Routes } from 'react-router-dom';
33
import Layout from './components/Layout';
44

55
// Lazy load all page components for code-splitting
6-
const DashboardPage = lazy(() => import('./pages/DashboardPage'));
6+
const HomePage = lazy(() => import('./pages/HomePage'));
77
const MinificationBenchmarksPage = lazy(() => import('./pages/MinificationBenchmarksPage'));
88
const NpmPackagesPage = lazy(() => import('./pages/NpmPackagesPage'));
99
const RolldownStatsPage = lazy(() => import('./pages/RolldownStatsPage'));
@@ -24,7 +24,7 @@ function App() {
2424
index
2525
element={
2626
<Suspense fallback={<PageLoader />}>
27-
<DashboardPage />
27+
<HomePage />
2828
</Suspense>
2929
}
3030
/>

apps/dashboard/src/components/dashboard/PerformanceTrendChart.tsx

Lines changed: 0 additions & 79 deletions
This file was deleted.

apps/dashboard/src/components/dashboard/RecentActivityChart.tsx

Lines changed: 0 additions & 80 deletions
This file was deleted.

apps/dashboard/src/components/dashboard/RecentUpdatesCard.tsx

Lines changed: 0 additions & 35 deletions
This file was deleted.

apps/dashboard/src/components/dashboard/StatCard.tsx

Lines changed: 0 additions & 58 deletions
This file was deleted.

apps/dashboard/src/components/dashboard/StatsGrid.tsx

Lines changed: 0 additions & 61 deletions
This file was deleted.

apps/dashboard/src/components/layout/Sidebar.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ interface NavItem {
1212
const navItems: NavItem[] = [
1313
{
1414
path: '/',
15-
label: 'Dashboard',
15+
label: 'Home',
1616
icon: <Home size={20} />,
1717
},
1818
{
@@ -24,7 +24,6 @@ const navItems: NavItem[] = [
2424
path: '/minification',
2525
label: 'Minification',
2626
icon: <Zap size={20} />,
27-
badge: 'Benchmarks',
2827
},
2928
{
3029
path: '/npm-packages',

apps/dashboard/src/pages/DashboardPage.tsx

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)