From 9a91aa78dd06db21a6b27ac12e4ad452ae724b46 Mon Sep 17 00:00:00 2001 From: kim jeong yong Date: Thu, 5 Mar 2026 20:06:23 +0900 Subject: [PATCH] Add entry logo view to scene component and update styles - Introduced a new `.entryLogoView` class in scene.less for styling the logo. - Added logo element to the DOM in init.js with text content for branding. - Adjusted existing styles for better layout and presentation. --- src/css/components/scene.less | 21 +++++++++++++++++++-- src/util/init.js | 6 ++++++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/src/css/components/scene.less b/src/css/components/scene.less index 556357fdbc..ba012feca3 100644 --- a/src/css/components/scene.less +++ b/src/css/components/scene.less @@ -23,8 +23,25 @@ body { } } + .entryLogoView { + width: 187px; + display: flex; + align-items: center; + line-height: 24px; + font-size: 12px; + z-index: 10; + padding: 0 8px; + display: flex; + flex-direction: row-reverse; + align-items: center; + background-color: @baseblue; + color: @white; + user-select: none; + white-space: nowrap; + overflow: hidden; + } + .entryBlockCountView { - width: 155px; background-color: @baseblue; z-index: 10; display: flex; @@ -171,7 +188,7 @@ body { .entrySceneInputCover.entryDisabledScene::before { display: block; - content: " "; + content: ' '; width: 100%; height: 100%; position: absolute; diff --git a/src/util/init.js b/src/util/init.js index 33fe49b3f9..75c1a20da0 100644 --- a/src/util/init.js +++ b/src/util/init.js @@ -365,6 +365,12 @@ Entry.createDom = function (container, type) { this.sceneView = sceneView; this.scene.generateView(this.sceneView, type); + const logoView = Entry.createElement('div'); + logoView.addClass('entryLogoView'); + topFloatingView.appendChild(logoView); + this.logoView = logoView; + logoView.textContent = 'ⓒ NAVER Connect Foundation'; + const blockCountViewerView = Entry.createElement('div'); blockCountViewerView.addClass('entryBlockCountView'); topFloatingView.appendChild(blockCountViewerView);