From 528acf1c493e08a7177b3c6924b39d26b2966760 Mon Sep 17 00:00:00 2001 From: Kingdon P Barrett Date: Thu, 8 Feb 2024 14:52:20 -0500 Subject: [PATCH] add a /kubecon page target There is no permalink on the fluxcd.io site for each content, we'll just reuse /kubecon each time - for SEO purposes this is better. (A permanent content archive will be hosted @ fluxcd/community repo, where we can archive `KUBECON.md` as `attic/KUBECON24EU.md` for example) * set KUBECON.md as external source * try adding css rules to some classes * Make more kubecon page formatting classes I've added "clearfix" after reading w3schools about css float https://www.w3schools.com/css/css_float.asp * More CSS things Signed-off-by: Kingdon Barrett Signed-off-by: Kingdon P Barrett (cherry picked from commit 78c7e102684fa44f4231744096c3f31e65660e1e) --- assets/scss/_kubecon.scss | 40 +++++++++++++++++++++++++++++++ assets/scss/main.scss | 1 + external-sources/fluxcd/community | 1 + hugo.yaml | 3 +++ 4 files changed, 45 insertions(+) create mode 100644 assets/scss/_kubecon.scss diff --git a/assets/scss/_kubecon.scss b/assets/scss/_kubecon.scss new file mode 100644 index 000000000..c34a5b165 --- /dev/null +++ b/assets/scss/_kubecon.scss @@ -0,0 +1,40 @@ +.flux-logo-inner-header-left { + width: 33.3333333333%; + float: left; + figure { + padding-left: 3.75%; + padding-right: 3.75%; + } +} + +.float-header-kubecon { + float: left; + width: 50%; + padding-left: 2.5%; + padding-right: 2.5%; +} + +.inner-header-right-align { + width: 16.6666666667%; + float: left; +} + +.stickers-float-left { + width: 50%; + float: left; + padding-left: 2.5%; + padding-right: 2.5%; +} + +.float-booth-fun { + width: 50%; + float: left; + padding-left: 2.5%; + padding-right: 2.5%; +} + +.clearfix::after { + content: ""; + clear: both; + display: table; +} diff --git a/assets/scss/main.scss b/assets/scss/main.scss index 9331e0e20..2ee77203b 100644 --- a/assets/scss/main.scss +++ b/assets/scss/main.scss @@ -12,3 +12,4 @@ @import "support"; @import "ecosystem"; @import "adopters_wall"; +@import "kubecon"; diff --git a/external-sources/fluxcd/community b/external-sources/fluxcd/community index 322248e96..96c95776e 100644 --- a/external-sources/fluxcd/community +++ b/external-sources/fluxcd/community @@ -1,2 +1,3 @@ "/README.md","/community.md" "/GOVERNANCE.md","/governance.md" +"/KUBECON.md","/kubecon.md" diff --git a/hugo.yaml b/hugo.yaml index 04c4f9556..5022d32a4 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -175,6 +175,9 @@ params: menus: main: + - name: KubeCon Paris 2024 + url: /kubecon + weight: 5 - name: Documentation url: /flux weight: 10