🐛 fix: fix typo in Toolbar name

This commit is contained in:
2025-03-12 17:31:07 +00:00
parent 94e6b92929
commit 54e7c239ec
5 changed files with 5 additions and 6 deletions
-1
View File
@@ -1 +0,0 @@
export { default } from './Toobar'
+1 -1
View File
@@ -1,4 +1,4 @@
export { default as Toobar } from './Toobar' export { default as Toolbar } from './Toolbar'
export { default as Footer } from './Footer' export { default as Footer } from './Footer'
export { default as CurriculumItem } from './CurriculumItem' export { default as CurriculumItem } from './CurriculumItem'
+2 -2
View File
@@ -3,7 +3,7 @@ import { Box, Typography } from '@mui/material'
import { ViewportProvider } from 'components/utils/viewport' import { ViewportProvider } from 'components/utils/viewport'
import { AcademyIconLink, DescriptionIconLink, ExternalAppIconLink, GitHubIconLink, VideoIconLink } from 'components/atoms' import { AcademyIconLink, DescriptionIconLink, ExternalAppIconLink, GitHubIconLink, VideoIconLink } from 'components/atoms'
import { Footer, Hero, Toobar, ProjectSpotlight } from 'components/molecules' import { Footer, Hero, Toolbar, ProjectSpotlight } from 'components/molecules'
const MainPage = () => { const MainPage = () => {
React.useEffect(() => { React.useEffect(() => {
@@ -18,7 +18,7 @@ const MainPage = () => {
return ( return (
<ViewportProvider> <ViewportProvider>
<Box aria-label="page" sx={{ flexGrow: 1 }}> <Box aria-label="page" sx={{ flexGrow: 1 }}>
<Toobar position="absolute" sx={{ backgroundColor: 'transparent' }} /> <Toolbar position="absolute" sx={{ backgroundColor: 'transparent' }} />
<Hero scrollTarget={refIITLinfa} /> <Hero scrollTarget={refIITLinfa} />
{/* 1 IIT - Linfa */} {/* 1 IIT - Linfa */}
<ProjectSpotlight <ProjectSpotlight
+2 -2
View File
@@ -1,7 +1,7 @@
import React from 'react' import React from 'react'
import { Box, BoxProps, Container, Divider, Typography } from '@mui/material' import { Box, BoxProps, Container, Divider, Typography } from '@mui/material'
import { Footer, Toobar } from 'components/molecules' import { Footer, Toolbar } from 'components/molecules'
/** /**
* React function component that implements the default page template. * React function component that implements the default page template.
@@ -16,7 +16,7 @@ const Page: React.FC<BoxProps> = ({ title, children, ...props }) => {
return ( return (
<Box sx={{ flexGrow: 1 }} aria-label="page"> <Box sx={{ flexGrow: 1 }} aria-label="page">
<Toobar /> <Toolbar />
{title && ( {title && (
<> <>
<Typography <Typography