Skip to content

Commit e90b952

Browse files
feat: llms-full.txt link on hero landing (#493)
Signed-off-by: David Dal Busco <david.dalbusco@outlook.com>
1 parent 6bc1fb9 commit e90b952

2 files changed

Lines changed: 29 additions & 3 deletions

File tree

src/components/Hero/index.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,15 @@ export default function Hero(): JSX.Element {
6464
>
6565
Documentation
6666
</Link>
67+
68+
<a
69+
href="/llms-full.txt"
70+
target="_blank"
71+
rel="noopener noreferrer"
72+
className={styles.llms}
73+
>
74+
llms-full.txt
75+
</a>
6776
</div>
6877
</div>
6978
</article>

src/components/Hero/styles.module.scss

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,31 @@
7373

7474
.actions {
7575
display: flex;
76-
flex-direction: column-reverse;
77-
gap: 1rem;
76+
flex-direction: column;
77+
78+
column-gap: 1rem;
79+
row-gap: 1rem;
7880

7981
@media screen and (min-width: 768px) {
80-
flex-direction: row;
82+
display: grid;
83+
grid-template-columns: repeat(2, 1fr);
84+
85+
row-gap: 0.65rem;
8186
}
8287
}
8388

8489
.typing {
8590
color: var(--ifm-color-primary);
8691
}
92+
93+
.llms {
94+
display: inline-flex;
95+
justify-content: center;
96+
97+
grid-column-start: 2;
98+
99+
font-size: calc(var(--ifm-font-size-base) * 0.65);
100+
101+
color: var(--ifm-font-color-base);
102+
text-decoration: underline;
103+
}

0 commit comments

Comments
 (0)