Skip to content

chore: fix typos #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/sections/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function Hero() {
</div>
</div>
<div className='flex flex-col w-full pt-8 lg:pt-0'>
<img className='w-auto lg:min-w-[800px]' src='/hero.png' alt='Abstract pattern of gemoetric shapes' />
<img className='w-auto lg:min-w-[800px]' src='/hero.png' alt='Abstract pattern of geometric shapes' />
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/sections/PluginsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const PluginsList: React.FC<IPluginsList> = ({ pluginData }) => {
name={plugin?.name}
description={plugin?.description}
authors={plugin?.author}
downloadsCount={plugin?.donwloads}
downloadsCount={plugin?.downloads}
downloadUrl={"https://npmjs.com/package/" + plugin.name}
/> )}
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/hooks/usePlugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export interface PluginMetadata {
version?: string;
author?: string;
homepage?: string;
donwloads?: number;
downloads?: number;
license?: string;
isFeatured?: boolean;
}
Expand Down Expand Up @@ -47,7 +47,7 @@ export const usePlugins = (): PluginsData => {
version: manifest.version,
author: manifest.author?.name ?? manifest.contributors?.map(c => c.name).join(", ") ?? "Unknown",
homepage: manifest.homepage,
donwloads: downloads?.downloads ?? 0,
downloads: downloads?.downloads ?? 0,
license: manifest.license,
description: manifest.description,
isFeatured: pluginsJSON.isFeatured
Expand Down