Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
sujata
/
advithconsulting.io-backend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit e885bac1
authored
2024-11-26 16:41:02 +0530
by
sujata
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add download button compoent
1 parent
e6e14f8a
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
136 additions
and
91 deletions
src/api/budgetpanorama/content-types/budgetpanorama/schema.json
src/api/corpedia/content-types/corpedia/schema.json
src/api/taxwire/content-types/taxwire/schema.json
src/components/dynamic-zone/download-btn.json
types/generated/components.d.ts
types/generated/contentTypes.d.ts
src/api/budgetpanorama/content-types/budgetpanorama/schema.json
View file @
e885bac
...
@@ -35,7 +35,8 @@
...
@@ -35,7 +35,8 @@
"dynamic-zone.background"
,
"dynamic-zone.background"
,
"dynamic-zone.about"
,
"dynamic-zone.about"
,
"dynamic-zone.table"
,
"dynamic-zone.table"
,
"dynamic-zone.details"
"dynamic-zone.details"
,
"dynamic-zone.download-btn"
]
]
},
},
"slug"
:
{
"slug"
:
{
...
...
src/api/corpedia/content-types/corpedia/schema.json
View file @
e885bac
...
@@ -38,7 +38,8 @@
...
@@ -38,7 +38,8 @@
"dynamic-zone.about"
,
"dynamic-zone.about"
,
"dynamic-zone.keyfeature"
,
"dynamic-zone.keyfeature"
,
"dynamic-zone.table"
,
"dynamic-zone.table"
,
"dynamic-zone.details"
"dynamic-zone.details"
,
"dynamic-zone.download-btn"
]
]
},
},
"slug"
:
{
"slug"
:
{
...
...
src/api/taxwire/content-types/taxwire/schema.json
View file @
e885bac
...
@@ -38,7 +38,8 @@
...
@@ -38,7 +38,8 @@
"dynamic-zone.background"
,
"dynamic-zone.background"
,
"dynamic-zone.about"
,
"dynamic-zone.about"
,
"dynamic-zone.table"
,
"dynamic-zone.table"
,
"dynamic-zone.details"
"dynamic-zone.details"
,
"dynamic-zone.download-btn"
]
]
},
},
"slug"
:
{
"slug"
:
{
...
...
src/components/dynamic-zone/download-btn.json
0 → 100644
View file @
e885bac
{
"collectionName"
:
"components_dynamic_zone_download_btns"
,
"info"
:
{
"displayName"
:
"DownloadBtn"
,
"description"
:
""
},
"options"
:
{},
"attributes"
:
{
"Subtitle"
:
{
"type"
:
"string"
},
"Title"
:
{
"type"
:
"string"
},
"Description"
:
{
"type"
:
"string"
},
"CTA"
:
{
"type"
:
"component"
,
"repeatable"
:
false
,
"component"
:
"cta.cta"
}
}
}
types/generated/components.d.ts
View file @
e885bac
...
@@ -110,71 +110,6 @@ export interface SharedMedia extends Struct.ComponentSchema {
...
@@ -110,71 +110,6 @@ export interface SharedMedia extends Struct.ComponentSchema {
};
};
}
}
export
interface
PeopleTeamMember
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_team_members'
;
info
:
{
displayName
:
'TeamMember'
;
description
:
''
;
};
attributes
:
{
Name
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Linkdin
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
&
Schema
.
Attribute
.
Required
;
Designation
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
};
}
export
interface
PeopleTeamLeads
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_team_leads'
;
info
:
{
displayName
:
'Team Leads'
;
};
attributes
:
{
Name
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Designation
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
&
Schema
.
Attribute
.
Required
;
Linkdin
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
};
}
export
interface
PeoplePeopleList
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_people_lists'
;
info
:
{
displayName
:
'people-list'
;
description
:
''
;
};
attributes
:
{
heading
:
Schema
.
Attribute
.
String
;
description
:
Schema
.
Attribute
.
String
;
};
}
export
interface
PeopleOverview
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_overviews'
;
info
:
{
displayName
:
'Overview'
;
description
:
''
;
};
attributes
:
{
Subtitle
:
Schema
.
Attribute
.
String
;
Title
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
;
Description
:
Schema
.
Attribute
.
Text
;
};
}
export
interface
PeopleAdvisoryBoard
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_advisory_boards'
;
info
:
{
displayName
:
'Advisory Board'
;
};
attributes
:
{
Name
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Description
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
;
};
}
export
interface
LayoutWhatwedo
extends
Struct
.
ComponentSchema
{
export
interface
LayoutWhatwedo
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_layout_whatwedos'
;
collectionName
:
'components_layout_whatwedos'
;
info
:
{
info
:
{
...
@@ -346,6 +281,71 @@ export interface LayoutAreasExpertise extends Struct.ComponentSchema {
...
@@ -346,6 +281,71 @@ export interface LayoutAreasExpertise extends Struct.ComponentSchema {
};
};
}
}
export
interface
PeopleTeamMember
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_team_members'
;
info
:
{
displayName
:
'TeamMember'
;
description
:
''
;
};
attributes
:
{
Name
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Linkdin
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
&
Schema
.
Attribute
.
Required
;
Designation
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
};
}
export
interface
PeopleTeamLeads
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_team_leads'
;
info
:
{
displayName
:
'Team Leads'
;
};
attributes
:
{
Name
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Designation
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
&
Schema
.
Attribute
.
Required
;
Linkdin
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
};
}
export
interface
PeoplePeopleList
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_people_lists'
;
info
:
{
displayName
:
'people-list'
;
description
:
''
;
};
attributes
:
{
heading
:
Schema
.
Attribute
.
String
;
description
:
Schema
.
Attribute
.
String
;
};
}
export
interface
PeopleOverview
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_overviews'
;
info
:
{
displayName
:
'Overview'
;
description
:
''
;
};
attributes
:
{
Subtitle
:
Schema
.
Attribute
.
String
;
Title
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
;
Description
:
Schema
.
Attribute
.
Text
;
};
}
export
interface
PeopleAdvisoryBoard
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_people_advisory_boards'
;
info
:
{
displayName
:
'Advisory Board'
;
};
attributes
:
{
Name
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Description
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
;
Image
:
Schema
.
Attribute
.
Media
<
'images'
>
;
};
}
export
interface
HomePeople
extends
Struct
.
ComponentSchema
{
export
interface
HomePeople
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_home_people'
;
collectionName
:
'components_home_people'
;
info
:
{
info
:
{
...
@@ -417,6 +417,23 @@ export interface HomeHome extends Struct.ComponentSchema {
...
@@ -417,6 +417,23 @@ export interface HomeHome extends Struct.ComponentSchema {
};
};
}
}
export
interface
CtaCta
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_cta_ctas'
;
info
:
{
displayName
:
'CTA'
;
};
attributes
:
{
text
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
&
Schema
.
Attribute
.
DefaultTo
<
'text'
>
;
URL
:
Schema
.
Attribute
.
String
;
target
:
Schema
.
Attribute
.
Enumeration
<
[
'_blank'
,
'_parent'
,
'_self'
,
'_top'
]
>
;
varient
:
Schema
.
Attribute
.
Enumeration
<
[
'outline'
,
'fill'
]
>
;
};
}
export
interface
DynamicZoneTable
extends
Struct
.
ComponentSchema
{
export
interface
DynamicZoneTable
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_dynamic_zone_tables'
;
collectionName
:
'components_dynamic_zone_tables'
;
info
:
{
info
:
{
...
@@ -533,6 +550,20 @@ export interface DynamicZoneElementList extends Struct.ComponentSchema {
...
@@ -533,6 +550,20 @@ export interface DynamicZoneElementList extends Struct.ComponentSchema {
};
};
}
}
export
interface
DynamicZoneDownloadBtn
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_dynamic_zone_download_btns'
;
info
:
{
displayName
:
'DownloadBtn'
;
description
:
''
;
};
attributes
:
{
Subtitle
:
Schema
.
Attribute
.
String
;
Title
:
Schema
.
Attribute
.
String
;
Description
:
Schema
.
Attribute
.
String
;
CTA
:
Schema
.
Attribute
.
Component
<
'cta.cta'
,
false
>
;
};
}
export
interface
DynamicZoneDetails
extends
Struct
.
ComponentSchema
{
export
interface
DynamicZoneDetails
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_dynamic_zone_details'
;
collectionName
:
'components_dynamic_zone_details'
;
info
:
{
info
:
{
...
@@ -591,23 +622,6 @@ export interface DynamicZoneAbout extends Struct.ComponentSchema {
...
@@ -591,23 +622,6 @@ export interface DynamicZoneAbout extends Struct.ComponentSchema {
};
};
}
}
export
interface
CtaCta
extends
Struct
.
ComponentSchema
{
collectionName
:
'components_cta_ctas'
;
info
:
{
displayName
:
'CTA'
;
};
attributes
:
{
text
:
Schema
.
Attribute
.
String
&
Schema
.
Attribute
.
Required
&
Schema
.
Attribute
.
DefaultTo
<
'text'
>
;
URL
:
Schema
.
Attribute
.
String
;
target
:
Schema
.
Attribute
.
Enumeration
<
[
'_blank'
,
'_parent'
,
'_self'
,
'_top'
]
>
;
varient
:
Schema
.
Attribute
.
Enumeration
<
[
'outline'
,
'fill'
]
>
;
};
}
declare
module
'@strapi/strapi'
{
declare
module
'@strapi/strapi'
{
export
module
Public
{
export
module
Public
{
export
interface
ComponentSchemas
{
export
interface
ComponentSchemas
{
...
@@ -618,11 +632,6 @@ declare module '@strapi/strapi' {
...
@@ -618,11 +632,6 @@ declare module '@strapi/strapi' {
'shared.page-schema'
:
SharedPageSchema
;
'shared.page-schema'
:
SharedPageSchema
;
'shared.meta-social'
:
SharedMetaSocial
;
'shared.meta-social'
:
SharedMetaSocial
;
'shared.media'
:
SharedMedia
;
'shared.media'
:
SharedMedia
;
'people.team-member'
:
PeopleTeamMember
;
'people.team-leads'
:
PeopleTeamLeads
;
'people.people-list'
:
PeoplePeopleList
;
'people.overview'
:
PeopleOverview
;
'people.advisory-board'
:
PeopleAdvisoryBoard
;
'layout.whatwedo'
:
LayoutWhatwedo
;
'layout.whatwedo'
:
LayoutWhatwedo
;
'layout.technicalexpertise'
:
LayoutTechnicalexpertise
;
'layout.technicalexpertise'
:
LayoutTechnicalexpertise
;
'layout.technicalexp-tab'
:
LayoutTechnicalexpTab
;
'layout.technicalexp-tab'
:
LayoutTechnicalexpTab
;
...
@@ -637,11 +646,17 @@ declare module '@strapi/strapi' {
...
@@ -637,11 +646,17 @@ declare module '@strapi/strapi' {
'layout.cfo-service'
:
LayoutCfoService
;
'layout.cfo-service'
:
LayoutCfoService
;
'layout.cfo-service-tab'
:
LayoutCfoServiceTab
;
'layout.cfo-service-tab'
:
LayoutCfoServiceTab
;
'layout.areas-expertise'
:
LayoutAreasExpertise
;
'layout.areas-expertise'
:
LayoutAreasExpertise
;
'people.team-member'
:
PeopleTeamMember
;
'people.team-leads'
:
PeopleTeamLeads
;
'people.people-list'
:
PeoplePeopleList
;
'people.overview'
:
PeopleOverview
;
'people.advisory-board'
:
PeopleAdvisoryBoard
;
'home.people'
:
HomePeople
;
'home.people'
:
HomePeople
;
'home.knowlege-tab'
:
HomeKnowlegeTab
;
'home.knowlege-tab'
:
HomeKnowlegeTab
;
'home.knowledgeshack'
:
HomeKnowledgeshack
;
'home.knowledgeshack'
:
HomeKnowledgeshack
;
'home.industry'
:
HomeIndustry
;
'home.industry'
:
HomeIndustry
;
'home.home'
:
HomeHome
;
'home.home'
:
HomeHome
;
'cta.cta'
:
CtaCta
;
'dynamic-zone.table'
:
DynamicZoneTable
;
'dynamic-zone.table'
:
DynamicZoneTable
;
'dynamic-zone.rules-list'
:
DynamicZoneRulesList
;
'dynamic-zone.rules-list'
:
DynamicZoneRulesList
;
'dynamic-zone.rules-application'
:
DynamicZoneRulesApplication
;
'dynamic-zone.rules-application'
:
DynamicZoneRulesApplication
;
...
@@ -651,10 +666,10 @@ declare module '@strapi/strapi' {
...
@@ -651,10 +666,10 @@ declare module '@strapi/strapi' {
'dynamic-zone.element-two'
:
DynamicZoneElementTwo
;
'dynamic-zone.element-two'
:
DynamicZoneElementTwo
;
'dynamic-zone.element-one'
:
DynamicZoneElementOne
;
'dynamic-zone.element-one'
:
DynamicZoneElementOne
;
'dynamic-zone.element-list'
:
DynamicZoneElementList
;
'dynamic-zone.element-list'
:
DynamicZoneElementList
;
'dynamic-zone.download-btn'
:
DynamicZoneDownloadBtn
;
'dynamic-zone.details'
:
DynamicZoneDetails
;
'dynamic-zone.details'
:
DynamicZoneDetails
;
'dynamic-zone.background'
:
DynamicZoneBackground
;
'dynamic-zone.background'
:
DynamicZoneBackground
;
'dynamic-zone.about'
:
DynamicZoneAbout
;
'dynamic-zone.about'
:
DynamicZoneAbout
;
'cta.cta'
:
CtaCta
;
}
}
}
}
}
}
types/generated/contentTypes.d.ts
View file @
e885bac
...
@@ -701,6 +701,7 @@ export interface ApiBudgetpanoramaBudgetpanorama
...
@@ -701,6 +701,7 @@ export interface ApiBudgetpanoramaBudgetpanorama
'dynamic-zone.about'
,
'dynamic-zone.about'
,
'dynamic-zone.table'
,
'dynamic-zone.table'
,
'dynamic-zone.details'
,
'dynamic-zone.details'
,
'dynamic-zone.download-btn'
,
]
]
>
;
>
;
slug
:
Schema
.
Attribute
.
UID
;
slug
:
Schema
.
Attribute
.
UID
;
...
@@ -989,6 +990,7 @@ export interface ApiCorpediaCorpedia extends Struct.CollectionTypeSchema {
...
@@ -989,6 +990,7 @@ export interface ApiCorpediaCorpedia extends Struct.CollectionTypeSchema {
'dynamic-zone.keyfeature'
,
'dynamic-zone.keyfeature'
,
'dynamic-zone.table'
,
'dynamic-zone.table'
,
'dynamic-zone.details'
,
'dynamic-zone.details'
,
'dynamic-zone.download-btn'
,
]
]
>
;
>
;
slug
:
Schema
.
Attribute
.
UID
;
slug
:
Schema
.
Attribute
.
UID
;
...
@@ -1312,6 +1314,7 @@ export interface ApiTaxwireTaxwire extends Struct.CollectionTypeSchema {
...
@@ -1312,6 +1314,7 @@ export interface ApiTaxwireTaxwire extends Struct.CollectionTypeSchema {
'dynamic-zone.about'
,
'dynamic-zone.about'
,
'dynamic-zone.table'
,
'dynamic-zone.table'
,
'dynamic-zone.details'
,
'dynamic-zone.details'
,
'dynamic-zone.download-btn'
,
]
]
>
;
>
;
slug
:
Schema
.
Attribute
.
UID
;
slug
:
Schema
.
Attribute
.
UID
;
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment