fix: prettier

This commit is contained in:
Luca Burgio 2023-11-19 10:25:34 +01:00
parent df19c352bd
commit 1dac608fb5
3 changed files with 15 additions and 15 deletions

View file

@ -6,7 +6,7 @@ export interface SEOProps {
title?: string;
description?: string;
}
export function SEO({ title,description }: SEOProps) {
export function SEO({ title, description }: SEOProps) {
const pageTitle = title ? `${title} | ${TITLE_SUFFIX}` : TITLE_SUFFIX;
const pageDescription = description;
@ -14,10 +14,7 @@ export function SEO({ title,description }: SEOProps) {
<Head>
<title>{pageTitle}</title>
<link rel="canonical" href="https://iconoir.com/" />
<meta
name="description"
content={pageDescription}
/>
<meta name="description" content={pageDescription} />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
@ -29,10 +26,7 @@ export function SEO({ title,description }: SEOProps) {
property="og:image"
content="https://iconoir.com/iconoir-brand.png"
/>
<meta
property="og:description"
content={pageDescription}
/>
<meta property="og:description" content={pageDescription} />
<meta property="og:image:width" content="1270" />
<meta property="og:image:height" content="760" />
@ -51,10 +45,7 @@ export function SEO({ title,description }: SEOProps) {
name="twitter:image:alt"
content="The biggest open source icon library with tons of free icons."
/>
<meta
name="twitter:description"
content={pageDescription}
/>
<meta name="twitter:description" content={pageDescription} />
<meta name="twitter:card" content="summary_large_image" />
</Head>
);

View file

@ -34,7 +34,11 @@ const Home: NextPage<HomeProps> = ({
return (
<>
<Layout>
<SEO description={'Iconoir is the biggest open source icon library that provides a massive selection of high-quality icons, available for free download. No premium options or email sign-up required, free for real. Icons available in SVG, Font, React, React Nativ, and Flutter libraries, Figma and Framer.'} />
<SEO
description={
'Iconoir is the biggest open source icon library that provides a massive selection of high-quality icons, available for free download. No premium options or email sign-up required, free for real. Icons available in SVG, Font, React, React Nativ, and Flutter libraries, Figma and Framer.'
}
/>
<Header currentVersion={currentVersion} />
<HeaderBackground>
<HeroHead>

View file

@ -21,7 +21,12 @@ const Support: NextPage<SupportProps> = ({ ...headerProps }) => {
return (
<>
<Layout>
<SEO title={'Donate - Our Mission'} description={'Our mission: A free, complete, and open icon library. Iconoir wants to give to developers and users high-quality free icons.'} />
<SEO
title={'Donate - Our Mission'}
description={
'Our mission: A free, complete, and open icon library. Iconoir wants to give to developers and users high-quality free icons.'
}
/>
<Header {...headerProps} />
<HeaderSecondary>
<SupportHead>