Skip to content

Commit fb7eaff

Browse files
feat: link to ai tools on homepage
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
1 parent b4231b2 commit fb7eaff

2 files changed

Lines changed: 22 additions & 11 deletions

File tree

src/components/Hero/index.tsx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,15 @@ export default function Hero(): JSX.Element {
4040
Documentation
4141
</Link>
4242

43-
<a
44-
href="/llms-full.txt"
45-
target="_blank"
46-
rel="noopener noreferrer"
47-
className={styles.llms}
48-
>
49-
llms-full.txt
50-
</a>
43+
<div className={styles.ai}>
44+
<a href="/llms-full.txt" target="_blank" rel="noopener noreferrer">
45+
llms-full.txt
46+
</a>
47+
·
48+
<a href="/docs/guides/ai" className={styles.llms}>
49+
AI tools
50+
</a>
51+
</div>
5152
</div>
5253
</div>
5354
</article>

src/components/Hero/styles.module.scss

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,14 +98,24 @@
9898
font-weight: bold;
9999
}
100100

101-
.llms {
101+
.ai {
102102
display: inline-flex;
103103
justify-content: center;
104+
gap: 0.25rem;
104105

105106
grid-column-start: 2;
106107

108+
padding: 0.15rem 0 0;
109+
107110
font-size: calc(var(--ifm-font-size-base) * 0.65);
108111

109-
color: var(--ifm-font-color-base);
110-
text-decoration: underline;
112+
a {
113+
color: var(--ifm-font-color-base);
114+
text-decoration: underline;
115+
116+
&:hover,
117+
&:active {
118+
color: var(--ifm-link-color);
119+
}
120+
}
111121
}

0 commit comments

Comments
 (0)