Skip to content

Commit 276f195

Browse files
Adjust cards on index page (#12710)
- Manually build the card list rather than using data and Liquid templating. - Add "Create with AI" as an additional card. --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 125c4cd commit 276f195

File tree

2 files changed

+17
-19
lines changed

2 files changed

+17
-19
lines changed

src/content/index.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,24 @@ description: >-
77
---
88

99
<div class="card-grid">
10-
{% for card in docsCards -%}
11-
<Card title="{{card.name}}" link="{{card.url}}" outlined="true">
12-
{{card.description}}
10+
<Card title="Get started" link="/get-started" outlined="true">
11+
Set up your environment and start building.
12+
</Card>
13+
<Card title="Widget catalog" link="/ui/widgets" outlined="true">
14+
Dip into the rich set of Flutter widgets available in the SDK.
15+
</Card>
16+
<Card title="API docs" link="{{site.api}}" outlined="true">
17+
Bookmark the API reference docs for the Flutter framework.
18+
</Card>
19+
<Card title="Learning resources" link="/reference/learning-resources" outlined="true">
20+
Browse sample code, tutorials, and how-tos.
21+
</Card>
22+
<Card title="Videos" link="https://www.youtube.com/@flutterdev" outlined="true">
23+
View the many videos on the Flutter YouTube channel.
24+
</Card>
25+
<Card title="Create with AI" link="/ai/create-with-ai" outlined="true">
26+
Learn how to build with and integrate powerful AI tools.
1327
</Card>
14-
{% endfor -%}
1528
</div>
1629

1730
**To see changes to the site since our last release,

src/data/docsCards.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)