diff --git a/.github/release.yaml b/.github/release.yaml deleted file mode 100644 index 0f450f9..0000000 --- a/.github/release.yaml +++ /dev/null @@ -1,20 +0,0 @@ -changelog: - categories: - - title: 🔒 Secure Changes - labels: - - 🔒 Secure Changes - - title: 🚨 Breaking Changes - labels: - - 🚨 Breaking Changes - - title: 🚨 Breaking Changes - labels: - - 🚨 Breaking Changes - - title: 🎉 Features - labels: - - 💡 Feature - - title: 🔧 Fixes - labels: - - 🐞 Bug - - title: Other Changes - labels: - - "*" diff --git a/.github/workflows/conventional-label.yaml b/.github/workflows/conventional-label.yaml deleted file mode 100644 index ec319d0..0000000 --- a/.github/workflows/conventional-label.yaml +++ /dev/null @@ -1,17 +0,0 @@ -name: Conventional Release Labels - -on: - pull_request_target: - types: [opened, edited] - -permissions: - pull-requests: write - contents: read - -jobs: - label: - runs-on: ubuntu-latest - steps: - - uses: bcoe/conventional-release-labels@v1 - with: - type_labels: '{"feat": "💡 Feature", "fix": "🐞 Bug", "breaking": "🚨 Breaking Changes", "docs": "📖 Documentation", "style": "💅 Style", "refactor": "🚀 Performerce", "perf": "🚀 Performerce", "test": "🧪 Test"}' diff --git a/.vscode/settings.json b/.vscode/settings.json index 13c4389..79350cb 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -11,6 +11,7 @@ "Swipeable", "swiper", "testid", + "vitnode", "webp" ], "stylelint.validate": ["css", "scss"], diff --git a/messages/en.json b/messages/en.json index e94da66..7fea521 100644 --- a/messages/en.json +++ b/messages/en.json @@ -28,6 +28,7 @@ "home": { "title": "Coding in The Future", "desc": "Web Developer and Web Designer creating amazing applications by combining code, design and users.", + "vitnode": "🚀 Vtinode CMS is now available in alpha version! 🚀", "buttons": { "products": "Check Products", "contact": "Contact Me" diff --git a/messages/pl.json b/messages/pl.json index f4577f8..e266667 100644 --- a/messages/pl.json +++ b/messages/pl.json @@ -28,6 +28,7 @@ "home": { "title": "Coding in The Future", "desc": "Web Developer i Web Designer tworzący niesamowite aplikacje łącząc kod, projekt oraz użytkowników.", + "vitnode": "🚀 Vitnode CMS jest już dostępny w wersji alpha! 🚀", "buttons": { "products": "Sprawdź produkty", "contact": "Skontaktuj się ze mną" diff --git a/views/home/sections/main/MainHomeSection.module.scss b/views/home/sections/main/MainHomeSection.module.scss index e696e15..74c99da 100644 --- a/views/home/sections/main/MainHomeSection.module.scss +++ b/views/home/sections/main/MainHomeSection.module.scss @@ -4,7 +4,7 @@ --layout-max-width: 52rem; @include mobile { - padding: calc(var(--header-height) + 4rem) 1rem 8rem; + padding: calc(var(--header-height) + 2rem) 1rem 2rem; } position: relative; @@ -14,7 +14,7 @@ align-items: center; justify-content: center; - padding: calc(var(--header-height) + 8rem) 1rem 10rem; + padding: calc(var(--header-height) + 8rem) 1rem 8rem; text-align: center; } @@ -164,3 +164,30 @@ } } } + +.vitnode { + margin-bottom: 2rem; + padding: 0.75rem 1rem; + + color: rgb(var(--button-primary-color)); + + background-color: rgb(var(--primary) / 20%); + border: 1px solid rgb(var(--button-primary-border)); + border-radius: var(--radius); + + transition: + background-color var(--animation), + border-color var(--animation), + color var(--animation); + + &:hover { + color: rgb(var(--button-primary-hover-color)); + text-decoration: none; + background-color: rgb(var(--button-primary-hover) / 40%); + border-color: rgb(var(--button-primary-hover-border)); + } + + &_bold { + font-weight: bold; + } +} diff --git a/views/home/sections/main/MainHomeSection.tsx b/views/home/sections/main/MainHomeSection.tsx index 32be134..15805bb 100644 --- a/views/home/sections/main/MainHomeSection.tsx +++ b/views/home/sections/main/MainHomeSection.tsx @@ -3,15 +3,26 @@ import cx from 'clsx'; import { Button } from '@/components/button/Button'; import style from './MainHomeSection.module.scss'; +import { Link } from '@/i18n'; export const MainHomeSection = () => { const t = useTranslations('home'); return ( + + {t.rich('vitnode', { + bold: text => {text} + })} + + {t('title')} {t('desc')} - {t('buttons.products')} diff --git a/views/products/item/ItemProducts.module.scss b/views/products/item/ItemProducts.module.scss index 36378a0..7e045f8 100644 --- a/views/products/item/ItemProducts.module.scss +++ b/views/products/item/ItemProducts.module.scss @@ -69,10 +69,10 @@ > p { overflow: hidden; display: -webkit-box; + -webkit-box-orient: vertical; color: rgb(var(--text-secondary-color)); - -webkit-box-orient: vertical; -webkit-line-clamp: 2; } }
{t('desc')}