Skip to content

Commit

Permalink
Improve SEO on register page (#475)
Browse files Browse the repository at this point in the history
* Improve SEO on register page

* Fix format

---------

Co-authored-by: orig <[email protected]>
  • Loading branch information
tbetous and origranot authored Oct 1, 2023
1 parent d8bc06b commit 33ed4dd
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion apps/frontend/src/routes/register/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { component$, useStore } from '@builder.io/qwik';
import { Form, globalAction$, RequestHandler, z, zod$ } from '@builder.io/qwik-city';
import { DocumentHead, Form, globalAction$, RequestHandler, z, zod$ } from '@builder.io/qwik-city';
import { setTokensAsCookies, validateAccessToken } from '../../shared/auth.service';

interface RegisterStore {
Expand Down Expand Up @@ -173,3 +173,45 @@ export default component$(() => {
</div>
);
});

export const head: DocumentHead = {
title: 'Reduced.to | Register',
meta: [
{
name: 'title',
content: 'Reduced.to | Register',
},
{
name: 'description',
content: 'Reduced.to | Create your Reduced.to account to manage your shorten links.',
},
{
property: 'og:type',
content: 'website',
},
{
property: 'og:url',
content: 'https://reduced.to/register',
},
{
property: 'og:title',
content: 'Reduced.to | Register',
},
{
property: 'og:description',
content: 'Reduced.to | Create your Reduced.to account to manage your shorten links.',
},
{
property: 'twitter:card',
content: 'summary',
},
{
property: 'twitter:title',
content: 'Reduced.to | Register',
},
{
property: 'twitter:description',
content: 'Reduced.to | Create your Reduced.to account to manage your shorten links.',
},
],
};

0 comments on commit 33ed4dd

Please sign in to comment.