From eeeae33d8eb06b44207b3bbbd6f357c87627eeb9 Mon Sep 17 00:00:00 2001 From: Chris Abraham Date: Wed, 21 Aug 2024 10:24:20 +0700 Subject: [PATCH] Hero takeover for KCCNC NA 24 (#879) * set up Takeover hero template Signed-off-by: Chris Abraham * update copy Signed-off-by: Chris Abraham * Don't show hello bar on homepage Signed-off-by: Chris Abraham * Remove "UTAH" Signed-off-by: Chris Abraham * some tweaks Signed-off-by: Chris Abraham * remove The Signed-off-by: Chris Abraham * Remove tkt info Signed-off-by: Chris Abraham --------- Signed-off-by: Chris Abraham --- .../cncf-twenty-two/components/header.php | 2 +- .../components/home-hero-takeover.php | 85 +++++++++++++++++++ .../themes/cncf-twenty-two/front-page.php | 3 +- .../source/scss/components/_front-page.scss | 4 +- 4 files changed, 90 insertions(+), 4 deletions(-) create mode 100644 web/wp-content/themes/cncf-twenty-two/components/home-hero-takeover.php diff --git a/web/wp-content/themes/cncf-twenty-two/components/header.php b/web/wp-content/themes/cncf-twenty-two/components/header.php index 68a6c5a24..c8d21621f 100644 --- a/web/wp-content/themes/cncf-twenty-two/components/header.php +++ b/web/wp-content/themes/cncf-twenty-two/components/header.php @@ -13,7 +13,7 @@ $site_options = get_option( 'lf-mu' ); -if ( isset( $site_options['show_hello_bar'] ) && $site_options['show_hello_bar'] ) : +if ( isset( $site_options['show_hello_bar'] ) && $site_options['show_hello_bar'] && ! is_front_page() ) : get_template_part( 'components/hello-bar' ); endif; ?> diff --git a/web/wp-content/themes/cncf-twenty-two/components/home-hero-takeover.php b/web/wp-content/themes/cncf-twenty-two/components/home-hero-takeover.php new file mode 100644 index 000000000..5872b764e --- /dev/null +++ b/web/wp-content/themes/cncf-twenty-two/components/home-hero-takeover.php @@ -0,0 +1,85 @@ + + + + + +
+ + + + + Make cloud native ubiquitous + + +
+ +
+ +
+
+ +

JOIN US IN
+ SALT LAKE CITY
+ NOVEMBER 12-15 +

+ +

KubeCon + CloudNativeCon is the flagship conference for cloud native.

+ +
    +
  • 10K+ + Attendees +
  • +
  • 200+ + Sponsors +
  • +
  • 300+ + Sessions +
  • +
  • + ∞ + Swag +
  • +
+ + + + +
+
+
diff --git a/web/wp-content/themes/cncf-twenty-two/front-page.php b/web/wp-content/themes/cncf-twenty-two/front-page.php index ce45da784..29192796f 100644 --- a/web/wp-content/themes/cncf-twenty-two/front-page.php +++ b/web/wp-content/themes/cncf-twenty-two/front-page.php @@ -11,7 +11,8 @@ get_template_part( 'components/skip-link-target' ); -get_template_part( 'components/home-hero' ); +// get_template_part( 'components/home-hero' ); // phpcs:ignore. +get_template_part( 'components/home-hero-takeover' ); ?>