Skip to content

Commit c11e9d1

Browse files
authored
feat: remove un-necessary assets and pages, and few other cleanups (#87)
1 parent 830ddef commit c11e9d1

File tree

19 files changed

+32
-292
lines changed

19 files changed

+32
-292
lines changed

next.config.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ const config = {
99
images: {
1010
domains: ["randomuser.me"],
1111
},
12+
13+
async redirects() {
14+
return [
15+
{
16+
source: "/",
17+
destination: "/login",
18+
permanent: true,
19+
},
20+
];
21+
},
1222
};
1323

1424
export default config;

package-lock.json

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

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"@trpc/next": "^10.43.6",
4747
"@trpc/react-query": "^10.43.6",
4848
"@trpc/server": "^10.43.6",
49-
"cal-sans": "^1.0.1",
5049
"class-variance-authority": "^0.7.0",
5150
"clsx": "^2.1.0",
5251
"cmdk": "^0.2.0",

src/app/(authenticated)/(dashboard)/[publicId]/stakeholders/page.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import BorderWrapper from "@/components/shared/BorderWrapper";
22
import MemberModal from "@/components/stakeholder/member-modal";
33
import MemberTable from "@/components/stakeholder/member-table";
44
import { Button } from "@/components/ui/button";
5-
import { Separator } from "@/components/ui/separator";
65
import { withServerSession } from "@/server/auth";
76
import { getMembers } from "@/server/stakeholder";
87
import { RiAddLine } from "@remixicon/react";

src/app/layout.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import { inter, satoshi } from "@/styles/fonts";
1+
import { instrumentSans } from "@/styles/fonts";
22
import "@/styles/globals.css";
3-
import "cal-sans";
43
import { cn } from "@/lib/utils";
54
import { cookies } from "next/headers";
65
import { TRPCReactProvider } from "@/trpc/react";
@@ -27,7 +26,7 @@ export default async function RootLayout({
2726
const session = await getServerAuthSession();
2827

2928
return (
30-
<html lang="en" className={cn(satoshi.variable, inter.variable)}>
29+
<html lang="en" className={cn(instrumentSans.variable)}>
3130
<body className="min-h-screen">
3231
<ProgressBarProvider>
3332
<NextAuthProvider session={session}>

src/app/opengraph-image.tsx

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

src/app/page.tsx

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

src/app/twitter-image.tsx

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

src/assets/fonts/CalSans.ttf

-145 KB
Binary file not shown.

src/assets/fonts/Inter-Medium.ttf

-301 KB
Binary file not shown.

0 commit comments

Comments
 (0)