Skip to content

Commit 5ee85e2

Browse files
hermannmlarwaa
authored andcommitted
change src imports to use @
1 parent 4b03787 commit 5ee85e2

File tree

35 files changed

+43
-60
lines changed

35 files changed

+43
-60
lines changed

frontend/src/components/Title/variants/styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { CSSProperties } from "@emotion/serialize";
22
import { Box } from "@mui/material";
33
import { styled } from "@mui/material/styles";
44

5-
import { HEADER_DESKTOP_HEIGHT, HEADER_MOBILE_HEIGHT } from "src/theme/constants";
5+
import { HEADER_DESKTOP_HEIGHT, HEADER_MOBILE_HEIGHT } from "@/theme/constants";
66

77
type RootProps = {
88
disableGutters?: boolean;

frontend/src/components/pages/about/AboutSidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Box } from "@mui/material";
22

3-
import { HEADER_DESKTOP_HEIGHT } from "src/theme/constants";
3+
import { HEADER_DESKTOP_HEIGHT } from "@/theme/constants";
44

55
import { NavigationSidebar } from "../../";
66

frontend/src/components/pages/profile/ProfileCard/variants/PersonalCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Grid, Skeleton, Typography } from "@mui/material";
22

3-
import { User } from "src/types/users";
3+
import { User } from "@/types/users";
44
import Profile from "~/public/illustrations/Profile.svg";
55

66
import ProfileCardBase from "./ProfileCardBase";

frontend/src/components/pages/profile/UserForm/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import {
2929
} from "@/components/pages/profile/UserForm/helpers";
3030
import { UPDATE_USER } from "@/graphql/users/mutations";
3131
import { EDIT_USER_QUERY } from "@/graphql/users/queries";
32-
import { EditUser } from "src/types/users";
32+
import { EditUser } from "@/types/users";
3333

3434
type Props = {
3535
kind: "register" | "update";

frontend/src/layouts/styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { styled } from "@mui/material/styles";
22

3-
import { HEADER_DESKTOP_HEIGHT, HEADER_MOBILE_HEIGHT } from "src/theme/constants";
3+
import { HEADER_DESKTOP_HEIGHT, HEADER_MOBILE_HEIGHT } from "@/theme/constants";
44

55
export const RootStyle = styled("div")(({ theme }) => ({
66
marginTop: HEADER_MOBILE_HEIGHT,

frontend/src/lib/theme.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
import Head from "next/head";
1010
import React, { useMemo } from "react";
1111

12-
import { getDesignTokens } from "src/theme";
12+
import { getDesignTokens } from "@/theme";
1313

1414
interface Props {
1515
children: React.ReactNode;

frontend/src/pages/-/health/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { GetServerSideProps, InferGetServerSidePropsType } from "next";
33

44
import { GET_USER_INFO } from "@/graphql/users/queries";
55
import { addApolloState, initializeApollo } from "@/lib/apolloClient";
6-
import { User } from "src/types/users";
6+
import { User } from "@/types/users";
77

88
const HealthPage = ({ user }: InferGetServerSidePropsType<typeof getServerSideProps>): JSX.Element => {
99
const { data } = useQuery<{ user: User }>(GET_USER_INFO, {

frontend/src/pages/about/board.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import MemberCard from "@/components/pages/about/MemberCard";
66
import { BoardMember } from "@/components/pages/about/MemberCard/types";
77
import Template from "@/components/pages/about/Template";
88
import Layout from "@/layouts/Layout";
9-
10-
import { NextPageWithLayout } from "../_app";
9+
import { NextPageWithLayout } from "@/pages/_app";
1110

1211
const BoardPage: NextPageWithLayout = () => {
1312
const boardMembers: BoardMember[] = [

frontend/src/pages/about/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ import React from "react";
33

44
import Template from "@/components/pages/about/Template";
55
import Layout from "@/layouts/Layout";
6-
7-
import { NextPageWithLayout } from "../_app";
6+
import { NextPageWithLayout } from "@/pages/_app";
87

98
const AboutPage: NextPageWithLayout = () => {
109
return (

frontend/src/pages/about/organization.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ import React from "react";
1010
import TabPanel from "@/components/pages/about/TabPanel";
1111
import Template from "@/components/pages/about/Template";
1212
import Layout from "@/layouts/Layout";
13+
import { NextPageWithLayout } from "@/pages/_app";
1314
import { getSortedPosts } from "@/utils/posts";
1415

15-
import { NextPageWithLayout } from "../_app";
16-
1716
type Post = {
1817
frontmatter: {
1918
title: string;

0 commit comments

Comments
 (0)