Skip to content

Commit 741dd09

Browse files
committed
feat: Add Generate Public Link functionality and update routing
- Added a new modal component for generating public links with duration options. - Integrated the GeneratePublicLinkModal into the IndexPage for user interaction. - Created a new LinkPage to display details of the generated public link. - Updated routing to replace the PricingPage with the new LinkPage. - Added translations for new strings related to public link generation in multiple languages. - Removed the PricingPage as it is no longer needed. - Introduced a new MiniLayout for simplified page structure.
1 parent 3d7f912 commit 741dd09

File tree

14 files changed

+935
-37
lines changed

14 files changed

+935
-37
lines changed

client/package-lock.json

Lines changed: 172 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"@heroui/navbar": "^2.2.25",
3131
"@heroui/number-input": "^2.0.18",
3232
"@heroui/pagination": "^2.2.24",
33+
"@heroui/select": "^2.4.28",
3334
"@heroui/shared-utils": "^2.1.12",
3435
"@heroui/snippet": "^2.2.28",
3536
"@heroui/switch": "^2.2.24",

client/src/App.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { PageNotFound } from "./pages/404";
1616

1717
import IndexPage from "@/pages/index";
1818
import ApiPage from "@/pages/api";
19-
import PricingPage from "@/pages/pricing";
19+
import LinkPage from "@/pages/link";
2020

2121
function App() {
2222
const { isLoading, error } = useAuth0();
@@ -57,8 +57,8 @@ function App() {
5757
path="/api"
5858
/>
5959
<Route
60-
element={<AuthenticationGuard component={PricingPage} />}
61-
path="/pricing"
60+
element={<LinkPage />}
61+
path="/link"
6262
/>
6363
{siteConfig().utilitiesMenuItems.map((item) => {
6464
// Check if item.component exists

0 commit comments

Comments
 (0)