File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed
src/features/introduction/components/introduction-article Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 33import React from "react" ;
44import { getIntroductionContent } from "@/features/localization/services/ui-language-content.service" ;
55import { ArticleComponent } from "@/features/common/components/article/article.component" ;
6+ import styles from "./introduction-article.module.scss" ;
7+ import { SidebarNavComponent } from "../sidebar-nav/sidebar-nav.component" ;
68
79interface IntroductionArticleComponentProps {
810 languageCode : string ;
@@ -11,11 +13,12 @@ interface IntroductionArticleComponentProps {
1113export const IntroductionArticleComponent : React . FC <
1214 IntroductionArticleComponentProps
1315> = ( { languageCode } ) => {
14- const { Component : Introduction } = getIntroductionContent ( { languageCode } ) ;
16+ const Introduction = getIntroductionContent ( { languageCode } ) ;
1517
1618 return (
17- < ArticleComponent >
18- < Introduction />
19- </ ArticleComponent >
19+ < div className = { styles . container } >
20+ < SidebarNavComponent languageCode = { languageCode } />
21+ < ArticleComponent > { Introduction } </ ArticleComponent >
22+ </ div >
2023 ) ;
2124} ;
Original file line number Diff line number Diff line change 1+ .container {
2+ min-height : 100vh ;
3+ display : flex ;
4+ flex-direction : row
5+ }
6+
7+ @media (max-width : 768px ) {
8+ .container {
9+ flex-direction : column ;
10+ }
11+ }
You can’t perform that action at this time.
0 commit comments