diff --git a/.github/workflows/generate-llms.yml b/.github/workflows/generate-llms.yml
index f314d51..094b553 100644
--- a/.github/workflows/generate-llms.yml
+++ b/.github/workflows/generate-llms.yml
@@ -1,9 +1,7 @@
name: Generate LLMs files
on:
- push:
- branches:
- - dev
+ workflow_dispatch:
permissions:
contents: write
diff --git a/public/keepsimple_/assets/tools/container/dark-bg.svg b/public/keepsimple_/assets/tools/container/dark-bg.svg
index c006fe0..0abec44 100644
--- a/public/keepsimple_/assets/tools/container/dark-bg.svg
+++ b/public/keepsimple_/assets/tools/container/dark-bg.svg
@@ -1,10 +1,10 @@
-
+
+
\ No newline at end of file
diff --git a/src/components/ArticleInfo/ArticleInfo.tsx b/src/components/ArticleInfo/ArticleInfo.tsx
index 06ea817..1bc68da 100644
--- a/src/components/ArticleInfo/ArticleInfo.tsx
+++ b/src/components/ArticleInfo/ArticleInfo.tsx
@@ -54,14 +54,21 @@ const ArticleInfo: FC = ({
}, 800);
};
+ const isExternal =
+ slug?.startsWith('http://') || slug?.startsWith('https://');
+
return (
{
- e.preventDefault();
- handleClick(e);
- }}
- rel="noopener noreferrer"
+ href={isExternal ? slug : `/articles/${slug}`}
+ {...(isExternal
+ ? { target: '_blank', rel: 'noopener noreferrer' }
+ : {
+ onClick: e => {
+ e.preventDefault();
+ handleClick(e);
+ },
+ rel: 'noopener noreferrer',
+ })}
className={cn(styles.articleInfoLink, {
[styles.russianVersion]: locale === 'ru',
[styles.darkTheme]: darkTheme,
diff --git a/src/components/tools/ToolContainer/ToolContainer.module.scss b/src/components/tools/ToolContainer/ToolContainer.module.scss
index 625b09f..257328d 100644
--- a/src/components/tools/ToolContainer/ToolContainer.module.scss
+++ b/src/components/tools/ToolContainer/ToolContainer.module.scss
@@ -260,7 +260,7 @@
.container {
max-width: 100%;
min-height: 360px;
- margin: 16px;
+ margin: 0 16px 20px 16px;
}
.backgroundSvg {
diff --git a/src/layouts/ToolsLayout/ToolsLayout.module.scss b/src/layouts/ToolsLayout/ToolsLayout.module.scss
index 9b8c9d3..311e0fd 100644
--- a/src/layouts/ToolsLayout/ToolsLayout.module.scss
+++ b/src/layouts/ToolsLayout/ToolsLayout.module.scss
@@ -62,29 +62,43 @@
right: -131px;
}
+@media (max-width: 1140px) {
+ .contentInner {
+ justify-content: center;
+ }
+}
+
@media (max-width: 768px) {
.layout {
margin-top: 54px;
}
+ .decorText1,
+ .decorText2,
+ .decorText3,
+ .decorText4 {
+ width: max-content;
+ }
+
.decorText1 {
- top: 449px;
+ top: 431px;
left: 16px;
}
.decorText2 {
- top: 918px;
+ left: unset;
+ top: 884px;
right: 20px;
}
.decorText3 {
- top: 917px;
+ top: 1335px;
left: 6px;
}
.decorText4 {
top: unset;
- bottom: 454px;
+ bottom: 451px;
right: 93px;
}