Skip to content

Commit

Permalink
footer fixes (#173)
Browse files Browse the repository at this point in the history
* footer fixes

* cookies relocation to the section part

* minor improvements

* add goodies page to footer

* Add resources hub page

* Documentation link fix
  • Loading branch information
atarakanovdes authored Feb 22, 2024
1 parent aaafdef commit 7ff67a6
Show file tree
Hide file tree
Showing 13 changed files with 336 additions and 150 deletions.
11 changes: 9 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,17 @@ sectionPagesMenu = 'main'

[[menu.main]]
name = "Resources"
url = "/resources/"
url = "/resources/hub"
weight = 40 # Sets the menu order
#pre = "<i class='fa-solid fa-handshake-angle mr-1'></i>"

[[menu.main]]
parent = "Resources"
name = "QGIS resources"
url = "/resources/hub"
weight = 5 # Sets the menu order
#pre = "<i class='fa-solid fa-handshake-angle mr-1'></i>"

[[menu.main]]
name = "Download"
url = "/download/"
Expand All @@ -353,7 +360,7 @@ sectionPagesMenu = 'main'
[[menu.main]]
parent = "Resources"
name = "Documentation"
url = "https://docs.qgis.org/3.28/en/docs/index.html"
url = "https://docs.qgis.org/latest/en/docs/index.html"
weight = 20

[[menu.main]]
Expand Down
2 changes: 1 addition & 1 deletion content/product/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ LabelText: "Free and open source"
{{< content-start >}}
## Key features

{{< tabs >}}
{{< tabs tab1="Create map" tab2="Edit layers" tab3="Process and analyze" tab4="Share maps" >}}

{{< columns-start id="content-tab-1" >}}
{{< column-start class="is-flex-direction-column is-two-thirds" >}}
Expand Down
143 changes: 143 additions & 0 deletions content/resources/hub.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
---
type: "page"
title: "QGIS resources"
subtitle: ""
draft: false
sidebar: true
---

{{< content-start >}}

# Resources

{{< rich-box icon="🖖" layoutClass="tips">}}
{{< rich-content themeClass="coloring-1" >}}
#### Troubles with installation?
If you are looking for information on installing QGIS on all available platforms, we have prepared a comprehensive guide for you:

[Installation guide]({{< ref "/resources/installation-guide/index.md" >}})

{{< /rich-content >}}
{{< /rich-box >}}

## Documentation

QGIS has a lot of documentation. All documentation is in English but some documents such as the user guide are also available in other languages.

You will find documentation for every QGIS long term release on the respective documentation website.

[Get involved](/community/involve/) and help us write a better documentation.

{{< tabs tab1="QGIS 3.28" tab2="QGIS 3.34" tab3="QGIS testing" tab4="Archived reliases">}}


{{< tab-content-start tab="1" >}}
**For users(QGIS 3.28):**

{{< rich-list listLink="https://docs.qgis.org/3.28/en/docs/user_manual" layoutClass="inline-block" listTitle="Desktop User Guide/Manual" >}}

{{< rich-list listLink="https://docs.qgis.org/3.28/en/docs/server_manual" layoutClass="inline-block" listTitle="Server Guide/Manual" >}}

{{< rich-list listLink="https://docs.qgis.org/3.28/en/docs/training_manual" layoutClass="inline-block" listTitle="QGIS Training manual">}}

{{< rich-list listLink="https://docs.qgis.org/3.28/en/docs/gentle_gis_introduction" layoutClass="inline-block" listTitle="Introduction in GIS" >}}

**For documentation writers(QGIS 3.28):**

{{< rich-list listLink="https://docs.qgis.org/3.28/en/docs/documentation_guidelinesion" layoutClass="inline-block" listTitle="Documentation Guidelines">}}


**For developers(QGIS 3.28):**

{{< rich-list listLink="https://docs.qgis.org/3.28/en/docs/pyqgis_developer_cookbook" layoutClass="inline-block" listTitle="PyQGIS cookbook (for plugins and scripting)">}}

{{< rich-list listLink="https://qgis.org/api/3.28/" layoutClass="inline-block" listTitle="C++ API documentation" listSubtitle="">}}

{{< rich-list listLink="https://qgis.org/pyqgis/3.28/" layoutClass="inline-block" listTitle="PyQGIS - QGIS Python Api documentation" >}}

{{< rich-list listLink="https://github.com/qgis/QGIS/blob/release-3.28/INSTALL.md" layoutClass="inline-block" listTitle="Building QGIS from Source" >}}

**For download(QGIS 3.28):**

{{< rich-list listLink="https://docs.qgis.org/3.28/pdf" layoutClass="inline-block" listTitle="PDF of the manuals" >}}

{{< rich-list listLink="https://docs.qgis.org/3.28/zip" layoutClass="inline-block" listTitle="HTML zip of the manuals" >}}

{{< tab-content-end >}}



{{< tab-content-start tab="2" >}}
**For users(QGIS 3.34):**

{{< rich-list listLink="https://docs.qgis.org/3.34/en/docs/user_manual" layoutClass="inline-block" listTitle="Desktop User Guide/Manual" >}}

{{< rich-list listLink="https://docs.qgis.org/3.34/en/docs/server_manual" layoutClass="inline-block" listTitle="Server Guide/Manual" >}}

{{< rich-list listLink="https://docs.qgis.org/3.34/en/docs/training_manual" layoutClass="inline-block" listTitle="QGIS Training manual">}}

{{< rich-list listLink="https://docs.qgis.org/3.34/en/docs/gentle_gis_introduction" layoutClass="inline-block" listTitle="Introduction in GIS" >}}

**For documentation writers(QGIS 3.34):**

{{< rich-list listLink="https://docs.qgis.org/3.34/en/docs/documentation_guidelinesion" layoutClass="inline-block" listTitle="Documentation Guidelines">}}


**For developers(QGIS 3.34):**

{{< rich-list listLink="https://docs.qgis.org/3.34/en/docs/pyqgis_developer_cookbook" layoutClass="inline-block" listTitle="PyQGIS cookbook (for plugins and scripting)">}}

{{< rich-list listLink="https://qgis.org/api/3.34/" layoutClass="inline-block" listTitle="C++ API documentation" listSubtitle="">}}

{{< rich-list listLink="https://qgis.org/pyqgis/3.34/" layoutClass="inline-block" listTitle="PyQGIS - QGIS Python Api documentation" >}}

{{< rich-list listLink="https://github.com/qgis/QGIS/blob/release-3_34/INSTALL.md" layoutClass="inline-block" listTitle="Building QGIS from Source" >}}

**For download(QGIS 3.34):**

{{< rich-list listLink="https://docs.qgis.org/3.34/pdf" layoutClass="inline-block" listTitle="PDF of the manuals" >}}

{{< rich-list listLink="https://docs.qgis.org/3.34/zip" layoutClass="inline-block" listTitle="HTML zip of the manuals" >}}

{{< tab-content-end >}}

{{< tab-content-start tab="3" >}}

We are still updating (not translating yet) the documentation for releases newer than QGIS 3.34. We call this version 'QGIS testing' and the documentation can be found here:

{{< rich-list listLink="https://docs.qgis.org/testing" layoutClass="inline-block" listTitle="QGIS testing" >}}

{{< tab-content-end >}}

{{< tab-content-start tab="4" >}}

{{< rich-list listLink="https://docs.qgis.org/3.22/en" layoutClass="inline-block" listTitle="QGIS 3.22 Documentation" >}}

{{< rich-list listLink="https://docs.qgis.org/3.16/en" layoutClass="inline-block" listTitle="QGIS 3.16 Documentation" >}}

{{< rich-list listLink="https://docs.qgis.org/3.10/en" layoutClass="inline-block" listTitle="QGIS 3.10 Documentation" >}}

{{< rich-list listLink="https://docs.qgis.org/3.4/en" layoutClass="inline-block" listTitle="QGIS 3.4 Documentation" >}}

{{< rich-list listLink="https://docs.qgis.org/2.18/en" layoutClass="inline-block" listTitle="QGIS 2.18 Documentation" >}}

{{< tab-content-end >}}


{{< rich-box >}}
{{< rich-content themeClass="coloring-6">}}
## Support

The QGIS community offers a wealth of excellent websites with support forums.

{{< button class = "is-primary6" link = "/resources/support" text = "View support options" >}}

{{< /rich-content >}}
{{< /rich-box >}}






{{< content-end >}}
10 changes: 10 additions & 0 deletions img/footlogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions layouts/funding/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
{{ partial "banner.html" . }}
{{ .Content }}
{{ partial "footer.html" . }}
{{ if ( .Site.Params.cookiesstate ) }}
{{ partial "cookie-notice.html" }}
{{ end }}
10 changes: 10 additions & 0 deletions static/img/footlogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions static/img/mastodon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
width: calc(33% - 1rem)
display: inline-block
vertical-align: top
&.inline-block
width: auto
display: inline-block
&.has-icon
padding-left: 4rem;
.listcont
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
@import "../utilities/derived-variables"

$footer-tablet-breakpoint: 1450px !default
$footer-background-color: hsla(222, 15%, 13%, 1) !default
$footer-padding: 4rem 10rem 1rem 11.25rem !default
$footer-background-color: #002033 !default
$footer-padding: 4rem 0rem 1rem 0rem !default
$footer-padding-mobile: 4rem 2rem 4rem !default

.footer
font-weight: 400
background-color: $footer-background-color

text-align: center
padding: $footer-padding-mobile

.footertitle
color: #637179

.copyright // I can't achieve this with the bulma classes
display: none
+from($desktop)
Expand All @@ -34,7 +36,6 @@ $footer-padding-mobile: 4rem 2rem 4rem !default

button.button
padding: 40px 87.5px
font-size: 24px
font-weight: 600
+from($desktop)
padding: 1rem 2rem
Expand Down Expand Up @@ -63,8 +64,16 @@ $footer-padding-mobile: 4rem 2rem 4rem !default

.privacy-links
margin-top: 4rem
a
color: #637179
+from($desktop)
margin-top: unset
.fa-foss
background: url('img/mastodon.svg') center center no-repeat
width: 32px
height: 34px





Expand Down
Loading

0 comments on commit 7ff67a6

Please sign in to comment.