diff --git a/pom.xml b/pom.xml index 721f1f0..8fdd229 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ io.quarkus.code code-quarkus-parent - 72 + 76 code-quarkus-redhat-app diff --git a/src/main/resources/web/ibm-app/theme.scss b/src/main/resources/web/ibm-app/theme.scss index 1b9f6d6..863f622 100644 --- a/src/main/resources/web/ibm-app/theme.scss +++ b/src/main/resources/web/ibm-app/theme.scss @@ -160,6 +160,11 @@ --blurbTextColor: var(--textColor); --blurbLinkTextColor: var(--linkTextColor); --blurbInfoIconColor: var(--primary); + + // Tags namespace + --tagNameColor: var(--primary); + --tagNameBackground: var(--background2); + --tagNameBorder: none; } diff --git a/src/main/resources/web/redhat-app/theme.scss b/src/main/resources/web/redhat-app/theme.scss index 39676cc..9d4613c 100644 --- a/src/main/resources/web/redhat-app/theme.scss +++ b/src/main/resources/web/redhat-app/theme.scss @@ -162,6 +162,11 @@ --blurbTextColor: var(--textColor); --blurbLinkTextColor: var(--linkTextColor); --blurbInfoIconColor: var(--primary); + + // Tags namespace + --tagNameColor: var(--primary); + --tagNameBackground: var(--background2); + --tagNameBorder: none; } .extensions-cart .extensions-cart-button .extension-icon { filter: invert(1); } diff --git a/src/main/resources/web/redhat-camel-app/index.jsx b/src/main/resources/web/redhat-camel-app/index.jsx index a640c40..cfcd7bb 100644 --- a/src/main/resources/web/redhat-camel-app/index.jsx +++ b/src/main/resources/web/redhat-camel-app/index.jsx @@ -1,9 +1,9 @@ import React from 'react'; import ReactDOM from 'react-dom/client'; import 'react-app-polyfill/ie11'; -import {CodeQuarkus, fetchConfig, fetchPlatform} from '../lib'; +import { CodeQuarkus, fetchConfig, fetchPlatform } from '../lib'; import './theme.scss'; -import {CompanyHeader} from './header/company-header'; +import { CompanyHeader } from './header/company-header'; // Disable QuarkusBlurb popup for redhat-camel variant if (typeof localStorage !== 'undefined') { @@ -12,45 +12,50 @@ if (typeof localStorage !== 'undefined') { const API_URL = window.API_URL; const CLIENT_NAME = window.location.hostname; -const REQUEST_OPTIONS = {headers: {'Client-Name': CLIENT_NAME}}; +const REQUEST_OPTIONS = { headers: { 'Client-Name': CLIENT_NAME } }; const tagsDef = [ { name: 'support:full-support', description: 'Full-support for development and production phases.', color: '#0E6027', - background: '#A7F0BA' - + background: '#A7F0BA', + showFullName: true, }, { name: 'support:supported-in-jvm', description: 'Support in JVM, means that this extension is tested and verified for usage in a Java Virtual Machine.', color: '#0E6027', - background: '#D4F4E1' + background: '#D4F4E1', + showFullName: true }, { name: 'support:dev-support', description: 'Support and advice for development phase.', color: '#704214', - background: '#FFDFA6' + background: '#FFDFA6', + showFullName: true }, { - name: 'support:dev-preview', + name: 'support:dev-preview', href: 'https://access.redhat.com/support/offerings/devpreview', color: '#6929C4', - background: '#E8DAFF' + background: '#E8DAFF', + showFullName: true }, { name: 'support:tech-preview', description: 'Technology Preview features provide early access to upcoming product innovations, enabling you to test functionality and provide feedback during the development process. However, these features are not fully supported under Red Hat Subscription Level Agreements.', color: '#0043CE', - background: '#D0E2FF' + background: '#D0E2FF', + showFullName: true }, { name: 'support:deprecated', description: 'This feature is likely to be replaced or removed in a future version of Red Hat build of Quarkus. See release notes on docs.redhat.com for more information.', background: '#6a737d', color: '#ffffff', + showFullName: true }, { name: 'status:preview', @@ -94,6 +99,6 @@ const root = ReactDOM.createRoot(document.getElementById('root')); root.render( - + ); diff --git a/src/main/resources/web/redhat-camel-app/theme.scss b/src/main/resources/web/redhat-camel-app/theme.scss index 0985d5c..3e4875a 100644 --- a/src/main/resources/web/redhat-camel-app/theme.scss +++ b/src/main/resources/web/redhat-camel-app/theme.scss @@ -162,8 +162,14 @@ --blurbTextColor: var(--textColor); --blurbLinkTextColor: var(--linkTextColor); --blurbInfoIconColor: var(--primary); + + // Tags namespace + --tagNameColor: var(--primary); + --tagNameBackground: var(--background2); + --tagNameBorder: none; } + // Hide Gradle build tool options - only show Maven #buildtool option[value="GRADLE"], #buildtool option[value="GRADLE_KOTLIN_DSL"] {