Refactor code style for consistency and readability

- Updated import statements to use double quotes instead of single quotes across multiple files.
- Reformatted JSX return statements for better alignment and readability.
- Added missing newlines at the end of files where necessary.
- Adjusted component structure for improved clarity in the Landing, Blog, BestPractices, and Projects pages.
- Enhanced error boundary component for better error handling.
- Updated theme overrides for Material-UI components to maintain consistent styling.
This commit is contained in:
Dan Dobos
2025-10-17 17:13:54 +02:00
parent 00324b9667
commit 4aa5040ef5
64 changed files with 20206 additions and 22302 deletions
+21 -21
View File
@@ -1,31 +1,31 @@
import React, { useContext } from 'react';
import React, { useContext } from "react";
import { ThemeProvider } from '@mui/material/styles';
import { ThemeProvider } from "@mui/material/styles";
import { ColorModeContext } from 'App';
import { LandingWhite } from 'themes/Theme';
import FullScreenContainer from 'layouts/common/fullScreenContainer';
import { ColorModeContext } from "App";
import { LandingWhite } from "themes/Theme";
import FullScreenContainer from "layouts/common/fullScreenContainer";
import BackToTop from '../common/backToTop';
import Header from './components/header';
import BackToTop from "../common/backToTop";
import Header from "./components/header";
const LandingLayout = (props) => {
const { children } = props;
const { children } = props;
const colorMode = useContext(ColorModeContext);
const colorMode = useContext(ColorModeContext);
return (
<ColorModeContext.Provider value={colorMode}>
<ThemeProvider theme={LandingWhite}>
<div id='back-to-top-anchor' />
<Header />
<FullScreenContainer>
{children}
<BackToTop />
</FullScreenContainer>
</ThemeProvider>
</ColorModeContext.Provider>
);
return (
<ColorModeContext.Provider value={colorMode}>
<ThemeProvider theme={LandingWhite}>
<div id="back-to-top-anchor" />
<Header />
<FullScreenContainer>
{children}
<BackToTop />
</FullScreenContainer>
</ThemeProvider>
</ColorModeContext.Provider>
);
};
export default LandingLayout;