Skip to content

Commit 26299d3

Browse files
committed
bug #890 [Website] Add link hrefs to website (chr-hertel)
This PR was merged into the main branch. Discussion ---------- [Website] Add link hrefs to website | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Docs? | no | Issues | | License | MIT Getting rid of `href="#"` links by adding some more meaningful or removing a tags. Commits ------- 0f391b8 Add link hrefs to website
2 parents a9b98a1 + 0f391b8 commit 26299d3

File tree

3 files changed

+48
-48
lines changed

3 files changed

+48
-48
lines changed

ai.symfony.com/assets/styles/app.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ button#themeToggle {
190190
text-align: center;
191191
}
192192
.logo-pill:hover {
193-
box-shadow: inset 0 0 0 2px var(--sf-ai-link-color);
193+
background: var(--sf-ai-bg-secondary);
194194
}
195195
.logo-pill svg {
196196
display: block;

ai.symfony.com/templates/_header.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<a class="nav-link" href="https://symfony.com/doc/current/ai/index.html">Documentation</a>
2424
</li>
2525
<li class="nav-item">
26-
<a class="nav-link" href="#">Demos</a>
26+
<a class="nav-link" href="https://github.com/symfony/ai-demo">Demos</a>
2727
</li>
2828
<li class="nav-item">
2929
<a class="nav-link" href="https://symfony.com/doc/current/ai/cookbook/index.html">Cookbook</a>

ai.symfony.com/templates/homepage.html.twig

Lines changed: 46 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
</p>
1818

1919
<div class="d-flex flex-wrap gap-2">
20-
<a href="#" class="btn btn-light btn-lg px-4 d-flex align-items-center">
21-
<span>Add AI to your app</span>
20+
<a href="https://symfony.com/doc/current/ai/bundles/ai-bundle.html" class="btn btn-light btn-lg px-4 d-flex align-items-center">
21+
<span>Add AI to your Symfony app</span>
2222
{{ ux_icon('tabler:arrow-up-right', {width: 24, height: 24, class: 'ms-2'}) }}
2323
</a>
24-
<a href="#" class="mt-3 mt-sm-0 ms-lg-4 btn btn-outline-light btn-lg px-4 d-flex align-items-center">
25-
Build server
24+
<a href="https://symfony.com/doc/current/ai/bundles/mcp-bundle.html" class="mt-3 mt-sm-0 ms-lg-4 btn btn-outline-light btn-lg px-4 d-flex align-items-center">
25+
Build MCP Server
2626
{{ ux_icon('tabler:arrow-up-right', {width: 24, height: 24, class: 'ms-2'}) }}
2727
</a>
2828
</div>
@@ -55,21 +55,21 @@
5555
<h2 class="ff-title fw-bold h4 mb-4 text-center">Models</h2>
5656
<article class="sf-ai-card sf-ai-card-hover sf-ai-card-hover-dark p-3 p-lg-4">
5757
<div class="sf-ai-card-body sf-ai-logo-grid">
58-
<a class="logo-pill" href="#">
58+
<span class="logo-pill">
5959
{{ ux_icon('logos:openai') }}
60-
</a>
61-
<a class="logo-pill" href="#">
60+
</span>
61+
<span class="logo-pill">
6262
{{ ux_icon('logos:google-gemini') }}
63-
</a>
64-
<a class="logo-pill" href="#">
63+
</span>
64+
<span class="logo-pill">
6565
{{ ux_icon('logos:mistral') }}
66-
</a>
67-
<a class="logo-pill" href="#">
66+
</span>
67+
<span class="logo-pill">
6868
{{ ux_icon('logos:claude') }}
69-
</a>
69+
</span>
7070
</div>
7171

72-
<a href="#" class="mt-5 fw-semibold small text-decoration-none d-flex align-items-center justify-content-end">
72+
<a href="https://symfony.com/doc/current/ai/components/platform.html#supported-models-platforms" class="mt-5 fw-semibold small text-decoration-none d-flex align-items-center justify-content-end">
7373
<span>See all supported models</span>
7474
{{ ux_icon('tabler:arrow-right', {width: 18, height: 18, class: 'ms-1'}) }}
7575
</a>
@@ -80,21 +80,21 @@
8080
<h2 class="ff-title fw-bold h4 mb-4 mt-5 mt-lg-0 text-center">Platforms</h2>
8181
<article class="sf-ai-card sf-ai-card-hover sf-ai-card-hover-dark p-3 p-lg-4">
8282
<div class="sf-ai-card-body sf-ai-logo-grid">
83-
<a class="logo-pill" href="#">
83+
<span class="logo-pill">
8484
{{ ux_icon('logos:hugging-face') }}
85-
</a>
86-
<a class="logo-pill" href="#">
85+
</span>
86+
<span class="logo-pill">
8787
{{ ux_icon('logos:azure') }}
88-
</a>
89-
<a class="logo-pill" href="#">
88+
</span>
89+
<span class="logo-pill">
9090
{{ ux_icon('logos:ollama') }}
91-
</a>
92-
<a class="logo-pill" href="#">
91+
</span>
92+
<span class="logo-pill">
9393
{{ ux_icon('logos:docker') }}
94-
</a>
94+
</span>
9595
</div>
9696

97-
<a href="#" class="mt-5 fw-semibold small text-decoration-none d-flex align-items-center justify-content-end">
97+
<a href="https://symfony.com/doc/current/ai/components/platform.html#supported-models-platforms" class="mt-5 fw-semibold small text-decoration-none d-flex align-items-center justify-content-end">
9898
<span>See all supported platforms</span>
9999
{{ ux_icon('tabler:arrow-right', {width: 18, height: 18, class: 'ms-1'}) }}
100100
</a>
@@ -105,21 +105,21 @@
105105
<h2 class="ff-title fw-bold h4 mb-4 mt-5 mt-lg-0 text-center">Stores</h2>
106106
<article class="sf-ai-card sf-ai-card-hover sf-ai-card-hover-dark p-3 p-lg-4">
107107
<div class="sf-ai-card-body sf-ai-logo-grid">
108-
<a class="logo-pill" href="#">
108+
<span class="logo-pill">
109109
{{ ux_icon('logos:pinecone') }}
110-
</a>
111-
<a class="logo-pill" href="#">
110+
</span>
111+
<span class="logo-pill">
112112
{{ ux_icon('logos:postgresql') }}
113-
</a>
114-
<a class="logo-pill" href="#">
113+
</span>
114+
<span class="logo-pill">
115115
{{ ux_icon('logos:mariadb') }}
116-
</a>
117-
<a class="logo-pill" href="#">
116+
</span>
117+
<span class="logo-pill">
118118
{{ ux_icon('logos:chroma') }}
119-
</a>
119+
</span>
120120
</div>
121121

122-
<a href="#" class="mt-5 fw-semibold small text-decoration-none d-flex align-items-center justify-content-end">
122+
<a href="https://symfony.com/doc/current/ai/components/store.html#supported-stores" class="mt-5 fw-semibold small text-decoration-none d-flex align-items-center justify-content-end">
123123
<span>See all stores</span>
124124
{{ ux_icon('tabler:arrow-right', {width: 18, height: 18, class: 'ms-1'}) }}
125125
</a>
@@ -130,21 +130,21 @@
130130
<h2 class="ff-title fw-bold h4 mb-4 mt-5 mt-lg-0 text-center">Tools integration</h2>
131131
<article class="sf-ai-card sf-ai-card-hover sf-ai-card-hover-dark p-3 p-lg-4">
132132
<div class="sf-ai-card-body sf-ai-logo-grid">
133-
<a class="logo-pill" href="#">
133+
<span class="logo-pill">
134134
Similarity Search (RAG)
135-
</a>
136-
<a class="logo-pill" href="#">
135+
</span>
136+
<span class="logo-pill">
137137
{{ ux_icon('logos:wikipedia') }}
138-
</a>
139-
<a class="logo-pill" href="#">
138+
</span>
139+
<span class="logo-pill">
140140
{{ ux_icon('logos:youtube') }}
141-
</a>
142-
<a class="logo-pill" href="#">
141+
</span>
142+
<span class="logo-pill">
143143
{{ ux_icon('logos:brave') }}
144-
</a>
144+
</span>
145145
</div>
146146

147-
<a href="#" class="mt-5 fw-semibold small text-decoration-none d-flex align-items-center justify-content-end">
147+
<a href="https://symfony.com/doc/current/ai/components/agent.html#code-examples-with-built-in-tools" class="mt-5 fw-semibold small text-decoration-none d-flex align-items-center justify-content-end">
148148
<span>See all tools</span>
149149
{{ ux_icon('tabler:arrow-right', {width: 18, height: 18, class: 'ms-1'}) }}
150150
</a>
@@ -172,7 +172,7 @@
172172
<div class="flex-grow-1">
173173
<div class="d-flex align-items-start gap-2 mb-1">
174174
<h3 class="h5 ff-title fw-bold mb-0">
175-
<a href="#" class="stretched-link">Symfony Blog Bot</a>
175+
<a href="https://github.com/symfony/ai-demo" class="stretched-link">Symfony Blog Bot</a>
176176
</h3>
177177
{{ ux_icon('tabler:arrow-right', {width: 24, height: 24, class: 'ms-1'}) }}
178178
</div>
@@ -194,7 +194,7 @@
194194
<div class="flex-grow-1">
195195
<div class="d-flex align-items-start gap-2 mb-1">
196196
<h3 class="h5 ff-title fw-bold mb-0">
197-
<a href="#" class="stretched-link">Youtube Transcript Bot</a>
197+
<a href="https://github.com/symfony/ai-demo" class="stretched-link">Youtube Transcript Bot</a>
198198
</h3>
199199
{{ ux_icon('tabler:arrow-right', {width: 24, height: 24, class: 'ms-1'}) }}
200200
</div>
@@ -216,7 +216,7 @@
216216
<div class="flex-grow-1">
217217
<div class="d-flex align-items-start gap-2 mb-1">
218218
<h3 class="h5 ff-title fw-bold mb-0">
219-
<a href="#" class="stretched-link">Wikipedia research Bot</a>
219+
<a href="https://github.com/symfony/ai-demo" class="stretched-link">Wikipedia research Bot</a>
220220
</h3>
221221
{{ ux_icon('tabler:arrow-right', {width: 24, height: 24, class: 'ms-1'}) }}
222222
</div>
@@ -238,7 +238,7 @@
238238
<div class="flex-grow-1">
239239
<div class="d-flex align-items-start gap-2 mb-1">
240240
<h3 class="h5 ff-title fw-bold mb-0">
241-
<a href="#" class="stretched-link">Audio Bot</a>
241+
<a href="https://github.com/symfony/ai-demo" class="stretched-link">Audio Bot</a>
242242
</h3>
243243
{{ ux_icon('tabler:arrow-right', {width: 24, height: 24, class: 'ms-1'}) }}
244244
</div>
@@ -260,7 +260,7 @@
260260
<div class="flex-grow-1">
261261
<div class="d-flex align-items-start gap-2 mb-1">
262262
<h3 class="h5 ff-title fw-bold mb-0">
263-
<a href="#" class="stretched-link">Video Bot</a>
263+
<a href="https://github.com/symfony/ai-demo" class="stretched-link">Video Bot</a>
264264
</h3>
265265
{{ ux_icon('tabler:arrow-right', {width: 24, height: 24, class: 'ms-1'}) }}
266266
</div>
@@ -282,7 +282,7 @@
282282
<div class="flex-grow-1">
283283
<div class="d-flex align-items-start gap-2 mb-1">
284284
<h3 class="h5 ff-title fw-bold mb-0">
285-
<a href="#" class="stretched-link">Tuto stream Bot</a>
285+
<a href="https://github.com/symfony/ai-demo" class="stretched-link">Tuto stream Bot</a>
286286
</h3>
287287
{{ ux_icon('tabler:arrow-right', {width: 24, height: 24, class: 'ms-1'}) }}
288288
</div>

0 commit comments

Comments
 (0)