Re-write the setup pages (#171)

* Initial setup page

* Cleanup new setup page

* Space out options

* Fix host providers with templates

* Cleanup host provider classes

* Fix spacing to make it all look more uniform

* Always show setup options and add provider infomation inside an alert

* Drop side margin

* Add collapsable sidebar

* Add build_in host on provider selector (#166)

* add buildin host provider support

* concat js loop

* Cleanup indent for cleaner commit

* Move all_providers

---------

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>

* start on proper setup instructions

* Add self-hosting info

* Add not listed and fix some other minor issues

* - Floodgate setup/FAQ page
- Add version warnings/info in FAQ
- Merging upstream/master
- Replace old setup page with new one; minus videos

* Show Self-Host vs Hosting Provider pages

* Move to tabs, add icons and structure cleanup

* Less repetition, wording

* Updated Standalone setup instructions

* Show "Not listed" provider option at the top of the hosting provider list

---------

Co-authored-by: JensC <jenscollaertyprive@hotmail.com>
Co-authored-by: Jens Co <63231928+Jens-Co@users.noreply.github.com>
Co-authored-by: onebeastchris <github@onechris.mozmail.com>
This commit is contained in:
authored and GitHub committed 2023-07-23 18:08:38 +01:00
1 parent 15b09b9c45
commit 897577f575
30 files changed
+641 -250

No files matched your search

+10 -3
View File
@@ -6,10 +6,16 @@
</button>
<div class="collapse navbar-collapse flex-column align-items-start" id="sidebarNav">
{% for section in site.data.toc %}
<a class="fw-bold" href="{% if section.url %}{{ site.baseurl }}/{{ section.url }}{% else %}{{ section.external_url }}{% endif %}">{{ section.title }}</a>
<ul class="pe-3">
{% assign section_size = section.url | size %}
{% assign current_section = page.url | remove_first: "/" | | truncate: section_size, "" %}
{% if current_section == "" %}
{% assign current_section = "geyser/" %}
{% endif %}
<div class="nav-item dropdown">
<a class="nav-link dropdown-toggle fw-bold{% if current_section == section.url %} show{% endif %}" href="#" role="button" data-bs-toggle="dropdown" data-bs-auto-close="false" aria-expanded="false">{{ section.title }}</a>
<ul class="pe-3 pt-0 dropdown-menu position-relative border-0 list-disc{% if current_section == section.url %} show{% endif %}">
{% for entry in section.links %}
<li>
<li class="ms-4">
<a href="{% if entry.url %}{{ site.baseurl }}/{{ entry.url }}{% else %}{{ entry.external_url }}{% endif %}">{{ entry.title }}</a>
{% if entry.children %}
<ul>
@@ -23,6 +29,7 @@
</li>
{% endfor %}
</ul>
</div>
{% endfor %}
</div>
</div>