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
2ee199d7
Commit
2ee199d7
authored
2 years ago
by
Toavina
Browse files
Options
Downloads
Patches
Plain Diff
footer : update
parent
3871fb43
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/core/Footer.tsx
+25
-15
25 additions, 15 deletions
src/components/core/Footer.tsx
src/pages-doc/doc/core/footer.tsx
+27
-3
27 additions, 3 deletions
src/pages-doc/doc/core/footer.tsx
with
52 additions
and
18 deletions
src/components/core/Footer.tsx
+
25
−
15
View file @
2ee199d7
import
React
from
"
react
"
;
import
React
from
"
react
"
;
import
{
Carousel
,
Logo
}
from
"
@onegeo/gatsby-theme-onegeo
"
;
import
image
from
"
../../images/logo-egeo.png
"
;
interface
Props
{
interface
Props
{
className
?:
string
;
className
?:
string
;
}
}
// const dataImage = [
// {
// src: "https://placeimg.com/800/200/arch",
// },
// {
// src: "https://placeimg.com/800/200/arch",
// },
// {
// src: "https://placeimg.com/800/200/arch",
// },
// {
// src: "https://placeimg.com/800/200/arch",
// },
// ];
const
Footer
=
(
props
:
Props
)
=>
{
const
Footer
=
(
props
:
Props
)
=>
{
const
{
className
=
""
}
=
props
;
const
{
className
=
""
}
=
props
;
return
(
return
(
<
footer
className
=
{
`fixed bottom-0 footer items-center p-4 bg-base-200
${
className
}
`
}
>
<
footer
className
=
{
`fixed bottom-0 footer items-center p-4 bg-base-200
${
className
}
`
}
>
<
div
className
=
"items-center grid-flow-col"
>
<
div
className
=
"items-center grid-flow-col"
>
<
svg
<
Logo
title
=
""
image
=
{
image
}
/>
width
=
"36"
height
=
"36"
viewBox
=
"0 0 24 24"
xmlns
=
"http://www.w3.org/2000/svg"
fillRule
=
"evenodd"
clipRule
=
"evenodd"
className
=
"fill-current"
>
<
path
d
=
"M22.672 15.226l-2.432.811.841 2.515c.33 1.019-.209 2.127-1.23 2.456-1.15.325-2.148-.321-2.463-1.226l-.84-2.518-5.013 1.677.84 2.517c.391 1.203-.434 2.542-1.831 2.542-.88 0-1.601-.564-1.86-1.314l-.842-2.516-2.431.809c-1.135.328-2.145-.317-2.463-1.229-.329-1.018.211-2.127 1.231-2.456l2.432-.809-1.621-4.823-2.432.808c-1.355.384-2.558-.59-2.558-1.839 0-.817.509-1.582 1.327-1.846l2.433-.809-.842-2.515c-.33-1.02.211-2.129 1.232-2.458 1.02-.329 2.13.209 2.461 1.229l.842 2.515 5.011-1.677-.839-2.517c-.403-1.238.484-2.553 1.843-2.553.819 0 1.585.509 1.85 1.326l.841 2.517 2.431-.81c1.02-.33 2.131.211 2.461 1.229.332 1.018-.21 2.126-1.23 2.456l-2.433.809 1.622 4.823 2.433-.809c1.242-.401 2.557.484 2.557 1.838 0 .819-.51 1.583-1.328 1.847m-8.992-6.428l-5.01 1.675 1.619 4.828 5.011-1.674-1.62-4.829z"
></
path
>
</
svg
>
</
div
>
</
div
>
<
div
className
=
"grid-flow-col md:justify-self-center"
>
<
div
className
=
"grid-flow-col md:justify-self-center"
>
<
a
className
=
"link link-hover"
>
Navbar
</
a
>
<
a
className
=
"link link-hover"
>
Navbar
</
a
>
</
div
>
</
div
>
<
div
className
=
"grid-flow-col md:justify-self-center"
>
<
div
className
=
"grid-flow-col md:justify-self-center"
>
<
a
className
=
"link link-hover"
>
Partners
</
a
>
<
a
className
=
"link link-hover"
>
Partners
</
a
>
{
/* <Carousel images={dataImage} isLogo={true} delay={2000} /> */
}
</
div
>
</
div
>
<
div
className
=
"grid-flow-col gap-4 md:place-self-center md:justify-self-end"
>
<
div
className
=
"grid-flow-col gap-4 md:place-self-center md:justify-self-end"
>
<
a
>
<
a
href
=
"#"
>
<
svg
<
svg
xmlns
=
"http://www.w3.org/2000/svg"
xmlns
=
"http://www.w3.org/2000/svg"
width
=
"24"
width
=
"24"
...
@@ -39,7 +49,7 @@ const Footer = (props: Props) => {
...
@@ -39,7 +49,7 @@ const Footer = (props: Props) => {
<
path
d
=
"M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z"
></
path
>
<
path
d
=
"M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z"
></
path
>
</
svg
>
</
svg
>
</
a
>
</
a
>
<
a
>
<
a
href
=
"#"
>
<
svg
<
svg
xmlns
=
"http://www.w3.org/2000/svg"
xmlns
=
"http://www.w3.org/2000/svg"
width
=
"24"
width
=
"24"
...
@@ -50,7 +60,7 @@ const Footer = (props: Props) => {
...
@@ -50,7 +60,7 @@ const Footer = (props: Props) => {
<
path
d
=
"M19.615 3.184c-3.604-.246-11.631-.245-15.23 0-3.897.266-4.356 2.62-4.385 8.816.029 6.185.484 8.549 4.385 8.816 3.6.245 11.626.246 15.23 0 3.897-.266 4.356-2.62 4.385-8.816-.029-6.185-.484-8.549-4.385-8.816zm-10.615 12.816v-8l8 3.993-8 4.007z"
></
path
>
<
path
d
=
"M19.615 3.184c-3.604-.246-11.631-.245-15.23 0-3.897.266-4.356 2.62-4.385 8.816.029 6.185.484 8.549 4.385 8.816 3.6.245 11.626.246 15.23 0 3.897-.266 4.356-2.62 4.385-8.816-.029-6.185-.484-8.549-4.385-8.816zm-10.615 12.816v-8l8 3.993-8 4.007z"
></
path
>
</
svg
>
</
svg
>
</
a
>
</
a
>
<
a
>
<
a
href
=
"#"
>
<
svg
<
svg
xmlns
=
"http://www.w3.org/2000/svg"
xmlns
=
"http://www.w3.org/2000/svg"
width
=
"24"
width
=
"24"
...
...
This diff is collapsed.
Click to expand it.
src/pages-doc/doc/core/footer.tsx
+
27
−
3
View file @
2ee199d7
import
React
from
"
react
"
;
import
React
from
"
react
"
;
import
{
Footer
}
from
"
@onegeo/gatsby-theme-onegeo
"
;
import
{
Content
,
Footer
}
from
"
@onegeo/gatsby-theme-onegeo
"
;
import
{
Link
}
from
"
gatsby
"
;
function
footerIndex
()
{
function
footerIndex
()
{
return
<
Footer
className
=
""
/>;
return
(
<>
<
Content
>
<
div
className
=
"prose"
>
<
Link
to
=
"/doc/core"
>
Retour
</
Link
>
<
h1
>
Footer
</
h1
>
<
h2
>
Props
</
h2
>
<
div
className
=
"mockup-code"
>
<
pre
>
<
code
>
{
`interface Props {
className?: string;
}`
}
</
code
>
</
pre
>
</
div
>
<
h2
>
Example
</
h2
>
</
div
>
</
Content
>
<
Footer
className
=
""
/>
</>
);
}
}
export
default
footerIndex
;
export
default
footerIndex
;
\ No newline at end of file
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