Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/generate-llms.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Generate LLMs files

on:
push:
branches:
- dev
workflow_dispatch:

permissions:
contents: write
Expand Down
20 changes: 10 additions & 10 deletions public/keepsimple_/assets/tools/container/dark-bg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 13 additions & 6 deletions src/components/ArticleInfo/ArticleInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,21 @@ const ArticleInfo: FC<ArticleInfoProps> = ({
}, 800);
};

const isExternal =
slug?.startsWith('http://') || slug?.startsWith('https://');

return (
<Link
href={`/articles/${slug}`}
onClick={e => {
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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
.container {
max-width: 100%;
min-height: 360px;
margin: 16px;
margin: 0 16px 20px 16px;
}

.backgroundSvg {
Expand Down
22 changes: 18 additions & 4 deletions src/layouts/ToolsLayout/ToolsLayout.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
Loading