Skip to content

Commit 1a6e75f

Browse files
committed
Add section ids
1 parent 172383b commit 1a6e75f

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/components/SharedLinks.astro

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ const { locale } = Astro.props;
1818
const byLabel = resolve({ en: 'by', ru: 'от' }, locale);
1919
---
2020

21-
<h4>{resolve(rightsGroups.heading, locale)}</h4>
21+
<h4 id="rightsGroups">{resolve(rightsGroups.heading, locale)}</h4>
2222
<ul>
2323
{rightsGroups.items.map((item: any) => (
2424
<li><a href={resolve(item.url, locale)} target="_blank">{resolve(item.text, locale)} ↗</a></li>
2525
))}
2626
</ul>
2727

28-
<h2>{resolve(references.heading, locale)}</h2>
28+
<h2 id="references">{resolve(references.heading, locale)}</h2>
2929

3030
<h3>{resolve(overview.heading, locale)}</h3>
3131
<ul>
@@ -34,7 +34,7 @@ const byLabel = resolve({ en: 'by', ru: 'от' }, locale);
3434
))}
3535
</ul>
3636

37-
<h3>{resolve(editorials.heading, locale)}</h3>
37+
<h3 id="editorials">{resolve(editorials.heading, locale)}</h3>
3838
<ul>
3939
{editorials.items.map((item: any) => (
4040
<li>
@@ -46,14 +46,14 @@ const byLabel = resolve({ en: 'by', ru: 'от' }, locale);
4646
))}
4747
</ul>
4848

49-
<h3>{resolve(press.heading, locale)}</h3>
49+
<h3 id="press">{resolve(press.heading, locale)}</h3>
5050
<ul>
5151
{press.items.map((item: any) => (
5252
<li>&ldquo;{resolve(item.text, locale)}&rdquo; &mdash; <a href={item.url} target="_blank">{item.url} ↗</a></li>
5353
))}
5454
</ul>
5555

56-
<h3>{resolve(videos.heading, locale)}</h3>
56+
<h3 id="videos">{resolve(videos.heading, locale)}</h3>
5757
<ul>
5858
{videos.items.map((item: any) => (
5959
<li>
@@ -64,21 +64,21 @@ const byLabel = resolve({ en: 'by', ru: 'от' }, locale);
6464
))}
6565
</ul>
6666

67-
<h3>{resolve(discussions.heading, locale)}</h3>
67+
<h3 id="discussions">{resolve(discussions.heading, locale)}</h3>
6868
<ul>
6969
{discussions.items.map((item: any) => (
7070
<li><a href={item.url} target="_blank">{item.url} ↗</a></li>
7171
))}
7272
</ul>
7373

74-
<h3>{resolve(officialDocs.heading, locale)}</h3>
74+
<h3 id="docs">{resolve(officialDocs.heading, locale)}</h3>
7575
<ul>
7676
{officialDocs.items.map((item: any) => (
7777
<li>{resolve(item.text, locale)} &mdash; <a href={item.url} target="_blank">{item.url} ↗</a></li>
7878
))}
7979
</ul>
8080

81-
<h3>{resolve(miscellaneous.heading, locale)}</h3>
81+
<h3 id="misc">{resolve(miscellaneous.heading, locale)}</h3>
8282
<ul>
8383
{miscellaneous.items.map((item: any) => {
8484
const hasAuthor = item.author_text && item.author_url;

0 commit comments

Comments
 (0)