Skip to content

Commit

Permalink
Added Help section to main menu and sub-pages'
Browse files Browse the repository at this point in the history
  • Loading branch information
hanscj1 committed Dec 14, 2021
1 parent 1257541 commit 20c8434
Show file tree
Hide file tree
Showing 22 changed files with 4,177 additions and 81 deletions.
12 changes: 12 additions & 0 deletions content/en/help/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Help
type: legals
# robotsdisallow: true
description: >
This is the help section.
menu:
main:
weight: 50
pre: <i class='fas fa-question'></i>
lastmod:
---
12 changes: 12 additions & 0 deletions content/en/help/contactus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Contact us
Description: >
Contact LambdaStack
weight: 1
type: legals
hide_feedback: true
---

## Contact Us


27 changes: 27 additions & 0 deletions content/en/help/faq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: FAQ
weight: 2
type: legals
Description: >
FAQ
---

## FAQ

>Is there a fee for LambdaStack? **A)** No. It is open source with the Apache 2 license
>Is LambdaStack a custom Kubernetes repo? **A)** No. It uses standard Kubernetes (latest version) and automates it
>Does LambdaStack do any Industrial hardening? **A)** Yes. LambdaStack is a fork of project that we started in 2018 called Epiphany. It has been in production since 2018 with some of the most critical infrastructure in the Energy sector
>What does LambdaStack do? **A)** LambdaStack automates the deployment of Kubernetes in a true Multi-cloud configuration for AWS, Azure, On-Premise, and GCP (soon). It allows you to build out scalable infrastructures built with Kubernetes in an IaaS or PaaS version (it can use the cloud vendor's Kubernetes managed service too)
>What was the original goal of LambdaStack? **A)** The initial goal was to automate and simplify the deployment of Kubernetes so that DevOps teams could easily manage it. It grew into a platform to help developers not have to concern themselves with Kubernetes infrastructure nor the plumbing that it requires to build a true Microservice architecture. Basically, allow developers to focus on building awesome apps
>Why did you fork your original project, Epiphany? **A)** Epiphany is a good platform that is purpose built for the Energy sector. The projected path of Epiphany was to focus on the Energy market but I believed it should be more flexible and solve other industry problems. So, LambdaStack was forked and has now been changed in many ways to hit all business sectors. There are still some similarities with Epiphany (certain parts) but these are being reworked into a more hardened and flexible offering
>Does LambdaStack offer a GUI to allow DevOps (admins) to point-and-click their way to operating a Kubernetes cluster? **A)** Not currently. Kubernetes has a builtin dashboard that allows for some changes but it's mainly to view resources. Kubernetes' `kubectl` is the CLI (Command Line Interface) used by everyone that manages Kubernetes clusters. We also provide an additional CLI called `lambastack` that allows for easy standup and breakdown of Kubernetes clusters
>How can I get involved? **A)** Great question and I'm so glad you asked! See [Contributing](https://www.lambdastackio.com/docs/contribution-guidelines/). This should explain how to fork the project, create a new feature branch, push back to your forked version and issue a PR (pull request)
If you have more questions then please feel free to reach out.
2 changes: 1 addition & 1 deletion content/en/legals/_index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Legal
type: legal
type: legals
robotsdisallow: true
description: >
This is the Legal section for Privacy Policy, Cookies, Terms of Use
Expand Down
3 changes: 2 additions & 1 deletion content/en/legals/abuse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ robotsdisallow: true
---

## Abuse Reporting
WIP

We are currently in the process of revamping out `Abuse` reporting policy. Stay tuned.
3 changes: 2 additions & 1 deletion content/en/legals/dmca-notice.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ robotsdisallow: true
---

## DMCA
WIP

We are in the process of updating our DMCA policy. Stay tuned.
63 changes: 0 additions & 63 deletions i18n/en.toml

This file was deleted.

