Skip to content

Commit 3d69606

Browse files
authored
Merge branch 'main' into refactor/to-scss-blogsearch
2 parents 964b08e + 6163eb3 commit 3d69606

3 files changed

Lines changed: 4 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
181181
- Decorations/Stick
182182
- TwoColumn
183183
- BlogSearch
184+
- Layout
184185
- RelatedPosts
185186
- Extracted :root from themes.scss to globals.scss
186187
- Updated ContactUsForm's checkbox wrapper from div to label to enhance its accessibility
@@ -192,3 +193,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
192193
- home(index) page
193194
- Created a combineClasses function to clean up conditional class handling
194195
- Rename RowAlignLeft to Row
196+
- Remove unessesary stylings from the Layout.

components/layout/Layout/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { heroOptions } from '@/utils/hero-options';
33
import Hero from '@/components/layout/Hero';
44
import Meta from '@/components/layout/Meta';
55
import Footer from '@/components/layout/Footer';
6-
import S from './styles';
76

87
export default function Layout({ children }) {
98
const router = useRouter();
@@ -15,11 +14,11 @@ export default function Layout({ children }) {
1514
return (
1615
<>
1716
<Meta />
18-
<S.Main>
17+
<main>
1918
<Hero {...heroOptions[heroKey]} />
2019
{children}
2120
<Footer />
22-
</S.Main>
21+
</main>
2322
</>
2423
);
2524
}

components/layout/Layout/styles.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)