Skip to content

Commit cc12182

Browse files
authored
Merge pull request #237 from esokullu/codex/webbrain-cloud-section-strip
Add WebBrain Cloud section strip
2 parents 0556332 + 221b772 commit cc12182

45 files changed

Lines changed: 5677 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎web/ar/index.html‎

Lines changed: 243 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2569,6 +2569,220 @@
25692569
max-width: 380px;
25702570
}
25712571

2572+
/* A deliberate handoff from installing WebBrain.one to discovering the
2573+
hosted browser. It sits in normal document flow so it can be generous
2574+
without competing with page content or covering the comparison below. */
2575+
.cloud-section {
2576+
max-width: var(--max-w);
2577+
margin: 0 auto;
2578+
padding: 8px 24px 24px;
2579+
}
2580+
.cloud-section-card {
2581+
min-height: 220px;
2582+
position: relative;
2583+
isolation: isolate;
2584+
overflow: hidden;
2585+
display: grid;
2586+
grid-template-columns: 190px minmax(0, 1fr) auto;
2587+
align-items: center;
2588+
gap: 36px;
2589+
padding: 34px 38px;
2590+
background:
2591+
radial-gradient(circle at 12% 30%, rgba(108,99,255,0.24), transparent 34%),
2592+
radial-gradient(circle at 88% 70%, rgba(168,85,247,0.16), transparent 38%),
2593+
var(--bg-card);
2594+
border: 1px solid rgba(108,99,255,0.32);
2595+
border-radius: 24px;
2596+
box-shadow: 0 28px 80px var(--shadow-card);
2597+
}
2598+
.cloud-section-card::after {
2599+
content: '';
2600+
position: absolute;
2601+
z-index: -1;
2602+
width: 320px;
2603+
height: 320px;
2604+
inset-inline-end: -150px;
2605+
inset-block-start: -210px;
2606+
border: 1px solid rgba(168,85,247,0.22);
2607+
border-radius: 50%;
2608+
box-shadow:
2609+
0 0 0 34px rgba(108,99,255,0.04),
2610+
0 0 0 68px rgba(168,85,247,0.025);
2611+
pointer-events: none;
2612+
}
2613+
.cloud-section-browser {
2614+
width: 190px;
2615+
height: 132px;
2616+
direction: ltr;
2617+
overflow: hidden;
2618+
background: var(--surface);
2619+
border: 1px solid rgba(108,99,255,0.38);
2620+
border-radius: 14px;
2621+
box-shadow: 0 18px 42px var(--shadow-strong);
2622+
transform: rotate(-2deg);
2623+
transition: transform 0.25s ease;
2624+
}
2625+
.cloud-section-card:hover .cloud-section-browser { transform: rotate(0) translateY(-3px); }
2626+
.cloud-section-browser-bar {
2627+
height: 32px;
2628+
display: grid;
2629+
grid-template-columns: auto minmax(0, 1fr);
2630+
align-items: center;
2631+
gap: 9px;
2632+
padding: 0 10px;
2633+
background: var(--bg-card-hover);
2634+
border-bottom: 1px solid var(--border);
2635+
}
2636+
.cloud-section-browser-dots { display: flex; gap: 4px; }
2637+
.cloud-section-browser-dots i {
2638+
width: 6px;
2639+
height: 6px;
2640+
display: block;
2641+
border-radius: 50%;
2642+
background: var(--text-dim);
2643+
opacity: 0.55;
2644+
}
2645+
.cloud-section-browser-dots i:first-child { background: #ff5f57; opacity: 1; }
2646+
.cloud-section-browser-dots i:nth-child(2) { background: #ffbd2e; opacity: 1; }
2647+
.cloud-section-browser-dots i:last-child { background: #28c840; opacity: 1; }
2648+
.cloud-section-browser-url {
2649+
overflow: hidden;
2650+
color: var(--text-dim);
2651+
font: 600 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
2652+
text-overflow: ellipsis;
2653+
white-space: nowrap;
2654+
}
2655+
.cloud-section-browser-body {
2656+
height: 100px;
2657+
position: relative;
2658+
display: grid;
2659+
place-items: center;
2660+
background:
2661+
linear-gradient(135deg, transparent 45%, rgba(108,99,255,0.10)),
2662+
var(--surface);
2663+
}
2664+
.cloud-section-browser-logo {
2665+
width: 42px;
2666+
height: 42px;
2667+
border-radius: 12px;
2668+
box-shadow: 0 10px 24px rgba(0,0,0,0.24);
2669+
}
2670+
.cloud-section-agent-chip {
2671+
position: absolute;
2672+
inset-inline-end: 15px;
2673+
inset-block-end: 12px;
2674+
padding: 4px 7px;
2675+
color: #fff;
2676+
background: var(--accent);
2677+
border-radius: 999px;
2678+
font: 800 9px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
2679+
box-shadow: 0 5px 16px var(--accent-glow);
2680+
}
2681+
.cloud-section-copy { min-width: 0; text-align: start; }
2682+
.cloud-section-kicker {
2683+
display: flex;
2684+
align-items: center;
2685+
gap: 9px;
2686+
margin-bottom: 12px;
2687+
color: var(--text-dim);
2688+
font: 800 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
2689+
letter-spacing: 0.06em;
2690+
text-transform: uppercase;
2691+
}
2692+
[dir="rtl"] .cloud-section-kicker {
2693+
font-family: inherit;
2694+
letter-spacing: 0;
2695+
text-transform: none;
2696+
}
2697+
.cloud-section-badge {
2698+
padding: 5px 8px;
2699+
color: var(--success);
2700+
background: rgba(52,211,153,0.09);
2701+
border: 1px solid rgba(52,211,153,0.28);
2702+
border-radius: 999px;
2703+
}
2704+
.cloud-section-title {
2705+
display: block;
2706+
margin-bottom: 10px;
2707+
font: 800 clamp(28px, 4vw, 40px)/1.05 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
2708+
letter-spacing: -0.06em;
2709+
direction: ltr;
2710+
unicode-bidi: isolate;
2711+
text-align: start;
2712+
}
2713+
.cloud-section-title span { color: var(--accent2); }
2714+
.cloud-section-description {
2715+
max-width: 560px;
2716+
color: var(--text-dim);
2717+
font-size: 15px;
2718+
line-height: 1.65;
2719+
}
2720+
.cloud-section-cta {
2721+
min-width: 164px;
2722+
display: inline-flex;
2723+
align-items: center;
2724+
justify-content: center;
2725+
gap: 9px;
2726+
padding: 14px 18px;
2727+
color: #fff;
2728+
background: var(--accent);
2729+
border-radius: 12px;
2730+
box-shadow: 0 10px 28px var(--accent-glow);
2731+
font-size: 14px;
2732+
font-weight: 750;
2733+
text-decoration: none;
2734+
transition: transform 0.2s ease, background 0.2s ease;
2735+
}
2736+
.cloud-section-cta:hover {
2737+
color: #fff;
2738+
background: #5a52d5;
2739+
text-decoration: none;
2740+
transform: translateY(-2px);
2741+
}
2742+
.cloud-section-cta:focus-visible { outline: 3px solid var(--accent2); outline-offset: 3px; }
2743+
.cloud-section-cta svg { width: 16px; height: 16px; }
2744+
[dir="rtl"] .cloud-section-cta svg { transform: scaleX(-1); }
2745+
2746+
@media (max-width: 820px) {
2747+
.cloud-section-card {
2748+
grid-template-columns: 150px minmax(0, 1fr);
2749+
gap: 22px 28px;
2750+
padding: 30px;
2751+
}
2752+
.cloud-section-browser {
2753+
width: 150px;
2754+
grid-row: 1 / span 2;
2755+
}
2756+
.cloud-section-cta {
2757+
width: max-content;
2758+
min-width: 180px;
2759+
}
2760+
}
2761+
@media (max-width: 560px) {
2762+
.cloud-section { padding-inline: 16px; }
2763+
.cloud-section-card {
2764+
grid-template-columns: 1fr;
2765+
gap: 20px;
2766+
padding: 24px;
2767+
border-radius: 20px;
2768+
}
2769+
.cloud-section-browser {
2770+
width: 100%;
2771+
height: 104px;
2772+
grid-row: auto;
2773+
transform: none;
2774+
}
2775+
.cloud-section-browser-body { height: 72px; }
2776+
.cloud-section-title { font-size: 29px; }
2777+
.cloud-section-cta { width: 100%; }
2778+
}
2779+
@media (prefers-reduced-motion: reduce) {
2780+
.cloud-section-browser,
2781+
.cloud-section-cta { transition: none; }
2782+
.cloud-section-card:hover .cloud-section-browser,
2783+
.cloud-section-cta:hover { transform: none; }
2784+
}
2785+
25722786
/* ================================================================
25732787
MCP BRIDGE
25742788
================================================================ */
@@ -3949,6 +4163,34 @@ <h3>فوّض الهدف. واحتفظ بالجلسة.</h3>
39494163
</div>
39504164
</section>
39514165

4166+
<!-- WEBBRAIN CLOUD -->
4167+
<section class="cloud-section" aria-labelledby="cloud-section-title">
4168+
<div class="cloud-section-card">
4169+
<div class="cloud-section-browser" aria-hidden="true">
4170+
<div class="cloud-section-browser-bar">
4171+
<span class="cloud-section-browser-dots"><i></i><i></i><i></i></span>
4172+
<span class="cloud-section-browser-url">https://webbrain.cloud</span>
4173+
</div>
4174+
<div class="cloud-section-browser-body">
4175+
<img class="cloud-section-browser-logo" src="/logo-github.png" alt="">
4176+
<span class="cloud-section-agent-chip">AI</span>
4177+
</div>
4178+
</div>
4179+
<div class="cloud-section-copy">
4180+
<div class="cloud-section-kicker">
4181+
<span class="cloud-section-badge">جديد</span>
4182+
<span>لوكلاء الذكاء الاصطناعي</span>
4183+
</div>
4184+
<strong class="cloud-section-title" id="cloud-section-title">WebBrain<span>.cloud</span></strong>
4185+
<p class="cloud-section-description">متصفح خاص ومرئي لـ Codex وغيره من وكلاء الذكاء الاصطناعي.</p>
4186+
</div>
4187+
<a class="cloud-section-cta" href="https://webbrain.cloud/">
4188+
استكشف Cloud
4189+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M5 12h14M13 6l6 6-6 6"/></svg>
4190+
</a>
4191+
</div>
4192+
</section>
4193+
39524194
<!-- COMPARISON TABLE -->
39534195
<section class="section" id="compare">
39544196
<div class="section-label">لماذا WebBrain؟</div>
@@ -4164,6 +4406,7 @@ <h3>انشر الكلمة، شارك الحبّ</h3>
41644406
</a>
41654407
<a href="/blog">المدونة</a>
41664408
<a href="/docs/">المستندات</a>
4409+
<a href="https://webbrain.cloud/">WebBrain.cloud</a>
41674410
<a href="/docs/ar/faq/">الأسئلة الشائعة</a>
41684411
<a href="/privacy">سياسة الخصوصية</a>
41694412
<a href="https://github.com/webbrain-one/webbrain/issues" target="_blank" rel="noopener">أبلغ عن خلل</a>

0 commit comments

Comments
 (0)