Skip to content

Commit

Permalink
chore: organized imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmeese7 committed Nov 8, 2024
1 parent c368718 commit 77674a2
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 12 deletions.
9 changes: 6 additions & 3 deletions src/sections/About.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
// External imports
import React from "react";
import { Box, Image, Flex } from "rebass/styled-components";
import styled from "styled-components";
import ReactMarkdown from "react-markdown";
import styled from "styled-components";
import { Box, Image, Flex } from "rebass/styled-components";
import { Fade } from "react-awesome-reveal";

// Internal imports
import Section from "../components/Section";
import Triangle from "../components/Triangle";
import components from "../components/MarkdownComponents";
import { useAboutQuery } from "../queries/useAboutQuery";
import { SECTION } from "../utils/constants";
import { useAboutQuery } from "../queries/useAboutQuery";

const About = () => {
const { markdown, logo } = useAboutQuery();
Expand Down
7 changes: 5 additions & 2 deletions src/sections/Employees.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
// External imports
import React, { useEffect } from "react";
import { Fade } from "react-awesome-reveal";

// Internal imports
import Section from "../components/Section";
import { CardContainer } from "../components/Card";
import Triangle from "../components/Triangle";
import Employee from "../components/Employee";
import { useEmployeesQuery } from "../queries/useEmployeesQuery";
import { CardContainer } from "../components/Card";
import { SECTION } from "../utils/constants";
import { useEmployeesQuery } from "../queries/useEmployeesQuery";

// @ts-ignore
import { VHSify } from "../utils/imageGlitch";
Expand Down
5 changes: 4 additions & 1 deletion src/sections/Landing.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
// External imports
import React, { useEffect } from "react";
import { Text } from "rebass/styled-components";
import Section from "../components/Section";

// Internal imports
import ScrollIcon from "../components/ScrollIcon";
import ScrambleLetters from "../utils/scramble";
import Section from "../components/Section";
import { SECTION } from "../utils/constants";
import { getSectionHref } from "../utils/helpers";
import { useLandingPageQuery } from "../queries/useLandingPageQuery";
Expand Down
9 changes: 6 additions & 3 deletions src/sections/Projects.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
// External imports
import React from "react";
import { Fade } from "react-awesome-reveal";

// Internal imports
import Project from "../components/Project";
import Section from "../components/Section";
import { CardContainer } from "../components/Card";
import Triangle from "../components/Triangle";
import Project from "../components/Project";
import { useProjectsQuery } from "../queries/useProjectsQuery";
import { CardContainer } from "../components/Card";
import { SECTION } from "../utils/constants";
import { useProjectsQuery } from "../queries/useProjectsQuery";

const Projects = () => {
const projects = useProjectsQuery();
Expand Down
9 changes: 6 additions & 3 deletions src/sections/Services.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
// External imports
import React from "react";
import { Fade } from "react-awesome-reveal";

// Internal imports
import Section from "../components/Section";
import { CardContainer } from "../components/Card";
import Triangle from "../components/Triangle";
import Service from "../components/Service";
import { useServicesQuery } from "../queries/useServicesQuery";
import Triangle from "../components/Triangle";
import { CardContainer } from "../components/Card";
import { SECTION } from "../utils/constants";
import { useServicesQuery } from "../queries/useServicesQuery";

const Services = () => {
const services = useServicesQuery();
Expand Down

0 comments on commit 77674a2

Please sign in to comment.