Skip to content

Commit 7b9fe0a

Browse files
simula-rgithub-actions[bot]
authored andcommitted
feat: mobile breakpoint for vue nodes banner (#6942)
## Summary Add mobile breakpoint to vue nodes banner ## Changes - **What**: main.json and vue nodes banner ## Screenshots (if applicable) <img width="500" height="615" alt="image" src="https://github.com/user-attachments/assets/fd8cc621-c335-41c9-bbee-4ec0ae04b226" /> <img width="980" height="615" alt="image" src="https://github.com/user-attachments/assets/30e17fc2-fc91-44a3-b9f0-85d5146e861b" /> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6942-feat-mobile-breakpoint-for-vue-nodes-banner-2b66d73d36508139b69afd7e7134b72e) by [Unito](https://www.unito.io)
1 parent 7db8ae3 commit 7b9fe0a

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/components/topbar/TryVueNodeBanner.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
v-if="showVueNodesBanner"
44
class="pointer-events-auto relative w-full h-10 bg-gradient-to-r from-blue-600 to-blue-700 flex items-center justify-center px-4"
55
>
6-
<div class="flex items-center">
6+
<div class="flex items-center text-sm">
77
<i class="icon-[lucide--rocket]"></i>
8-
<span class="pl-2 text-sm">{{ $t('vueNodesBanner.message') }}</span>
8+
<span class="pl-2">{{ $t('vueNodesBanner.title') }}</span>
9+
<span class="pl-1.5 hidden md:inline">{{
10+
$t('vueNodesBanner.desc')
11+
}}</span>
912
<Button
1013
class="cursor-pointer bg-transparent rounded h-7 px-3 border border-white text-white ml-4 text-xs"
1114
@click="handleTryItOut"

src/locales/en/main.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2197,7 +2197,8 @@
21972197
}
21982198
},
21992199
"vueNodesBanner": {
2200-
"message": "Introducing Nodes 2.0 – More flexible workflows, powerful new widgets, built for extensibility",
2200+
"title": "Introducing Nodes 2.0",
2201+
"desc": "– More flexible workflows, powerful new widgets, built for extensibility",
22012202
"tryItOut": "Try it out"
22022203
},
22032204
"vueNodesMigration": {
@@ -2226,4 +2227,4 @@
22262227
"replacementInstruction": "Install these nodes to run this workflow, or replace them with installed alternatives. Missing nodes are highlighted in red on the canvas."
22272228
}
22282229
}
2229-
}
2230+
}

0 commit comments

Comments
 (0)