Finalize @-path imports
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
import { Link } from "react-router-dom";
|
||||
import TitleImage from "../../assets/img/SIK_RGB_W_side.png";
|
||||
import TitleImage from "@assets/img/SIK_RGB_W_side.png";
|
||||
import "./AdminHeader.scss";
|
||||
|
||||
export interface AdminHeaderProps { }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
import "./ColorDiv.scss";
|
||||
import { Colors, colorToClass, bgColorToClass, hoverColorToClass, bgHoverColorToClass } from "../../theme/colors";
|
||||
import { Colors, colorToClass, bgColorToClass, hoverColorToClass, bgHoverColorToClass } from "@theme/colors";
|
||||
import classNames from "classnames";
|
||||
|
||||
export interface ColorDivProps extends React.HTMLAttributes<HTMLDivElement> {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
import "./CommitteeContainer.scss";
|
||||
import { Occupation } from "../../models/Contacts";
|
||||
import { Occupation } from "@models/Contacts";
|
||||
import ContactCard from "../ContactCard/ContactCard";
|
||||
|
||||
export interface CommitteeContainerProps {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import "./ContactCard.scss";
|
||||
import blank_profile from "../../assets/img/blank_profile.png";
|
||||
import { Role } from "../../models/Contacts";
|
||||
import blank_profile from "@assets/img/blank_profile.png";
|
||||
import { Role } from "@models/Contacts";
|
||||
|
||||
export interface ContactCardProps {
|
||||
first_name: string;
|
||||
|
||||
@@ -4,7 +4,7 @@ import "./Header.scss";
|
||||
import NavbarDropdownLink from "../NavbarDropdownLink/NavbarDropdownLink";
|
||||
import NavbarChildLink from "../NavbarChildLink/NavbarChildLink";
|
||||
import Navigation from "../Navigation";
|
||||
import TitleImage from "../../assets/img/SIK_RGB_W_side.png";
|
||||
import TitleImage from "@assets/img/SIK_RGB_W_side.png";
|
||||
import classNames from "classnames";
|
||||
import throttle from "lodash/throttle";
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import shortid from "shortid";
|
||||
import OptionsWidget from "./OptionsWidget";
|
||||
import { DragDropContext, Droppable } from "react-beautiful-dnd";
|
||||
import { Question, InputProps, optionTypes } from "."
|
||||
import AddIcon from "../../assets/img/add-icon.png";
|
||||
import AddIcon from "@assets/img/add-icon.png";
|
||||
import "./SignupQuestionsWidget.scss";
|
||||
import TypeWidget from "./TypeWidget";
|
||||
import QuestionList from "./QuestionList";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
import "./TextAnchor.scss";
|
||||
import { Colors, colorToClass, hoverColorToClass } from "../../theme/colors";
|
||||
import { Colors, colorToClass, hoverColorToClass } from "@theme/colors";
|
||||
import Anchor from "../Anchor";
|
||||
import classNames from "classnames";
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import React from "react";
|
||||
import { Helmet } from "react-helmet";
|
||||
import "./ContactsPage.scss";
|
||||
import { StaticContext } from "../server/StaticContext";
|
||||
import { StaticContext } from "@server/StaticContext";
|
||||
import PageSection from "@components/PageSection";
|
||||
import { getContacts, Occupation, Committee, getCommittees } from "../models/Contacts";
|
||||
import { getContacts, Occupation, Committee, getCommittees } from "@models/Contacts";
|
||||
import CommitteeContainer from "@components/CommitteeContainer";
|
||||
import TextAnchor from "@components/TextAnchor/index";
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from "react";
|
||||
import { Helmet } from "react-helmet";
|
||||
import "./EventPage.scss";
|
||||
import { Event, getEvent } from "../models/Event";
|
||||
import { Event, getEvent } from "@models/Event";
|
||||
import { RouteComponentProps } from "react-router-dom";
|
||||
import Button, { ButtonType } from "@components/Button";
|
||||
import Anchor from "@components/Anchor";
|
||||
|
||||
@@ -2,8 +2,8 @@ import React from "react";
|
||||
import { Helmet } from "react-helmet";
|
||||
import Form from "react-jsonschema-form";
|
||||
import "./SignUpPage.scss";
|
||||
import { getForm, SignupForm } from "../models/SignupForm";
|
||||
import { createSignup, Signup } from "../models/Signup";
|
||||
import { getForm, SignupForm } from "@models/SignupForm";
|
||||
import { createSignup, Signup } from "@models/Signup";
|
||||
import PageSection from "@components/PageSection";
|
||||
import { Question } from "@components/SignupQuestionsWidget";
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import { Helmet } from "react-helmet";
|
||||
import { Link } from "react-router-dom";
|
||||
import "./SignupCreatePage.scss";
|
||||
import Form from "react-jsonschema-form";
|
||||
import { createForm, getForm, updateForm, SignupForm } from "../models/SignupForm";
|
||||
import { createForm, getForm, updateForm, SignupForm } from "@models/SignupForm";
|
||||
import DatetimeWidget from "@components/DatetimeWidget";
|
||||
import SignupQuestionsWidget from "@components/SignupQuestionsWidget";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user