Skip to content

Commit 25b408a

Browse files
authored
Merge pull request #883 from AshmitSherigar/fix-heading-structure
Fix heading structure for improved accessibility
2 parents bc0ef28 + a2c1cf8 commit 25b408a

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

src/content/text-detail/en/download.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,29 @@ import {
1212

1313
Welcome! This page contains the links to start using p5.js in the way that suits you best. Open the p5.js Editor in your web browser, or download the library to your own computer. We’ve tried to order the links to reflect what a beginner might want first, then what a more experienced programmer may be looking for.
1414

15-
### Start Coding Online
15+
## Start Coding Online
1616
This link redirects you to the p5.js Editor online so you can begin using p5.js immediately.
1717

1818
<LinkButton variant='link' url='https://editor.p5js.org/'> p5.js Editor </LinkButton>
1919

20-
### Download the Complete Library
20+
## Download the Complete Library
2121
This is a download containing the p5.js library file, the p5.sound addon, and an example project. It does not contain an editor. Visit [Get Started](/tutorials/get-started) to learn how to setup a p5.js project.
2222

2323
<LinkButton variant='download' url={fullDownloadUrl}> Complete Library </LinkButton>
2424

25-
### Download Single Files
25+
## Download Single Files
2626
These are downloads or links to the p5.js library file. No additional contents are included.
2727

2828
<div class="flex gap-sm md:gap-lg justify-between lg:justify-normal">
2929
<LinkButton variant='download' url={libraryDownloadUrl}> p5.js </LinkButton>
3030
<LinkButton variant='download' url={minifiedLibraryDownloadUrl}> p5.min.js </LinkButton>
3131
</div>
3232

33-
### Use p5.js from CDN
33+
## Use p5.js from CDN
3434
p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing.
3535

3636
<CodeContainerWithCopy>{cdnLibraryUrl}</CodeContainerWithCopy>
3737

38-
### Older versions
38+
## Older versions
3939
Looking for older versions?
4040
Head over to GitHub for [earlier releases](https://github.com/processing/p5.js/releases) of p5.js.

src/layouts/HomepageLayout.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ setJumpToState(null);
3636
/>
3737

3838
<BaseLayout title="" variant="homepage" homepageConfig={config}>
39+
40+
<h1 class="text-5xl font-bold mb-xl col-span-full">Welcome to p5.js</h1>
41+
3942
<div class="content-grid-simple mb-xl">
4043
<div
4144
class="col-span-2 lg:col-span-3 order-1 grid grid-cols-subgrid content-start"

0 commit comments

Comments
 (0)