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 3
3
import React from "react" ;
4
4
import { getIntroductionContent } from "@/features/localization/services/ui-language-content.service" ;
5
5
import { 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" ;
6
8
7
9
interface IntroductionArticleComponentProps {
8
10
languageCode : string ;
@@ -11,11 +13,12 @@ interface IntroductionArticleComponentProps {
11
13
export const IntroductionArticleComponent : React . FC <
12
14
IntroductionArticleComponentProps
13
15
> = ( { languageCode } ) => {
14
- const { Component : Introduction } = getIntroductionContent ( { languageCode } ) ;
16
+ const Introduction = getIntroductionContent ( { languageCode } ) ;
15
17
16
18
return (
17
- < ArticleComponent >
18
- < Introduction />
19
- </ ArticleComponent >
19
+ < div className = { styles . container } >
20
+ < SidebarNavComponent languageCode = { languageCode } />
21
+ < ArticleComponent > { Introduction } </ ArticleComponent >
22
+ </ div >
20
23
) ;
21
24
} ;
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