Skip to content

Commit

Permalink
Removing banners
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewshaver committed Sep 20, 2024
1 parent 2392b45 commit 90c21c8
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions website/src/theme/DocRoot/Layout/Main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,34 +119,6 @@ export default function DocRootLayoutMain({
hiddenSidebarContainer && styles.docItemWrapperEnhanced
)}
>
{!pageAvailable &&
dbtVersion && (
<div className={styles.versionBanner}>
<Admonition
type="caution"
title={`${hasFirstAvailableVersion ? "New feature!" : lastAvailableVersion ? "Old feature" : "Note"}`}
icon={
hasFirstAvailableVersion
? "🎉"
: lastAvailableVersion
? "❗"
: ""
}
>
<p style={{ marginTop: "5px", marginBottom: "0" }}>
Unfortunately, this feature is not available in dbt Core
version {dbtVersion}
</p>
{hasFirstAvailableVersion ? (
<p>
{" "}
You should upgrade to {firstAvailableVersion} or later if
you want to use this feature.
</p>
) : null}
</Admonition>
</div>
)}
{PreData.showisPrereleaseBanner && (
<div className={styles.versionBanner}>
<Admonition type="caution" title="Warning">
Expand Down

0 comments on commit 90c21c8

Please sign in to comment.