60 lines
1.4 KiB
Plaintext
60 lines
1.4 KiB
Plaintext
---
|
|
import { getSiteUrl } from '../lib/site-url.js';
|
|
|
|
const SITE_URL = getSiteUrl();
|
|
const fullDocsUrl = `${SITE_URL}/llms-full.txt`;
|
|
---
|
|
|
|
<div class="ai-banner">
|
|
<span>🤖 Consolidated, AI-optimized BMAD docs: <a href={fullDocsUrl}>llms-full.txt</a>. Fetch this plain text file for complete context.</span>
|
|
</div>
|
|
|
|
<style>
|
|
.ai-banner {
|
|
width: 100vw; /* Full viewport width */
|
|
margin-left: calc(-50vw + 50%); /* Center and break out of container */
|
|
height: var(--ai-banner-height, 2.75rem);
|
|
background: #334155;
|
|
color: rgb(148, 163, 184);
|
|
padding: 0.5rem 1rem;
|
|
font-size: 0.875rem;
|
|
border-bottom: 1px solid rgba(140, 140, 255, 0.15);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-sizing: border-box;
|
|
font-family: system-ui, sans-serif;
|
|
}
|
|
|
|
/* Truncate text on narrow screens */
|
|
.ai-banner span {
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 100%;
|
|
}
|
|
.ai-banner a {
|
|
color: #8C8CFF;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
}
|
|
.ai-banner a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* Match navbar padding at breakpoints */
|
|
@media (min-width: 50rem) {
|
|
.ai-banner {
|
|
padding-left: 2.5rem;
|
|
padding-right: 2.5rem;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 72rem) {
|
|
.ai-banner {
|
|
padding-left: 3rem;
|
|
padding-right: 3rem;
|
|
}
|
|
}
|
|
</style>
|