Skip to content

Commit a67f62c

Browse files
committed
Merge branch 'applications'
2 parents 8929878 + f889629 commit a67f62c

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

applications/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ custom_js:
101101
<p class="subtitle">A collection of optimal control applications built with the control-toolbox ecosystem.</p>
102102
</div>
103103

104+
<div class="apps-cta">
105+
<p>Want to add your application? <a href="https://github.com/orgs/control-toolbox/discussions/65" target="_blank">Follow the guide</a>.</p>
106+
</div>
107+
104108
<div class="view-toggle-bar">
105109
<button id="btn-detailed" class="view-btn active" title="Vue détaillée"><i class="fa-solid fa-list"></i></button>
106110
<button id="btn-compact" class="view-btn" title="Vue compacte"><i class="fa-solid fa-table-cells"></i></button>

assets/css/applications.css

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,10 @@
197197
display: none;
198198
}
199199

200+
.apps-cta {
201+
display: none;
202+
}
203+
200204
.view-toggle-bar {
201205
margin-bottom: 1rem;
202206
}
@@ -365,6 +369,10 @@
365369
display: none;
366370
}
367371

372+
.apps-cta {
373+
display: none;
374+
}
375+
368376
.app-grid {
369377
gap: 0.75rem;
370378
margin: 1rem 0;
@@ -510,6 +518,32 @@
510518
margin-top: 0;
511519
}
512520

521+
/* CTA for adding applications */
522+
.apps-cta {
523+
background: var(--color-canvas-subtle, #f6f8fa);
524+
border: 1px solid var(--color-border-muted, #d1d5da);
525+
border-radius: 8px;
526+
padding: 0.75rem 1rem;
527+
margin-bottom: 1.5rem;
528+
text-align: center;
529+
}
530+
531+
.apps-cta p {
532+
margin: 0;
533+
font-size: 0.85rem;
534+
color: var(--color-text-secondary, #586069);
535+
}
536+
537+
.apps-cta a {
538+
color: var(--color-accent-fg, #0969da);
539+
text-decoration: none;
540+
font-weight: 500;
541+
}
542+
543+
.apps-cta a:hover {
544+
text-decoration: underline;
545+
}
546+
513547
/* View Toggle */
514548
.view-toggle-bar {
515549
display: flex;

0 commit comments

Comments
 (0)