File tree 5 files changed +14
-22
lines changed
server/routers/subRouters
5 files changed +14
-22
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,16 @@ export const contactConfig = {
36
36
export const REPOSITORY_OWNER = "mouadlouhichi" ;
37
37
export const REPOSITORY_NAME = "ninjasaas" ;
38
38
export const REPOSITORY_URL = `https://github.com/${ REPOSITORY_OWNER } /${ REPOSITORY_NAME } ` ;
39
- export const baseUrl = process . env . NEXT_PUBLIC_APP_URL || "http://localhost:3000" ;
39
+ export const baseUrl =
40
+ process . env . NEXT_PUBLIC_APP_URL || "http://localhost:3000" ;
40
41
41
- export const BASE_URL = process . env . NODE_ENV === "production" ? baseUrl : "http://localhost:3000" ;
42
+ export const BASE_URL =
43
+ process . env . NODE_ENV === "production" ? baseUrl : "http://localhost:3000" ;
42
44
export const BRAND_NAME = "ninjasaas" ;
43
45
export const BRAND_TITLE = "Next.js Enterprise Boilerplate | ninjasaas" ;
44
46
45
- export const BRAND_DESCRIPTION = "ninjasaas: Next.js Boilerplate for rapid SaaS development. Start building your next big project today." ;
47
+ export const BRAND_DESCRIPTION =
48
+ "ninjasaas: Next.js Boilerplate for rapid SaaS development. Start building your next big project today." ;
46
49
47
50
export const OWNER_ROLE = UserRole . Owner ;
48
51
export const ADMIN_ROLE = UserRole . Admin ;
@@ -67,7 +70,8 @@ export const siteConfig = {
67
70
name : "ninjasaas" ,
68
71
shortName : "ninjasaas" ,
69
72
author : "mouadlouhichi" ,
70
- description : "Jumpstart your SaaS project with ninjasaas - a feature-rich Next.js boilerplate for rapid development and scalable applications." ,
73
+ description :
74
+ "Jumpstart your SaaS project with ninjasaas - a feature-rich Next.js boilerplate for rapid development and scalable applications." ,
71
75
company : {
72
76
name : "ninjasaas" ,
73
77
link : "https://www.ninjasaas.com" ,
Original file line number Diff line number Diff line change 1
1
import { PathName } from "@/types" ;
2
2
import ncNanoId from "@/utils/ncNanoId" ;
3
3
import {
4
- HomeIcon ,
4
+ BookmarkIcon ,
5
+ ChatBubbleLeftEllipsisIcon ,
5
6
CodeBracketIcon ,
7
+ CogIcon ,
6
8
CubeIcon ,
7
9
DocumentTextIcon ,
8
- CogIcon ,
10
+ HomeIcon ,
9
11
QuestionMarkCircleIcon ,
10
- ChatBubbleLeftEllipsisIcon ,
11
- BookmarkIcon ,
12
12
} from "@heroicons/react/24/outline" ;
13
- import {
14
- HomeIcon as SolidHomeIcon ,
15
- } from "@heroicons/react/24/solid" ;
13
+ import { HomeIcon as SolidHomeIcon } from "@heroicons/react/24/solid" ;
16
14
17
15
import { CustomLink } from "@/data/types" ;
18
16
import { NavItemType } from "@/shared/Navigation/NavigationItem" ;
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ import { guestProcedure } from "../../procedures";
2
2
import { router } from "../../trpc" ;
3
3
4
4
export const guestRouter = router ( {
5
-
6
-
7
5
getUsers : guestProcedure . query ( async ( { ctx } ) => {
8
6
const users = await ctx . prisma . user . findMany ( ) ;
9
7
return users ;
Original file line number Diff line number Diff line change 1
-
2
1
import { accountSchema } from "@/data/valids/user" ;
3
2
4
3
import { userProcedure } from "../../procedures" ;
@@ -16,7 +15,6 @@ export const userRouter = router({
16
15
} ) ;
17
16
} ) ,
18
17
19
-
20
18
updatePersonalProfile : userProcedure
21
19
. input ( accountSchema )
22
20
. mutation ( async ( { ctx, input } ) => {
@@ -29,6 +27,4 @@ export const userRouter = router({
29
27
data : updatedData ,
30
28
} ) ;
31
29
} ) ,
32
-
33
-
34
30
} ) ;
Original file line number Diff line number Diff line change @@ -21,11 +21,7 @@ const Header: FC<HeaderProps> = ({
21
21
< header
22
22
className = { `nc-Header h-fit sticky inset-x-0 top-0 z-50 w-full ${ className } ` }
23
23
>
24
- < MainNav
25
- type = { type }
26
- isLoading = { isLoading }
27
- user = { user }
28
- />
24
+ < MainNav type = { type } isLoading = { isLoading } user = { user } />
29
25
</ header >
30
26
) ;
31
27
} ;
You can’t perform that action at this time.
0 commit comments