4 changes: 2 additions & 2 deletions layouts/404.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{{ define "main"}}
<main id="main">
<main id="main">
<div class="grid place-content-evenly">
<img src="{{ "/images/404.png" | relURL }}" alt="LambdaStack 404">
<p class="text-center">Oops! The requested page doesn't exist. Try going back to our <a href="{{ "/" | relURL }}">home page</a>.</p>
</div>
</div>
</main>
{{ end }}
18 changes: 18 additions & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype html>
<html class="h-full no-js">
<head>
{{ partial "head.html" . }}
</head>
<body class="td-{{ .Kind }}">
<header>
{{ partial "navbar.html" . }}
</header>
<div>
<main role="main" class="td-main">
{{ block "main" . }}{{ end }}
</main>
</div>
{{ partial "footer.html" . }}
{{ partialCached "scripts.html" . }}
</body>
</html>
29 changes: 29 additions & 0 deletions layouts/_default/content.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<div class="td-content">
<h1>{{ .Title }}</h1>
{{ with .Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
<header class="article-meta">
{{ $context := . }}
{{ if .Site.Params.Taxonomy.taxonomyPageHeader }}
{{ range $index, $taxo := .Site.Params.Taxonomy.taxonomyPageHeader }}
{{ partial "taxonomy_terms_article.html" (dict "context" $context "taxo" $taxo ) }}
{{ end }}
{{ else }}
{{ range $taxo, $taxo_map := .Site.Taxonomies }}
{{ partial "taxonomy_terms_article.html" (dict "context" $context "taxo" $taxo ) }}
{{ end }}
{{ end }}
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }}
{{ partial "reading-time.html" . }}
{{ end }}
</header>
{{ .Content }}
{{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable) (.Site.GoogleAnalytics)) }}
{{ partial "feedback.html" .Site.Params.ui.feedback }}
<br />
{{ end }}
{{ if (.Site.Params.DisqusShortname) }}
<br />
{{ partial "disqus-comment.html" . }}
{{ end }}
{{ partial "page-meta-lastmod.html" . }}
</div>
5 changes: 5 additions & 0 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{ define "main" }}
{{ with .Content }}
{{ . }}
{{ end }}
{{ end }}
43 changes: 43 additions & 0 deletions layouts/_default/list.rss.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ .Site.Title }} – {{ .Title }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
{{ with .OutputFormats.Get "RSS" }}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{ end }}
{{ if not $.Section }}
{{ $sections := .Site.Params.rss_sections | default (slice "blog") }}
{{ .Scratch.Set "rss_pages" (first 50 (where $.Site.RegularPages "Type" "in" $sections )) }}
{{ else }}
{{ if $.Parent.IsHome }}
{{ .Scratch.Set "rss_pages" (first 50 (where $.Site.RegularPages "Type" $.Section )) }}
{{ else }}
{{ .Scratch.Set "rss_pages" (first 50 $.Pages) }}
{{ end }}
{{ end }}
{{ range (.Scratch.Get "rss_pages") }}
<item>
<title>{{ .Section | title }}: {{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>
{{ $img := (.Resources.ByType "image").GetMatch "*featured*" }}
{{ with $img }}
{{ $img := .Resize "640x" }}
{{ printf "<![CDATA[<img src=\"%s\" width=\"%d\" height=\"%d\"/>]]>" $img.Permalink $img.Width $img.Height | safeHTML }}
{{ end }}
{{ .Content | html }}
</description>
</item>
{{ end }}
</channel>
</rss>
22 changes: 22 additions & 0 deletions layouts/_default/search.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{{ define "main" }}
<section class="row td-search-result">
<div class="col-12 col-md-8 offset-md-2">
<h2 class="ml-4">{{ .Title }}</h2>
{{ with .Site.Params.gcs_engine_id }}
<script>
(function() {
var cx = '{{ . }}';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
</script>
<gcse:searchresults-only></gcse:searchresults-only>
{{ end }}
</div>
</section>

{{ end }}
5 changes: 5 additions & 0 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{ define "main" }}
{{ with .Content }}
{{ . }}
{{ end }}
{{ end }}
35 changes: 35 additions & 0 deletions layouts/_default/taxonomy.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{{ define "main" }}
<div class="td-content">
<main class="taxonomy-taxonomy-page">
<h1>{{ with .Data.Singular }}{{ . | humanize }}: {{ end }}<span>{{ .Title }}</span></h1>
<div>
{{ .Content }}
</div>
<div>
{{ range .Pages }}
{{ $manualLink := cond (isset .Params "manuallink") .Params.manualLink ( cond (isset .Params "manuallinkrelref") (relref . .Params.manualLinkRelref) .RelPermalink) }}
<article class="article-teaser article-type-{{ with .Type }}{{ ( urlize . ) }}{{ end }}">
<h3><a href="{{ $manualLink }}"{{ with .Params.manualLinkTitle }} title="{{ . }}"{{ end }}{{ with .Params.manualLinkTarget }} target="{{ . }}"{{ if eq . "_blank" }} rel="noopener"{{ end }}{{ end }}>{{- .Title -}}</a></h3>
<p>{{ .Description | markdownify }}</p>
<header class="article-meta">
{{ $context := . }}
{{ if .Site.Params.Taxonomy.taxonomyPageHeader }}
{{ range $index, $taxo := .Site.Params.Taxonomy.taxonomyPageHeader }}
{{ partial "taxonomy_terms_article.html" (dict "context" $context "taxo" $taxo ) }}
{{ end }}
{{ else }}
{{ range $taxo, $taxo_map := .Site.Taxonomies }}
{{ partial "taxonomy_terms_article.html" (dict "context" $context "taxo" $taxo ) }}
{{ end }}
{{ end }}
{{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }}
{{ partial "reading-time.html" . }}
{{ end }}
</header>
</article>
{{ end }}
</div>
<a href="{{ with .Site.GetPage (printf "/%s" ( lower .Data.Plural )) }}{{ .Permalink }}{{ end }}" class="all-taxonomy-terms">{{ humanize ( T "ui_all" ) }} {{ with .Data.Plural }}{{ . | humanize }}{{ end }}</a>
</main>
</div>
{{ end }}
8 changes: 8 additions & 0 deletions layouts/_default/terms.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{{ define "main" }}
<div class="td-content">
<main class="taxonomy-terms-page">
<h1>{{ .Title }}</h1>
{{ partial "taxonomy_terms_cloud.html" (dict "context" . "taxo" ( lower .Title ) ) }}
</main>
</div>
{{ end }}
2 changes: 1 addition & 1 deletion layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<!-- Tailwindcss -->
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<link rel="stylesheet" href="{{ "/css/tailwind.min.css" | relURL }}">
<link rel="stylesheet" href="{{ "/css/tailwind.min.css" | relURL }}">

{{ partialCached "head-css.html" . "asdf" }}
<script
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"tailwindcss-children": "^2.1.0"
},
"dependencies": {
"@tailwindcss/aspect-ratio": "^0.3.0",
"@tailwindcss/forms": "^0.3.4",
"@tailwindcss/aspect-ratio": "^0.4.0",
"@tailwindcss/forms": "^0.4.0",
"@tailwindcss/line-clamp": "^0.3.0",
"@tailwindcss/typography": "^0.5.0"
}
Expand Down
11 changes: 4 additions & 7 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
const autoprefixer = require('autoprefixer');
const tailwindcss = require('tailwindcss');

module.exports = {
plugins: [
tailwindcss,
autoprefixer
],
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};

0 comments on commit 20c8434

Please sign in to comment.