Skip to content

Commit

Permalink
Add CNCF website guidelines (#19)
Browse files Browse the repository at this point in the history
* Add google analytics id

Signed-off-by: Reshma Abdul Rahim <[email protected]>

* CNCF website guidelines

Signed-off-by: Reshma Abdul Rahim <[email protected]>

* CNCF website guidelines

Signed-off-by: Reshma Abdul Rahim <[email protected]>

* Cpyright changes

Signed-off-by: Reshma Abdul Rahim <[email protected]>

* Minor refactor

Signed-off-by: Reshma Abdul Rahim <[email protected]>

* Minor refactor to ncf banner

Signed-off-by: Reshma Abdul Rahim <[email protected]>

* remove duplicate div

Signed-off-by: Reshma Abdul Rahim <[email protected]>

---------

Signed-off-by: Reshma Abdul Rahim <[email protected]>
  • Loading branch information
Reshrahim authored May 14, 2024
1 parent 14fea23 commit 8698d06
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 35 deletions.
7 changes: 3 additions & 4 deletions config/_default/languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ title = "Radius"
contentDir = "content"
weight = 1
########### footer content ##########
footer_menu_left = "Community"
footer_menu_middle = "Product"
footer_menu_right = "Support"
footer_content = "Brought to you by the Azure Incubations team"
footer_menu_left = "Learn"
footer_menu_middle = "Community"
footer_menu_right = "News"
# copyright
copyright = "© Radius Authors"
46 changes: 16 additions & 30 deletions config/_default/menus.en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,41 +22,27 @@ weight = 4

# footer menu left
[[footer_left]]
name = "GitHub"
url = "https://github.com/radius-project/community"
icon = "fab fa-github"
name = "Concepts"
url = "https://docs.radapp.io/concepts/"

[[footer_left]]
name = "Discord"
url = "https://aka.ms/Radius/Discord"

# [[footer_left]]
# name = "Administrator Guides"
# url = "https://radapp.dev/operations/"
name = "Getting Started"
url = "https://docs.radapp.io/getting-started/"

[[footer_left]]
name = "How-To guides"
url = "https://docs.radapp.io/guides/"

# footer menu middle
# [[footer_middle]]
# name = "Pricing"
# url = "pricing/"

# [[footer_middle]]
# name = "Platform"
# url = "#"
[[footer_middle]]
name = "GitHub"
url = "https://github.com/radius-project/community"

# [[footer_middle]]
# name = "Features"
# url = "#"
[[footer_middle]]
name = "Discord"
url = "https://aka.ms/Radius/Discord"

# footer menu right
# [[footer_right]]
# name = "Privacy Policy"
# url = "privacy-policy/"

# [[footer_right]]
# name = "Known Limitations"
# url = "https://docs.radapp.dev/reference/limitations/"

# [[footer_right]]
# name = "FAQ"
# url = "https://docs.radapp.dev/reference/faq/"
[[footer_right]]
name = "Blogs"
url = "https://blog.radapp.io/posts"
6 changes: 6 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,10 @@ call_to_action:
enable: true
label: "Get Started"
link: "https://docs.radapp.io/getting-started/"

##################### CNCF ###########################
cncf:
enable: true
title : "Radius is a [Cloud Native Computing Foundation sandbox project](https://www.cncf.io/sandbox-projects/)."
image: "images/cncf.svg"
---
1 change: 1 addition & 0 deletions static/images/cncf.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions themes/bigspring-light/layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,16 @@ <h2 class="section-title">{{ .title | markdownify }}</h2>
{{ end }}
<!-- /call to action -->

<!-- CNCF -->
{{ with .Params.cncf }}
{{ if .enable }}
<div class="banner text-center">
<h2 class="section-title">{{ .title | markdownify }}</h2>
{{with .image}}<img src="{{ . | relURL }}" alt="" class="img-fluid" width="500px">{{end}}
{{ end }}
{{ end }}
</div>
<!-- /CNCF -->

{{ end }}

3 changes: 2 additions & 1 deletion themes/bigspring-light/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@
</div>
{{ end }}
<div class="border-top border-default text-center py-4 mt-4">
<small class="content">{{ site.Params.Copyright | markdownify }}</small>
<p>Copyright &copy; 2024, The Radius Authors</p>
<p>The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, see <a href="https://www.linuxfoundation.org/legal/trademark-usage" class="footer-link-text">Trademark Usage page.</a></p>
</div>
</div>
</footer>

0 comments on commit 8698d06

Please sign in to comment.