@@ -1,9 +1,6 @@
.wrapModelTitle {
- margin-bottom: 20px;
- margin-top: 15px;
@media (max-width: 768px) {
margin: 0;
- margin-top: 15px;
}
.bigTitle {
min-width: max-content !important;
@@ -16,16 +16,31 @@
}
}
+.staticTabsWrapper {
+ display: flex;
+ align-items: center;
+ width: calc(24.5% + 2px);
+ margin-left: auto;
+ margin-right: calc(3%);
+ margin-top: 0;
+}
+
.header {
- width: 70%;
- margin-bottom: 50px;
+ display: flex;
+ align-items: center;
+ width: 100%;
+ gap: 22px;
+ margin: 14px 0;
+
+ > *:first-child {
+ min-width: 200px;
+ }
@media screen and (max-width: 768px) {
width: 100%;
- margin-bottom: 0px;
+ gap: 12px;
}
}
-
@keyframes fadein {
0% {
opacity: 0;
@@ -41,16 +56,12 @@
.icon {
}
+
.tags {
- min-width: 100%;
display: flex;
gap: 8px;
align-items: center;
justify-content: flex-end;
-
- @media screen and (max-width: 768px) {
- justify-content: flex-start;
- }
}
.tag {
@@ -133,8 +133,8 @@ const AudioModelPage: NextPageWithLayout = () => {
title={botParams ? botParams.title : 'Загрузка...'}
type={'Аудио'}
linkBack={'/audio'}
- rightSlot={
-
+ />
+
{botParams &&
botParams.tags.map((tag, index) => (
@@ -144,9 +144,18 @@ const AudioModelPage: NextPageWithLayout = () => {
))}
- }
- />
+ {desktop && (
+
+
+ )}
+
+ {!desktop && (
+
+
+
+ )}
+
{
-
-
-
{desktop && (
{botParams?.versions && botParams.versions.length !== 0 ? (
@@ -208,34 +208,34 @@ const Page: NextPageWithLayout = () => {
- {botParams &&
- botParams.tags.map((tag, index) => (
-
-
- {tag.title}
-
- ))}
-
- }
type={'Чат-боты'}
linkBack={'/chat-bot'}
/>
- {!desktop && (
+
+ {botParams &&
+ botParams.tags.map((tag, index) => (
+
+
+ {tag.title}
+
+ ))}
+
+ {desktop && }
+
+
+ {desktop && (
+
+
+
+ )}
+
+ {!desktop && (
)}
-
- {desktop && (
-
-
-
- )}
-
-
+ {!desktop && }
@@ -12,23 +12,18 @@
.header {
display: flex;
- align-items: flex-start;
- width: calc(100%);
+ align-items: center;
+ width: 100%;
gap: 22px;
+ margin: 14px 0;
> *:first-child {
- flex: 1;
min-width: 200px;
}
@media screen and (max-width: 768px) {
width: 100%;
- flex-direction: column;
gap: 0;
-
- > *:first-child {
- flex: none;
- }
}
}
@@ -81,15 +76,10 @@
}
.tags {
- min-width: 100%;
display: flex;
gap: 8px;
align-items: center;
justify-content: flex-end;
-
- @media screen and (max-width: 768px) {
- justify-content: flex-start;
- }
}
.main {
@@ -17,12 +17,19 @@
}
.header {
- width: 70%;
- margin-bottom: 50px;
+ display: flex;
+ align-items: center;
+ width: 100%;
+ gap: 22px;
+ margin: 14px 0;
+
+ > *:first-child {
+ min-width: 200px;
+ }
@media screen and (max-width: 768px) {
width: 100%;
- margin-bottom: 0px;
+ gap: 12px;
}
}
@@ -38,38 +45,20 @@
}
}
-// .blocked {
-// display: flex;
-// align-items: center;
-// justify-content: center;
-// background-color: white;
-// border-radius: 100px;
-// padding-right: 20px;
-// padding: 8px 12px;
-// width: max-content;
-
-// span {
-// color: #ff2372;
-// font-weight: 500;
-// padding-left: 10px;
-// font-size: 14px;
-// width: max-content;
-// }
-// }
-
-.icon {
-}
-
.tags {
- min-width: 100%;
display: flex;
gap: 8px;
align-items: center;
justify-content: flex-end;
+}
- @media screen and (max-width: 768px) {
- justify-content: flex-start;
- }
+.staticTabsWrapper {
+ display: flex;
+ align-items: center;
+ width: calc(24.5% + 2px);
+ margin-left: auto;
+ margin-right: calc(3%);
+ margin-top: 0;
}
.tag {
@@ -123,8 +123,8 @@ const ImageModelPage: NextPageWithLayout = () => {
title={botParams ? botParams.title : 'Загрузка...'}
type={'Изображения'}
linkBack={'/images'}
- rightSlot={
-
+ />
+
{botParams &&
botParams.tags.map((tag, index) => (
@@ -133,10 +133,18 @@ const ImageModelPage: NextPageWithLayout = () => {
{tag.title}
))}
-
- }
- />
+
+ {desktop && (
+
+
+
+ )}
+ {!desktop && (
+
+
+
+ )}
{
sx={{
marginBottom: desktop ? 0 : 2,
width: desktop ? '97%' : '100%',
- marginTop: desktop ? 3 : '15px',
}}
>
{
-
-
-
{desktop && (
{botParams?.versions && botParams.versions.length !== 0 ? (
@@ -16,13 +16,30 @@
}
}
+
+.staticTabsWrapper {
+ display: flex;
+ align-items: center;
+ width: calc(24.5% + 2px);
+ margin-left: auto;
+ margin-right: calc(3%);
+ margin-top: 0;
+}
+
.header {
- width: 70%;
- margin-bottom: 50px;
+ display: flex;
+ align-items: center;
+ width: 100%;
+ gap: 22px;
+ margin: 14px 0;
+
+ > *:first-child {
+ min-width: 200px;
+ }
@media screen and (max-width: 768px) {
width: 100%;
- margin-bottom: 0px;
+ gap: 12px;
}
}
@@ -39,15 +56,10 @@
}
.tags {
- min-width: 100%;
display: flex;
gap: 8px;
align-items: center;
justify-content: flex-end;
-
- @media screen and (max-width: 768px) {
- justify-content: flex-start;
- }
}
.tag {
@@ -131,8 +131,8 @@ const VideoModelPage: NextPageWithLayout = () => {
title={botParams ? botParams.title : 'Загрузка...'}
type={'Видео'}
linkBack={'/videos'}
- rightSlot={
-
+ />
+
{botParams &&
botParams.tags.map((tag, index) => (
@@ -142,9 +142,18 @@ const VideoModelPage: NextPageWithLayout = () => {
))}
- }
- />
+ {desktop && (
+
+
+
+ )}
+ {!desktop && (
+
+
+
+ )}
+
{
)}
-
-
-
{desktop && (
{botParams?.versions && botParams.versions.length !== 0 ? (
@@ -13,17 +13,6 @@
position: relative;
display: flex;
align-items: center;
-
- &::before {
- content: '';
- position: absolute;
- top: 0;
- right: 100%;
- width: 40px;
- height: 100%;
- background: linear-gradient(to right, transparent, var(--new-ui-main-color));
- pointer-events: none;
- }
}
.createButton {
@@ -37,10 +26,6 @@
margin-top: 3px;
}
-.wrapDesktop {
- margin: 0 0 15px 0;
-}
-
.wrapMobile {
margin: 15px 0 0;
}
@@ -48,7 +33,7 @@
.wrap {
margin-left: auto;
width: fit-content;
- max-width: 70%;
+ max-width: 50%;
background-color: var(--new-ui-main-color);
border-radius: 15px;
padding: 4px;