♻️ refactor: use ESM import notation
This commit is contained in:
@@ -4,7 +4,7 @@ import { Box, Link, Stack, Typography } from '@mui/material'
|
||||
import PolicyIcon from '@mui/icons-material/Policy'
|
||||
import CookieIcon from '@mui/icons-material/Cookie'
|
||||
|
||||
import { EmailIconLink, GitHubIconLink, LinkedInIconLink } from 'components/atoms'
|
||||
import { EmailIconLink, GitHubIconLink, LinkedInIconLink } from 'components/atoms/IconLinks/index.js'
|
||||
import CookieConsent from 'components/molecules/CookieConsent/index.js'
|
||||
|
||||
type FooterProps = {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import React from 'react'
|
||||
import { Avatar, Box, IconButton, Stack, Typography } from '@mui/material'
|
||||
import ExpandMore from '@mui/icons-material/ExpandMore'
|
||||
|
||||
import { EmailIconLink, GitHubIconLink, LinkedInIconLink } from 'components/atoms'
|
||||
import { ExpandMore } from '@mui/icons-material'
|
||||
import { EmailIconLink, GitHubIconLink, LinkedInIconLink } from 'components/atoms/IconLinks/index.js'
|
||||
|
||||
const Hero = (props: { scrollTarget?: React.ForwardedRef<HTMLSelectElement> }) => {
|
||||
return (
|
||||
|
||||
@@ -3,7 +3,7 @@ import DraftsIcon from '@mui/icons-material/Drafts'
|
||||
import LinkedInIcon from '@mui/icons-material/LinkedIn'
|
||||
import GitHubIcon from '@mui/icons-material/GitHub'
|
||||
|
||||
import { Page } from 'components/templates'
|
||||
import { Page } from 'components/templates/index.js'
|
||||
|
||||
interface ListItemProps {
|
||||
children?: React.ReactNode
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Box, Divider, Link, Stack, Table, TableCell, TableRow, Typography } from '@mui/material'
|
||||
|
||||
import { Award, ExternalIconLink, Extracurricular, Publication, SectionHeader, SectionSubheader } from 'components/atoms'
|
||||
import { CurriculumItem } from 'components/molecules'
|
||||
import { Page } from 'components/templates'
|
||||
import { Award, ExternalIconLink, Extracurricular, Publication, SectionHeader, SectionSubheader } from 'components/atoms/index.js'
|
||||
import { CurriculumItem } from 'components/molecules/index.js'
|
||||
import { Page } from 'components/templates/index.js'
|
||||
|
||||
const Curriculum = () => {
|
||||
return (
|
||||
|
||||
@@ -2,8 +2,8 @@ import React from 'react'
|
||||
import { Box, Stack, Typography } from '@mui/material'
|
||||
|
||||
import { ViewportProvider } from 'components/utils/viewport'
|
||||
import { AcademyIconLink, DescriptionIconLink, ExternalAppIconLink, GitHubIconLink, VideoIconLink } from 'components/atoms'
|
||||
import { Footer, Hero, Toolbar, ProjectSpotlight } from 'components/molecules'
|
||||
import { AcademyIconLink, DescriptionIconLink, ExternalAppIconLink, GitHubIconLink, VideoIconLink } from 'components/atoms/index.js'
|
||||
import { Footer, Hero, Toolbar, ProjectSpotlight } from 'components/molecules/index.js'
|
||||
|
||||
const MainPage = () => {
|
||||
React.useEffect(() => {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Box, Divider, Link, Typography } from '@mui/material'
|
||||
|
||||
import { GitHubIconLink, DescriptionIconLink, VideoIconLink, AcademyIconLink, ExternalAppIconLink } from 'components/atoms'
|
||||
import { Project } from 'components/molecules'
|
||||
import { Page } from 'components/templates'
|
||||
import { GitHubIconLink, DescriptionIconLink, VideoIconLink, AcademyIconLink, ExternalAppIconLink } from 'components/atoms/index.js'
|
||||
import { Project } from 'components/molecules/index.js'
|
||||
import { Page } from 'components/templates/index.js'
|
||||
|
||||
const ProjectsPage = () => {
|
||||
return (
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React from 'react'
|
||||
import { Box, BoxProps, Container, Divider, Typography } from '@mui/material'
|
||||
|
||||
import { Footer, Toolbar } from 'components/molecules'
|
||||
import { Footer, Toolbar } from 'components/molecules/index.js'
|
||||
|
||||
interface PageProps extends BoxProps {
|
||||
showCookieConsent?: boolean
|
||||
|
||||
Reference in New Issue
Block a user