+
{props.children}
diff --git a/src/components/Pages/HomePage.module.scss b/src/components/Pages/HomePage.module.scss
new file mode 100644
index 00000000..bdf8a768
--- /dev/null
+++ b/src/components/Pages/HomePage.module.scss
@@ -0,0 +1,3 @@
+.mainContent {
+ padding-top: 100px;
+}
diff --git a/src/components/Pages/HomePage.tsx b/src/components/Pages/HomePage.tsx
index 392280bb..3c14550d 100644
--- a/src/components/Pages/HomePage.tsx
+++ b/src/components/Pages/HomePage.tsx
@@ -5,6 +5,7 @@ import { createSignal, onCleanup, onMount, Show } from 'solid-js'
import { loadPublishedArticles, resetSortedArticles } from '../../stores/zine/articles'
import { loadRandomTopics } from '../../stores/zine/topics'
import { Loading } from '../Loading'
+import styles from './HomePage.module.scss'
export const HomePage = (props: PageProps) => {
const [isLoaded, setIsLoaded] = createSignal(Boolean(props.homeArticles) && Boolean(props.randomTopics))
@@ -23,7 +24,7 @@ export const HomePage = (props: PageProps) => {
onCleanup(() => resetSortedArticles())
return (
-
+
}>
diff --git a/src/components/Topic/Card.module.scss b/src/components/Topic/Card.module.scss
index 4d68d697..617d77c1 100644
--- a/src/components/Topic/Card.module.scss
+++ b/src/components/Topic/Card.module.scss
@@ -28,6 +28,7 @@
@include font-size(2.2rem);
margin-bottom: 1.2rem;
+ margin-top: 0.5rem !important;
}
.topicAvatar {
@@ -104,3 +105,13 @@
text-align: right;
}
}
+
+.topicCompact {
+ .topicTitle {
+ @include font-size(1.7rem);
+ }
+}
+
+.buttonCompact {
+ margin-top: 0.6rem;
+}
diff --git a/src/components/Topic/Card.tsx b/src/components/Topic/Card.tsx
index d8fbff48..01e48246 100644
--- a/src/components/Topic/Card.tsx
+++ b/src/components/Topic/Card.tsx
@@ -21,6 +21,7 @@ interface TopicProps {
additionalClass?: string
isTopicInRow?: boolean
iconButton?: boolean
+ showPublications?: boolean
}
export const TopicCard = (props: TopicProps) => {
@@ -47,6 +48,7 @@ export const TopicCard = (props: TopicProps) => {
class={styles.topic}
classList={{
row: !props.compact && !props.subscribeButtonBottom,
+ [styles.topicCompact]: props.compact,
[styles.topicInRow]: props.isTopicInRow
}}
>
@@ -75,7 +77,7 @@ export const TopicCard = (props: TopicProps) => {
-
+
{props.topic.stat?.shouts +
' ' +
@@ -85,6 +87,8 @@ export const TopicCard = (props: TopicProps) => {
locale() === 'ru' ? ['ов', '', 'а'] : ['s', '', 's']
)}
+
+
{props.topic.stat?.authors +
' ' +
@@ -132,19 +136,30 @@ export const TopicCard = (props: TopicProps) => {
class={styles.controlContainer}
classList={{ 'col-md-3': !props.compact && !props.subscribeButtonBottom }}
>
+ {}
subscribe(true)} class="button--light button--subscribe-topic">
+
}
>
-
diff --git a/src/components/Topic/Full.module.scss b/src/components/Topic/Full.module.scss
index f0c39156..3e953571 100644
--- a/src/components/Topic/Full.module.scss
+++ b/src/components/Topic/Full.module.scss
@@ -1,7 +1,7 @@
.topicHeader {
@include font-size(1.7rem);
- padding-top: 5.8rem;
+ padding-top: 2.8rem;
text-align: center;
h1 {
diff --git a/src/components/Views/AllAuthors.tsx b/src/components/Views/AllAuthors.tsx
index 93a46f36..fa935bdb 100644
--- a/src/components/Views/AllAuthors.tsx
+++ b/src/components/Views/AllAuthors.tsx
@@ -109,6 +109,7 @@ export const AllAuthorsView = (props: Props) => {
subscribed={subscribed(author.slug)}
noSocialButtons={true}
isAuthorsList={true}
+ truncateBio={true}
/>
)}
diff --git a/src/components/Views/Home.tsx b/src/components/Views/Home.tsx
index d1246a86..4d45592f 100644
--- a/src/components/Views/Home.tsx
+++ b/src/components/Views/Home.tsx
@@ -76,14 +76,7 @@ export const HomeView = (props: HomeProps) => {
return (
-
-
-
- }
- />
+
)
})
diff --git a/src/locales/ru.json b/src/locales/ru.json
index a7644c70..979fffde 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -4,6 +4,7 @@
"All": "Все",
"All posts": "Все публикации",
"All topics": "Все темы",
+ "All authors": "Все авторы",
"Authors": "Авторы",
"Back to mainpage": "Вернуться на главную",
"Become an author": "Стать автором",
diff --git a/src/styles/app.scss b/src/styles/app.scss
index fa894ebc..79ba81cb 100644
--- a/src/styles/app.scss
+++ b/src/styles/app.scss
@@ -232,7 +232,6 @@ button {
font-weight: 400;
height: auto;
- margin-top: 0.6rem;
padding: 0.6rem 1.2rem 0.6rem 1rem;
}
@@ -641,7 +640,7 @@ astro-island {
.main-content {
flex: 1 100%;
min-height: 300px;
- padding-top: 100px;
+ padding-top: 120px;
position: relative;
}