Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/actions/spelling/expect.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Abhimanyu
lfx
luma
Petschulat
SFDC
Siwach
Expand Down
18 changes: 14 additions & 4 deletions .mkdocs/overrides/main.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
{% extends "base.html" %}

{% block announce %}
Join the new DeepLearning.AI short course: <strong>A2A: The Agent2Agent Protocol</strong>!
<a href="https://goo.gle/dlai-a2a" class="md-button">
Enroll for free
</a>
<p>
<span>Sign up to the <strong>A2A and generative UI hackathon</strong> in London on Saturday 13th June!</span>
<a href="https://luma.com/a2a-and-generative-ui-hackathon" class="md-button">
Sign up
</a>
Comment thread
benclarkeio marked this conversation as resolved.
</p>
<!--
<p>
<span>Join the new DeepLearning.AI short course: <strong>A2A: The Agent2Agent Protocol</strong>!</span>
<a href="https://goo.gle/dlai-a2a" class="md-button">
Enroll for free
</a>
</p>
-->
Comment thread
benclarkeio marked this conversation as resolved.
{% endblock %}
33 changes: 29 additions & 4 deletions docs/stylesheets/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,36 @@
line-height: 1.4;
}

.announce .md-button {
font-size: 0.8em;
padding: 0.3em 1em;
margin-left: 0.5em;
/* Announcement bar: right-align the call-to-action button and vertically
center both it and the dismiss icon. Each announcement is wrapped in a
<p>. Material uses BEM `__` class names, hence the stylelint exception. */
/* stylelint-disable selector-class-pattern */
.md-banner__inner {
display: grid;
grid-template-columns: 1fr auto;
column-gap: 0.8em;
align-items: center;
}

.md-banner__inner > p {
grid-column: 1;
display: flex;
align-items: center;
gap: 1em;
margin: 0;
}

.md-banner__inner .md-button {
margin-left: auto;
padding: 0.2em 0.6em;
}

.md-banner__button {
grid-column: 2;
grid-row: 1 / -1;
align-self: center;
}
/* stylelint-enable selector-class-pattern */

h1#agent2agent-a2a-protocol {
display: none;
Expand Down
Loading