From 2d674ae838688fc25251028b088a27b6262d0a50 Mon Sep 17 00:00:00 2001 From: Matt Shaver <60105315+matthewshaver@users.noreply.github.com> Date: Fri, 20 Sep 2024 14:41:31 -0400 Subject: [PATCH] Removing banners (#6109) ## What are you changing in this pull request and why? This removes two edge case banners that are no longer required. One banner is displayed if the user is on a page that is marked as `lastversion` in the dbt-versions file and the user changes to a higher version. The other is if they are on a page that is marked as `firstversion` in. the dbt-versions file but the user changes to a lower, unsupported version. ## Checklist - [ ] I have reviewed the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md) so my content adheres to these guidelines. - [ ] The topic I'm writing about is for specific dbt version(s) and I have versioned it according to the [version a whole page](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version) and/or [version a block of content](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-blocks-of-content) guidelines. - [ ] I have added checklist item(s) to this list for anything anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch." --- .../src/theme/DocRoot/Layout/Main/index.js | 28 ------------------- 1 file changed, 28 deletions(-) diff --git a/website/src/theme/DocRoot/Layout/Main/index.js b/website/src/theme/DocRoot/Layout/Main/index.js index da6e29265bb..a8c9d449b82 100644 --- a/website/src/theme/DocRoot/Layout/Main/index.js +++ b/website/src/theme/DocRoot/Layout/Main/index.js @@ -119,34 +119,6 @@ export default function DocRootLayoutMain({ hiddenSidebarContainer && styles.docItemWrapperEnhanced )} > - {!pageAvailable && - dbtVersion && ( -
- Unfortunately, this feature is not available in dbt Core - version {dbtVersion} -
- {hasFirstAvailableVersion ? ( -- {" "} - You should upgrade to {firstAvailableVersion} or later if - you want to use this feature. -
- ) : null} -