Skip to content

Commit baa803c

Browse files
committed
refactor: update imports to use centralized module paths and clean up unused imports across the frontend
1 parent bee7b71 commit baa803c

File tree

75 files changed

+151
-169
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+151
-169
lines changed

apps/frontend/mdx-components.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
p,
1717
pre,
1818
ul,
19-
} from '@web/src/modules/shared/components/CustomMarkdown';
19+
} from '@web/modules/shared/components/CustomMarkdown';
2020

2121
export function useMDXComponents(components: MDXComponents): MDXComponents {
2222
return {

apps/frontend/src/app/(content)/(info)/about/about.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Image from 'next/image';
33
import {
44
Team,
55
TeamMemberCard,
6-
} from '@web/src/modules/shared/components/TeamMemberCard';
6+
} from '@web/modules/shared/components/TeamMemberCard';
77

88
**Note Block World** is the largest public community centered around Minecraft note blocks, developed by the same folks who brought you [Note Block Studio](https://noteblock.studio/). It lets you discover, share and listen to note block music more easily than ever!
99

apps/frontend/src/app/(content)/(info)/about/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Metadata } from 'next';
22

3-
import BackButton from '@web/src/modules/shared/components/client/BackButton';
4-
import { NoteBlockWorldLogo } from '@web/src/modules/shared/components/NoteBlockWorldLogo';
3+
import BackButton from '@web/modules/shared/components/client/BackButton';
4+
import { NoteBlockWorldLogo } from '@web/modules/shared/components/NoteBlockWorldLogo';
55

66
import About from './about.mdx';
77

apps/frontend/src/app/(content)/(info)/blog/[id]/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import Image from 'next/image';
33
import Link from 'next/link';
44
import { notFound } from 'next/navigation';
55

6-
import { PostType, getPostData } from '@web/src/lib/posts';
7-
import { CustomMarkdown } from '@web/src/modules/shared/components/CustomMarkdown';
6+
import { PostType, getPostData } from '@web/lib/posts';
7+
import { CustomMarkdown } from '@web/modules/shared/components/CustomMarkdown';
88

99
type BlogPageProps = {
1010
params: { id: string };

apps/frontend/src/app/(content)/(info)/blog/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { Metadata } from 'next';
44
import Image from 'next/image';
55
import Link from 'next/link';
66

7-
import { getSortedPostsData } from '@web/src/lib/posts';
8-
import type { PostType } from '@web/src/lib/posts';
7+
import { getSortedPostsData } from '@web/lib/posts';
8+
import type { PostType } from '@web/lib/posts';
99

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

apps/frontend/src/app/(content)/(info)/contact/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Metadata } from 'next';
22

3-
import BackButton from '@web/src/modules/shared/components/client/BackButton';
3+
import BackButton from '@web/modules/shared/components/client/BackButton';
44

55
import Contact from './contact.mdx';
66

apps/frontend/src/app/(content)/(info)/help/[id]/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import Image from 'next/image';
33
import Link from 'next/link';
44
import { notFound } from 'next/navigation';
55

6-
import { PostType, getPostData } from '@web/src/lib/posts';
7-
import { CustomMarkdown } from '@web/src/modules/shared/components/CustomMarkdown';
6+
import { PostType, getPostData } from '@web/lib/posts';
7+
import { CustomMarkdown } from '@web/modules/shared/components/CustomMarkdown';
88

99
type HelpPageProps = {
1010
params: { id: string };

apps/frontend/src/app/(content)/(info)/help/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { Metadata } from 'next';
44
import Image from 'next/image';
55
import Link from 'next/link';
66

7-
import { getSortedPostsData } from '@web/src/lib/posts';
8-
import type { PostType } from '@web/src/lib/posts';
7+
import { getSortedPostsData } from '@web/lib/posts';
8+
import type { PostType } from '@web/lib/posts';
99

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

apps/frontend/src/app/(content)/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import '@web/src/app/globals.css';
2-
import NavbarLayout from '@web/src/modules/shared/components/layout/NavbarLayout';
1+
import '@web/app/globals.css';
2+
import NavbarLayout from '@web/modules/shared/components/layout/NavbarLayout';
33

44
export default async function ContentLayout({
55
children,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { Metadata } from 'next';
22
import { redirect } from 'next/navigation';
33

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

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

0 commit comments

Comments
 (0)