diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2eaaffa222..fd838924a0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -698,4 +698,4 @@ Each proposal/design doc should cover the following _at a minimum_: --- -## :rocket: :tada: Thanks for reading! :tada: :rocket +## :rocket: :tada: Thanks for reading! :tada: :rocket: diff --git a/userdocs/mkdocs.yml b/userdocs/mkdocs.yml index 1a8836499e..187a9ab04f 100644 --- a/userdocs/mkdocs.yml +++ b/userdocs/mkdocs.yml @@ -79,6 +79,9 @@ extra_css: - stylesheets/extra.css - stylesheets/schema.css +extra_javascript: + - https://cdn.jsdelivr.net/npm/@glidejs/glide + # Extensions markdown_extensions: - toc: @@ -158,3 +161,4 @@ nav: - announcements/nodegroup-override-announcement.md - Examples: "https://github.com/eksctl-io/eksctl/tree/main/examples" - Community: community.md + - Adopters: adopters.md diff --git a/userdocs/src/adopters.md b/userdocs/src/adopters.md new file mode 100644 index 0000000000..967b3206e0 --- /dev/null +++ b/userdocs/src/adopters.md @@ -0,0 +1,15 @@ +# eksctl Adopters :fontawesome-solid-handshake-simple: + +Are you and your organisation using `eksctl`? +We would love to hear from you! :octicons-heart-fill-24:{ .heart } + +Get featured on our [website](/), follow the instructions below. + +- Follow the [contributions guide](https://github.com/eksctl-io/eksctl/blob/main/CONTRIBUTING.md#developing-eksctl) to fork the `eksctl` repository. +- Add your company logo to the folder `/userdocs/theme/assets/adopters/`. The logo image should be either `.png`, `.jpg` or `.svg` format. Max width and height should be 150px. +The logo image must be named after your organisation for eg., If your organisation name is Acme Corp then your logo image should be named `acme-logo.png`. +- Edit `/userdocs/theme/partials/copyright.html` file and add a new `li` element with your logo details above the line ``. +Following the example of the Acme Corp, new list element will be `
  • Acme Corp
  • `. +- Commit your changes, follow the [PR submission guidelines](https://github.com/eksctl-io/eksctl/blob/main/CONTRIBUTING.md#pr-submission-guidelines) and open a +Pull Request in `eksctl` [repository](https://github.com/eksctl-io/eksctl). +- We will happily review your contribution. :fontawesome-solid-wand-magic-sparkles: diff --git a/userdocs/src/favicon_300px.png b/userdocs/src/favicon_300px.png deleted file mode 100644 index f9678eb279..0000000000 Binary files a/userdocs/src/favicon_300px.png and /dev/null differ diff --git a/userdocs/src/stylesheets/extra.css b/userdocs/src/stylesheets/extra.css index f71209cd12..f036b769c6 100644 --- a/userdocs/src/stylesheets/extra.css +++ b/userdocs/src/stylesheets/extra.css @@ -48,7 +48,31 @@ img[src$="#wwinline"] { 20%, 60% { transform: scale(1.15); } - } - .heart { + } + +.heart { animation: heart 1000ms infinite; - } \ No newline at end of file +} + +.glide__slide img { + height: 50px; +} + +.glide__slides { + list-style-type: none !important; +} + +.glide { + width: 100%; + padding: .4rem 0; + text-align: center; + margin: auto 0.6rem; +} + +.md-copyright { + width: 100% !important; +} + +ol:not([hidden]).glide__slides, ul:not([hidden]).glide__slides { + display: flex !important; +} \ No newline at end of file diff --git a/userdocs/theme/assets/adopters/aws-logo.png b/userdocs/theme/assets/adopters/aws-logo.png new file mode 100644 index 0000000000..e50388ad94 Binary files /dev/null and b/userdocs/theme/assets/adopters/aws-logo.png differ diff --git a/userdocs/theme/assets/adopters/gophers.png b/userdocs/theme/assets/adopters/gophers.png new file mode 100644 index 0000000000..aaa63a3d4a Binary files /dev/null and b/userdocs/theme/assets/adopters/gophers.png differ diff --git a/userdocs/theme/assets/adopters/placeholder.svg b/userdocs/theme/assets/adopters/placeholder.svg new file mode 100644 index 0000000000..639b475915 --- /dev/null +++ b/userdocs/theme/assets/adopters/placeholder.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/userdocs/theme/assets/adopters/weave-logo.png b/userdocs/theme/assets/adopters/weave-logo.png new file mode 100644 index 0000000000..b6d4f47e39 Binary files /dev/null and b/userdocs/theme/assets/adopters/weave-logo.png differ diff --git a/userdocs/theme/main.html b/userdocs/theme/main.html index e42e01c518..60bfe3a39c 100644 --- a/userdocs/theme/main.html +++ b/userdocs/theme/main.html @@ -7,4 +7,21 @@ Weaveworks Blog and AWS Blog posts.

    +{% endblock %} + +{% block scripts %} + + {{ super() }} + {% endblock %} \ No newline at end of file diff --git a/userdocs/theme/partials/copyright.html b/userdocs/theme/partials/copyright.html index 14e42b9277..1132fd4cd2 100644 --- a/userdocs/theme/partials/copyright.html +++ b/userdocs/theme/partials/copyright.html @@ -1,6 +1,23 @@