diff --git a/.eslintrc.json b/.eslintrc.json index 99e8d33e1..0f241fd0b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -14,6 +14,9 @@ "rules": { "no-useless-constructor": "off", "@typescript-eslint/no-empty-function": "off", - "dot-notation": "off" + "dot-notation": "off", + "@typescript-eslint/no-explicit-any": "warn", + "@typescript-eslint/no-unused-vars": "warn", + "@typescript-eslint/no-unused-expressions": "warn" } } diff --git a/projects/social_platform/src/app/office/chat/chat.component.scss b/projects/social_platform/src/app/office/chat/chat.component.scss index 311c45cec..e30034d83 100644 --- a/projects/social_platform/src/app/office/chat/chat.component.scss +++ b/projects/social_platform/src/app/office/chat/chat.component.scss @@ -1,4 +1,6 @@ .page { + margin-top: 30px; + &__bar { margin-bottom: 20px; } diff --git a/projects/social_platform/src/app/office/courses/courses.component.html b/projects/social_platform/src/app/office/courses/courses.component.html index d8faa75eb..f23854695 100644 --- a/projects/social_platform/src/app/office/courses/courses.component.html +++ b/projects/social_platform/src/app/office/courses/courses.component.html @@ -4,7 +4,7 @@
- diff --git a/projects/social_platform/src/app/office/courses/courses.component.scss b/projects/social_platform/src/app/office/courses/courses.component.scss index 53c48f8bc..bfba9dc14 100644 --- a/projects/social_platform/src/app/office/courses/courses.component.scss +++ b/projects/social_platform/src/app/office/courses/courses.component.scss @@ -2,9 +2,42 @@ @use "styles/responsive"; .profile { + display: flex; + flex-direction: column; + align-items: center; + padding-bottom: 100px; + margin-top: 30px; + + @include responsive.apply-desktop { + display: block; + } + &__info { display: grid; - grid-template-columns: 8fr 2fr; column-gap: 20px; + + @include responsive.apply-desktop { + grid-template-columns: 8fr 2fr; + } + } + + &__search { + margin-bottom: 24px; + } + + app-back { + display: none; + + @include responsive.apply-desktop { + display: block; + } + } + + app-soon-card { + display: none; + + @include responsive.apply-desktop { + display: block; + } } } diff --git a/projects/social_platform/src/app/office/courses/list/list.component.scss b/projects/social_platform/src/app/office/courses/list/list.component.scss index f7601a355..255072a90 100644 --- a/projects/social_platform/src/app/office/courses/list/list.component.scss +++ b/projects/social_platform/src/app/office/courses/list/list.component.scss @@ -1,9 +1,13 @@ -.courses { - margin-top: 20px; +@use "styles/responsive"; +.courses { &__list { display: grid; - grid-template-columns: 4fr 4fr; + grid-template-columns: 1fr; grid-gap: 20px; + + @include responsive.apply-desktop { + grid-template-columns: 4fr 4fr; + } } } diff --git a/projects/social_platform/src/app/office/features/nav/nav.component.html b/projects/social_platform/src/app/office/features/nav/nav.component.html index cdf606ec4..7ded39491 100644 --- a/projects/social_platform/src/app/office/features/nav/nav.component.html +++ b/projects/social_platform/src/app/office/features/nav/nav.component.html @@ -2,13 +2,14 @@