Skip to content

Commit f7b92db

Browse files
authored
feat: Server-side rendered explore page (#5443)
* feat: Add initial view for SSR explore page (#5423) * feat: Add learn to snap section to SSR explore page (#5424) * feat: Add initial view for SSR explore page (#5423) * feat: Add learn to snap section to SSR explore page * feat: Add categories section to the SSR explore page (#5425) * feat: Add popular snaps to SSR explore page (#5438) Initial test * feat: Add updated and trending snaps to SSR explore page (#5439) * chore: Remove code for client-side explore page (#5441) * fix: Fix exception handling on explore page
1 parent 9520070 commit f7b92db

28 files changed

Lines changed: 312 additions & 835 deletions

static/js/store/hooks/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
import usePackages from "./usePackages";
2-
import useCategories from "./useCategories";
32

4-
export { usePackages, useCategories };
3+
export { usePackages };

static/js/store/hooks/useCategories.ts

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

static/js/store/index.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { QueryClient, QueryClientProvider } from "react-query";
44

55
import Root from "./layouts/Root";
66
import Store from "./pages/Store";
7-
import Explore from "./pages/Explore";
87

98
const router = createBrowserRouter([
109
{
@@ -15,10 +14,6 @@ const router = createBrowserRouter([
1514
path: "/store",
1615
element: <Store />,
1716
},
18-
{
19-
path: "/explore",
20-
element: <Explore />,
21-
},
2217
],
2318
},
2419
]);

static/js/store/pages/Explore/CardsLoader.tsx

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

static/js/store/pages/Explore/Categories.tsx

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

static/js/store/pages/Explore/EditorialSection.tsx

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

static/js/store/pages/Explore/Explore.tsx

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

0 commit comments

Comments
 (0)