Skip to content

Commit 8f98424

Browse files
committed
feat: enhance UI responsiveness, update workflow labels, and improve text styling
1 parent 035d2a0 commit 8f98424

File tree

4 files changed

+61
-17
lines changed

4 files changed

+61
-17
lines changed

packages/demo/lib/example_detail_view.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ class ExampleDetailView extends StatelessWidget {
1515
}
1616

1717
final isMobile = Responsive.isMobile(context);
18+
final isTablet = Responsive.isTablet(context);
19+
final useDrawerNavigation = isMobile || isTablet;
1820

1921
return Column(
2022
crossAxisAlignment: CrossAxisAlignment.stretch,
2123
children: [
22-
// Skip header in mobile mode as title is shown in AppBar
23-
if (!isMobile) _buildHeader(context, example!),
24+
// Skip header in mobile/tablet mode as title is shown in AppBar
25+
if (!useDrawerNavigation) _buildHeader(context, example!),
2426
Expanded(child: example!.builder(context)),
2527
],
2628
);

website/.vitepress/theme/CustomHome.vue

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ const flipperWords = [
2020
'PROCESS FLOW',
2121
'NODE FLOW',
2222
'CONTENT FLOW',
23-
'MIND FLOW',
2423
'STATE FLOW',
2524
'CODE FLOW',
2625
];
@@ -447,21 +446,33 @@ const ctaBlinkCells = generateBlinkCells(15, 73);
447446

448447
<div class="hero-content">
449448
<div class="hero-text">
450-
<Badge icon="simple-icons:flutter" color="blue">Built for Flutter</Badge>
449+
<Badge icon="simple-icons:flutter" color="blue"
450+
>Built for Flutter</Badge
451+
>
451452
<h1 class="hero-title">
452453
<span class="hero-title-static">Visualize any</span>
453454
<WordFlipper :words="flipperWords" :interval="1500" />
454455
</h1>
455456
<p class="hero-subtitle">
456457
A flexible, high-performance node-based flow editor for
457-
<FlutterBrand />. Build workflow editors, visual programming interfaces, and
458-
interactive diagrams.
458+
<FlutterBrand />. Build workflow editors, visual programming
459+
interfaces, and interactive diagrams.
459460
</p>
460461
<div class="hero-actions">
461-
<CtaButton href="/docs/getting-started/installation" variant="primary" size="large">
462+
<CtaButton
463+
href="/docs/getting-started/installation"
464+
variant="primary"
465+
size="large"
466+
>
462467
Get Started <Icon icon="ph:arrow-right-bold" />
463468
</CtaButton>
464-
<CtaButton href="https://flow.demo.vyuh.tech" icon="ph:play-fill" variant="secondary" size="large" external>
469+
<CtaButton
470+
href="https://flow.demo.vyuh.tech"
471+
icon="ph:play-fill"
472+
variant="secondary"
473+
size="large"
474+
external
475+
>
465476
Live Demo
466477
</CtaButton>
467478
</div>
@@ -496,7 +507,7 @@ const ctaBlinkCells = generateBlinkCells(15, 73);
496507
<div class="code-container">
497508
<SectionHeader
498509
badge="Quick Start"
499-
badge-icon="ph:terminal-fill"
510+
badge-icon="simple-icons:flutter"
500511
badge-color="blue"
501512
title="Simple & Intuitive API"
502513
/>
@@ -559,7 +570,7 @@ const ctaBlinkCells = generateBlinkCells(15, 73);
559570
<section class="use-cases-section">
560571
<SectionHeader
561572
badge="Infinite Possibilities"
562-
badge-icon="ph:infinity-fill"
573+
badge-icon="ph:infinity"
563574
badge-color="teal"
564575
title="Build Anything"
565576
subtitle="From simple diagrams to complex visual programming environments, Vyuh Node Flow adapts to your needs."

website/.vitepress/theme/components/ProPage.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const workflowFeatures = [
4646
'Visual canvas for designing workflow processes',
4747
'Pre-built activity, gateway, and event nodes',
4848
'Conditional branching and parallel execution paths',
49-
'Reusable sub-workflows and templates',
49+
'Simulation mode with step-through debugging',
5050
],
5151
media: {
5252
type: 'video' as const,
@@ -56,8 +56,8 @@ const workflowFeatures = [
5656
},
5757
{
5858
tag: 'Dart Execution',
59-
tagIcon: 'ph:terminal-fill',
60-
tagColor: 'teal' as const,
59+
tagIcon: 'simple-icons:dart',
60+
tagColor: 'blue' as const,
6161
title: 'Native Dart Executors',
6262
subtitle: 'Run workflows on the server with type-safe Dart executors. Full control over execution logic with native performance.',
6363
bullets: [

website/.vitepress/theme/custom.css

Lines changed: 35 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
/* Accent Colors */
1212
--vn-blue: #2563eb;
1313
--vn-blue-light: #3b82f6;
14+
--vn-blue-fill: #bfdbfe;
1415
--vn-blue-dim: rgba(37, 99, 235, 0.1);
1516
--vn-blue-glow: rgba(37, 99, 235, 0.4);
1617

@@ -26,6 +27,7 @@
2627

2728
--vn-amber: #f59e0b;
2829
--vn-amber-light: #fbbf24;
30+
--vn-amber-fill: #fde68a;
2931
--vn-amber-dim: rgba(245, 158, 11, 0.1);
3032
--vn-amber-glow: rgba(245, 158, 11, 0.4);
3133

@@ -1632,10 +1634,39 @@ body {
16321634
.pro-title-sub {
16331635
display: block;
16341636
font-size: 0.6em;
1635-
background: linear-gradient(135deg, var(--vn-purple), var(--vn-blue));
1636-
-webkit-background-clip: text;
1637-
-webkit-text-fill-color: transparent;
1638-
background-clip: text;
1637+
color: var(--vn-blue-fill);
1638+
letter-spacing: 0.05em;
1639+
text-shadow:
1640+
/* Blue border */
1641+
-1px -1px 0 var(--vn-blue),
1642+
1px -1px 0 var(--vn-blue),
1643+
-1px 1px 0 var(--vn-blue),
1644+
1px 1px 0 var(--vn-blue),
1645+
/* Glow */
1646+
0 0 20px var(--vn-blue-glow),
1647+
0 0 40px rgba(37, 99, 235, 0.2);
1648+
animation: proGlow 3s ease-in-out infinite alternate;
1649+
}
1650+
1651+
@keyframes proGlow {
1652+
0% {
1653+
text-shadow:
1654+
-1px -1px 0 var(--vn-blue),
1655+
1px -1px 0 var(--vn-blue),
1656+
-1px 1px 0 var(--vn-blue),
1657+
1px 1px 0 var(--vn-blue),
1658+
0 0 15px rgba(37, 99, 235, 0.3),
1659+
0 0 30px rgba(37, 99, 235, 0.15);
1660+
}
1661+
100% {
1662+
text-shadow:
1663+
-1px -1px 0 var(--vn-blue),
1664+
1px -1px 0 var(--vn-blue),
1665+
-1px 1px 0 var(--vn-blue),
1666+
1px 1px 0 var(--vn-blue),
1667+
0 0 25px var(--vn-blue-glow),
1668+
0 0 50px rgba(37, 99, 235, 0.3);
1669+
}
16391670
}
16401671

16411672
.pro-subtitle {

0 commit comments

Comments
 (0)