Skip to content

Commit

Permalink
use new logo and copy
Browse files Browse the repository at this point in the history
Signed-off-by: Huong Nguyen <huongg1409@gmail>
  • Loading branch information
Huong Nguyen committed Nov 19, 2024
1 parent 4c31689 commit 29b9bad
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/flowchart-wrapper/flowchart-wrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import ExportModal from '../export-modal';
import FlowChart from '../flowchart';
import PipelineWarning from '../pipeline-warning';
import LoadingIcon from '../icons/loading';
import InfoIcon from '../icons/info';
import InfoBannerIcon from '../icons/info-banner';
import MetaData from '../metadata';
import MetadataModal from '../metadata-modal';
import ShareableUrlMetadata from '../shareable-url-modal/shareable-url-metadata';
Expand Down Expand Up @@ -342,7 +342,7 @@ export const FlowChartWrapper = ({
{displayMetadataPanel && <MetaData />}
{showBanner(BANNER_KEYS.LITE) && (
<Banner
icon={<InfoIcon />}
icon={<InfoBannerIcon />}
message={{
title: BANNER_METADATA.liteModeWarning.title,
body: BANNER_METADATA.liteModeWarning.body,
Expand Down
12 changes: 12 additions & 0 deletions src/components/icons/info-banner.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/components/ui/banner/banner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@

// Icon styling
.banner-icon {
margin-top: 8px;
margin-right: 12px;
display: flex;

& svg {
width: 32px;
height: 32px;
width: 24px;
height: 24px;
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export const NODE_TYPES = {

export const BANNER_METADATA = {
liteModeWarning: {
title: 'Missing dependencies',
title: 'Lite mode enabled',
body: 'Some features might be disabled in --lite mode due to missing dependencies',
docsLink:
'https://docs.kedro.org/projects/kedro-viz/en/latest/kedro-viz_visualisation.html#visualise-a-kedro-project-without-installing-project-dependencies',
Expand Down

0 comments on commit 29b9bad

Please sign in to comment.