♻️ refactor: use ESM import notation
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user