@@ -53,14 +53,21 @@ export type Profile = {
5353 sites : boolean ;
5454 settings : boolean ;
5555 } ;
56- discord : string ;
57- website : string ;
5856 showOrgInBreadcrumbs : boolean ;
5957 minimalOrgHeader : boolean ;
6058 getProjectRoute : ( params : { region : string ; project : string } ) => ResolvedPathname ;
6159 component : {
6260 unauthenticated : Component ;
6361 } ;
62+ links : {
63+ docs : string ;
64+ website : string ;
65+ discord : string ;
66+ terms : string ;
67+ privacy : string ;
68+ cookies : string ;
69+ pricing : string ;
70+ } ;
6471} ;
6572
6673export const base : Profile = {
@@ -101,15 +108,22 @@ export const base: Profile = {
101108 sites : true ,
102109 settings : true
103110 } ,
104- discord : 'https://appwrite.io/discord' ,
105- website : 'https://appwrite.io' ,
106111 showOrgInBreadcrumbs : true ,
107112 minimalOrgHeader : false ,
108113 getProjectRoute ( { region, project } ) {
109114 return resolve ( `/(console)/project-[region]-[project]/overview` , {
110115 region,
111116 project
112117 } ) ;
118+ } ,
119+ links : {
120+ website : 'https://appwrite.io' ,
121+ docs : 'https://appwrite.io/docs' ,
122+ terms : 'https://appwrite.io/terms' ,
123+ discord : 'https://appwrite.io/discord' ,
124+ cookies : 'https://appwrite.io/cookies' ,
125+ privacy : 'https://appwrite.io/privacy' ,
126+ pricing : 'https://appwrite.io/pricing'
113127 }
114128} ;
115129
@@ -152,15 +166,22 @@ export const studio: Profile = {
152166 sites : false ,
153167 settings : true
154168 } ,
155- website : 'https://imagine.dev' ,
156- discord : 'https://imagine.dev/discord' ,
157169 showOrgInBreadcrumbs : false ,
158170 minimalOrgHeader : true ,
159171 getProjectRoute ( { region, project } ) {
160172 return resolve ( `/(console)/project-[region]-[project]/(studio)/studio` , {
161173 region,
162174 project
163175 } ) ;
176+ } ,
177+ links : {
178+ website : 'https://imagine.dev' ,
179+ docs : 'https://imagine.dev/docs' ,
180+ terms : 'https://imagine.dev/terms' ,
181+ discord : 'https://imagine.dev/discord' ,
182+ cookies : 'https://imagine.dev/cookies' ,
183+ privacy : 'https://imagine.dev/privacy' ,
184+ pricing : 'https://imagine.dev/pricing'
164185 }
165186} ;
166187
0 commit comments