Skip to content

Commit bece312

Browse files
committed
style: lint project
1 parent 5a95e4f commit bece312

File tree

11 files changed

+21
-14
lines changed

11 files changed

+21
-14
lines changed

web/src/app/(content)/(info)/blog/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
import { faNewspaper } from '@fortawesome/free-solid-svg-icons';
22
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
3+
import { Metadata } from 'next';
34
import Image from 'next/image';
45
import Link from 'next/link';
56

67
import { getSortedPostsData } from '@web/src/lib/posts';
78
import type { PostType } from '@web/src/lib/posts';
8-
import { Metadata } from 'next';
99

1010
export const metadata: Metadata = {
1111
title: 'Blog',
1212
};
13+
1314
async function BlogPage() {
1415
const allPostsData = getSortedPostsData('blog', 'date');
1516
return <BlogPageComponent posts={allPostsData}></BlogPageComponent>;

web/src/app/(content)/(info)/help/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { faCircleQuestion } from '@fortawesome/free-solid-svg-icons';
22
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
3+
import { Metadata } from 'next';
34
import Image from 'next/image';
45
import Link from 'next/link';
56

67
import { getSortedPostsData } from '@web/src/lib/posts';
78
import type { PostType } from '@web/src/lib/posts';
8-
import { Metadata } from 'next';
99

1010
export const metadata: Metadata = {
1111
title: 'Help Center',

web/src/app/(content)/my-songs/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
import { Metadata } from 'next';
12
import { redirect } from 'next/navigation';
23

34
import { checkLogin } from '@web/src/modules/auth/features/auth.utils';
45
import Page from '@web/src/modules/my-songs/components/MySongsPage';
5-
import { Metadata } from 'next';
66

77
export const metadata: Metadata = {
88
title: 'My songs',

web/src/app/(content)/upload/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1+
import { Metadata } from 'next';
12
import { redirect } from 'next/navigation';
23

34
import {
45
checkLogin,
56
getUserData,
67
} from '@web/src/modules/auth/features/auth.utils';
78
import { UploadSongPage } from '@web/src/modules/song-upload/components/client/UploadSongPage';
8-
import { Metadata } from 'next';
99

1010
export const metadata: Metadata = {
1111
title: 'Upload song',

web/src/app/(external)/(auth)/login/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
import { Metadata } from 'next';
12
import { redirect } from 'next/navigation';
23

34
import { LoginPage } from '@web/src/modules/auth/components/loginPage';
45
import { checkLogin } from '@web/src/modules/auth/features/auth.utils';
5-
import { Metadata } from 'next';
66

77
export const metadata: Metadata = {
88
title: 'Sign in',

web/src/app/(external)/(legal)/guidelines/page.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import fs from 'fs';
22
import path from 'path';
33

4-
import { CustomMarkdown } from '@web/src/modules/shared/components/CustomMarkdown';
54
import { Metadata } from 'next';
65

6+
import { CustomMarkdown } from '@web/src/modules/shared/components/CustomMarkdown';
7+
78
export const metadata: Metadata = {
89
title: 'Community Guidelines',
910
};

web/src/app/(external)/(legal)/privacy/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import fs from 'fs';
22
import path from 'path';
33

4-
import { CustomMarkdown } from '@web/src/modules/shared/components/CustomMarkdown';
54
import { Metadata } from 'next';
65

6+
import { CustomMarkdown } from '@web/src/modules/shared/components/CustomMarkdown';
7+
78
export const metadata: Metadata = {
89
title: 'Privacy Policy',
910
};
11+
1012
async function PrivacyPolicyPage() {
1113
const fullPath = path.join('./public/docs/privacy.md');
1214
const fileContents = fs.readFileSync(fullPath, 'utf8');

web/src/app/(external)/(legal)/terms/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import fs from 'fs';
22
import path from 'path';
33

4-
import { CustomMarkdown } from '@web/src/modules/shared/components/CustomMarkdown';
54
import { Metadata } from 'next';
65

6+
import { CustomMarkdown } from '@web/src/modules/shared/components/CustomMarkdown';
7+
78
export const metadata: Metadata = {
89
title: 'Terms of Service',
910
};
11+
1012
async function TermsOfServicePage() {
1113
const fullPath = path.join('./public/docs/terms.md');
1214
const fileContents = fs.readFileSync(fullPath, 'utf8');

web/src/app/(external)/[...not-found]/page.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { notFound } from 'next/navigation';
77
export const metadata: Metadata = {
88
title: 'Page not found',
99
};
10+
1011
export default function NotFound() {
1112
notFound();
1213
}

web/src/modules/song/components/client/SongForm.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
import {
2+
faExclamationCircle,
3+
faExternalLink,
4+
} from '@fortawesome/free-solid-svg-icons';
5+
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
16
import { UploadConst } from '@shared/validation/song/constants';
27
import Link from 'next/link';
38
import { useRouter } from 'next/navigation';
@@ -18,11 +23,6 @@ import {
1823
UploadButton,
1924
} from '../../../shared/components/client/FormElements';
2025
import { useSongProvider } from '../../../song/components/client/context/Song.context';
21-
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
22-
import {
23-
faExclamationCircle,
24-
faExternalLink,
25-
} from '@fortawesome/free-solid-svg-icons';
2626

2727
type SongFormProps = {
2828
type: 'upload' | 'edit';

0 commit comments

Comments
 (0)