@@ -54,14 +54,21 @@ export type Profile = {
5454 sites : boolean ;
5555 settings : boolean ;
5656 } ;
57- discord : string ;
58- website : string ;
5957 showOrgInBreadcrumbs : boolean ;
6058 minimalOrgHeader : boolean ;
6159 getProjectRoute : ( params : { region : string ; project : string } ) => ResolvedPathname ;
6260 component : {
6361 unauthenticated : Component ;
6462 } ;
63+ links : {
64+ docs : string ;
65+ website : string ;
66+ discord : string ;
67+ terms : string ;
68+ privacy : string ;
69+ cookies : string ;
70+ pricing : string ;
71+ } ;
6572} ;
6673
6774export const base : Profile = {
@@ -106,15 +113,22 @@ export const base: Profile = {
106113 sites : true ,
107114 settings : true
108115 } ,
109- discord : 'https://appwrite.io/discord' ,
110- website : 'https://appwrite.io' ,
111116 showOrgInBreadcrumbs : true ,
112117 minimalOrgHeader : false ,
113118 getProjectRoute ( { region, project } ) {
114119 return resolve ( `/(console)/project-[region]-[project]/overview` , {
115120 region,
116121 project
117122 } ) ;
123+ } ,
124+ links : {
125+ website : 'https://appwrite.io' ,
126+ docs : 'https://appwrite.io/docs' ,
127+ terms : 'https://appwrite.io/terms' ,
128+ discord : 'https://appwrite.io/discord' ,
129+ cookies : 'https://appwrite.io/cookies' ,
130+ privacy : 'https://appwrite.io/privacy' ,
131+ pricing : 'https://appwrite.io/pricing'
118132 }
119133} ;
120134
@@ -164,15 +178,22 @@ export const studio: Profile = {
164178 sites : false ,
165179 settings : true
166180 } ,
167- website : 'https://imagine.dev' ,
168- discord : 'https://imagine.dev/discord' ,
169181 showOrgInBreadcrumbs : false ,
170182 minimalOrgHeader : true ,
171183 getProjectRoute ( { region, project } ) {
172184 return resolve ( `/(console)/project-[region]-[project]/(studio)/studio` , {
173185 region,
174186 project
175187 } ) ;
188+ } ,
189+ links : {
190+ website : 'https://imagine.dev' ,
191+ docs : 'https://imagine.dev/docs' ,
192+ terms : 'https://imagine.dev/terms' ,
193+ discord : 'https://imagine.dev/discord' ,
194+ cookies : 'https://imagine.dev/cookies' ,
195+ privacy : 'https://imagine.dev/privacy' ,
196+ pricing : 'https://imagine.dev/pricing'
176197 }
177198} ;
178199
0 commit comments