Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
sujata
/
iba_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 bbf33c6f
authored
2025-10-12 21:26:32 +0530
by
sujata
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
chnages in header pdflink
1 parent
60cfb0a5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
8 deletions
src/api/about-sidebar/content-types/about-sidebar/schema.json
src/components/header/nav-link.json
src/components/sidebar/links.json
types/generated/components.d.ts
types/generated/contentTypes.d.ts
src/api/about-sidebar/content-types/about-sidebar/schema.json
View file @
bbf33c6
...
...
@@ -18,13 +18,6 @@
"type"
:
"component"
,
"component"
:
"sidebar.links"
,
"repeatable"
:
true
},
"PdfLink"
:
{
"type"
:
"media"
,
"multiple"
:
false
,
"allowedTypes"
:
[
"files"
]
}
}
}
src/components/header/nav-link.json
View file @
bbf33c6
...
...
@@ -11,6 +11,13 @@
"link"
:
{
"type"
:
"string"
},
"PdfLink"
:
{
"type"
:
"media"
,
"multiple"
:
false
,
"allowedTypes"
:
[
"files"
]
},
"navSublink"
:
{
"type"
:
"component"
,
"component"
:
"header.nav-sublink"
,
...
...
src/components/sidebar/links.json
View file @
bbf33c6
...
...
@@ -14,6 +14,13 @@
"OpenNewTab"
:
{
"type"
:
"boolean"
,
"default"
:
true
},
"PdfLink"
:
{
"type"
:
"media"
,
"multiple"
:
false
,
"allowedTypes"
:
[
"files"
]
}
},
"config"
:
{}
...
...
types/generated/components.d.ts
View file @
bbf33c6
...
...
@@ -464,6 +464,7 @@ export interface HeaderNavLink extends Struct.ComponentSchema {
attributes
:
{
link
:
Schema
.
Attribute
.
String
;
navSublink
:
Schema
.
Attribute
.
Component
<
'header.nav-sublink'
,
true
>
;
PdfLink
:
Schema
.
Attribute
.
Media
<
'files'
>
;
title
:
Schema
.
Attribute
.
String
;
};
}
...
...
@@ -1070,6 +1071,7 @@ export interface SidebarLinks extends Struct.ComponentSchema {
attributes
:
{
Label
:
Schema
.
Attribute
.
String
;
OpenNewTab
:
Schema
.
Attribute
.
Boolean
&
Schema
.
Attribute
.
DefaultTo
<
true
>
;
PdfLink
:
Schema
.
Attribute
.
Media
<
'files'
>
;
URL
:
Schema
.
Attribute
.
String
;
};
}
...
...
types/generated/contentTypes.d.ts
View file @
bbf33c6
...
...
@@ -394,7 +394,6 @@ export interface ApiAboutSidebarAboutSidebar extends Struct.SingleTypeSchema {
'api::about-sidebar.about-sidebar'
>
&
Schema
.
Attribute
.
Private
;
PdfLink
:
Schema
.
Attribute
.
Media
<
'files'
>
;
publishedAt
:
Schema
.
Attribute
.
DateTime
;
Title
:
Schema
.
Attribute
.
String
;
updatedAt
:
Schema
.
Attribute
.
DateTime
;
...
...
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