Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Gatsby Theme Onegeo
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OneGeo Suite
Libs
Gatsby Theme Onegeo
Commits
d79276fd
Commit
d79276fd
authored
2 years ago
by
Tojo
Browse files
Options
Downloads
Patches
Plain Diff
maj header
parent
fbe3c240
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
index.d.ts
+4
-1
4 additions, 1 deletion
index.d.ts
src/components/core/Header.tsx
+9
-3
9 additions, 3 deletions
src/components/core/Header.tsx
src/pages-doc/doc/core/header.tsx
+4
-1
4 additions, 1 deletion
src/pages-doc/doc/core/header.tsx
with
17 additions
and
5 deletions
index.d.ts
+
4
−
1
View file @
d79276fd
...
...
@@ -59,7 +59,10 @@ interface TocProps {
}
export
function
Toc
(
props
:
TocProps
):
JSX
.
Element
;
interface
Iheader
{}
interface
Iheader
{
className
?:
string
logo
?:
any
}
export
function
Header
(
props
:
Iheader
):
JSX
.
Element
;
interface
LinkProps
{
...
...
This diff is collapsed.
Click to expand it.
src/components/core/Header.tsx
+
9
−
3
View file @
d79276fd
...
...
@@ -5,11 +5,17 @@ import logoSig from "../../images/logo-egeo.png";
import
MenuMobile
from
"
./menuMobile
"
;
import
Profil
from
"
./Profil
"
;
const
Header
=
()
=>
{
interface
Iheader
{
className
?:
string
logo
?:
any
}
const
Header
=
(
props
:
Iheader
)
=>
{
const
{
className
=
''
,
logo
}
=
props
return
(
<>
<
div
className
=
"navbar bg-
base-100
sticky top-0"
>
<
div
className
=
"navbar-start"
>
<
div
className
=
"navbar bg-
accent
sticky top-0"
>
<
div
className
=
"navbar-start"
>
<
div
className
=
"dropdown"
>
<
label
tabIndex
=
{
0
}
className
=
"btn btn-ghost lg:hidden"
>
<
svg
...
...
This diff is collapsed.
Click to expand it.
src/pages-doc/doc/core/header.tsx
+
4
−
1
View file @
d79276fd
...
...
@@ -14,7 +14,10 @@ const header = () => {
<
div
className
=
"mockup-code"
>
<
pre
>
<
code
>
{
`No interface`
}
{
`interface Iheader {
className?: string
logo?: any
}`
}
</
code
>
</
pre
>
</
div
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment