Skip to content

Commit

Permalink
Fix text on submitting page
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlancollins committed Dec 19, 2023
1 parent 30b3d93 commit a7729f0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/routes/help/submitting/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
import Seo from '$lib/components/Seo.svelte';
const repoURL = 'https://github.com/svelte-society/sveltesociety.dev';
const types = ['Component', 'Template', 'Tool'].map((t) => ({
const types = ['Package', 'Template'].map((t) => ({
label: t,
value: t.toLowerCase()
}));
const data = {
component: {
package: {
tags: extractUnique(packages, 'tags'),
categories: [...extractUnique(packages, 'category').filter((cat) => cat.label !== '')]
},
Expand Down Expand Up @@ -72,10 +72,9 @@
To add a new package on the website, the process is rather simple. You have to add a snippet in
the appropriate file.
</p>

<h2>Generating file contents snippet</h2>
<br/>
<p>Each package is represented by a JSON Object. Use the generator below to generate the Object.</p>

<br/>
<p><code>*</code> marked fields are required</p>
<div class="json-generator">
<div class="input-wrapper">
Expand Down

0 comments on commit a7729f0

Please sign in to comment.