Skip to content

Commit 361d9b2

Browse files
authored
feat(website): update v1.0.5 — GD brand light theme, splash landing, arch flow animations (#9)
* website update: update links, simplify quick start, improve UI * feat(website): update v1.0.5 — GD brand light theme, splash landing, arch flow animations
1 parent 1a24dfe commit 361d9b2

6 files changed

Lines changed: 1767 additions & 399 deletions

File tree

docs/web/_includes/nav.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<img src="{{ '/assets/brand/rosetta-logo-full-color.png' | relative_url }}" alt="Rosetta" class="brand-logo logo-light">
66
</div>
77
<nav>
8+
<button class="nav-toggle" id="nav-toggle" aria-label="Toggle navigation" aria-expanded="false">&#9776;</button>
89
<ul>
910
<li><a href="{{ '/' | relative_url }}" class="{% if page.url == '/' %}active{% endif %}">Home</a></li>
1011
<li><a href="{{ '/overview/' | relative_url }}" class="{% if page.url == '/overview/' %}active{% endif %}">Overview</a></li>
@@ -22,7 +23,7 @@
2223
<li>
2324
<a href="https://discord.gg/qRUfPGBwWT" target="_blank" rel="noopener noreferrer" class="discord-link" aria-label="Join our Discord">
2425
<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z"/></svg>
25-
<span>Discord</span>
26+
<span>Community</span>
2627
</a>
2728
</li>
2829
<li>
@@ -47,5 +48,13 @@
4748
localStorage.setItem('rosetta-theme', next);
4849
updateIcon();
4950
});
51+
// Mobile nav toggle
52+
var navToggle = document.getElementById('nav-toggle');
53+
var navList = navToggle.nextElementSibling;
54+
navToggle.addEventListener('click', function(){
55+
var open = navList.classList.toggle('is-open');
56+
navToggle.setAttribute('aria-expanded', open);
57+
navToggle.textContent = open ? '\u2715' : '\u2630';
58+
});
5059
})();
5160
</script>

docs/web/_layouts/default.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@
77
<script>
88
(function(){
99
var t = localStorage.getItem('rosetta-theme');
10+
if (!t && window.matchMedia) {
11+
t = window.matchMedia('(prefers-color-scheme: light)').matches ? 'light' : 'dark';
12+
}
1013
if (t) document.documentElement.setAttribute('data-theme', t);
1114
})();
1215
</script>
1316
<title>{% if page.url == '/' %}{{ site.seo_title | default: site.title }}{% elsif page.title %}{{ page.title }} | {{ site.seo_title | default: site.title }}{% else %}{{ site.seo_title | default: site.title }}{% endif %}</title>
17+
<meta name="description" content="Rosetta — Control plane for AI coding agents. Governs behavior, packages proven workflows, and delivers consistent engineering quality across your organization.">
1418
<link rel="preconnect" href="https://fonts.googleapis.com">
1519
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1620
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600;700&display=swap" rel="stylesheet">
@@ -19,19 +23,22 @@
1923
<link rel="apple-touch-icon" href="{{ '/assets/brand/rosetta-favicon.png' | relative_url }}">
2024
</head>
2125
<body>
26+
<a href="#main-content" class="skip-to-content">Skip to content</a>
2227
{% include nav.html %}
23-
<main>
28+
<main id="main-content">
2429
{{ content }}
2530
</main>
2631
<footer>
2732
<div class="footer-wrap">
28-
<span>&copy; Grid Dynamics &mdash; Rosetta</span>
33+
<span>Copyright &copy; {{ 'now' | date: '%Y' }} Grid Dynamics. All rights reserved.</span>
2934
<nav class="footer-nav" aria-label="Footer navigation">
3035
<a href="{{ '/overview/' | relative_url }}">Overview</a>
31-
<a href="{{ '/usage/' | relative_url }}">Usage</a>
36+
<a href="{{ '/usage/' | relative_url }}">Usage</a>
3237
<a href="{{ '/roadmap/' | relative_url }}">Roadmap</a>
3338
<a href="{{ '/contribute/' | relative_url }}">Contribute</a>
3439
<a href="https://github.com/griddynamics/rosetta" target="_blank" rel="noopener noreferrer">GitHub</a>
40+
<a href="https://discord.gg/qRUfPGBwWT" target="_blank" rel="noopener noreferrer">Community</a>
41+
<a href="mailto:rosetta-support@griddynamics.com">Contact Us</a>
3542
</nav>
3643
</div>
3744
</footer>

0 commit comments

Comments
 (0)