ソースを参照

button ajdust

dev
Pavle Golubovic 3年前
コミット
e6c24f88bc
2個のファイルの変更3行の追加3行の削除
  1. 1
    1
      frontend/src/components/root/CustomLink.jsx
  2. 2
    2
      frontend/src/styles/buttons.css

+ 1
- 1
frontend/src/components/root/CustomLink.jsx ファイルの表示

@@ -9,7 +9,7 @@ const CustomLink = ({href, downloadFile, bg, txt, children}) => {
// {context}
// </a>
<Link {...{
className: 'btn-primary w-fit items-center px-[72px] py-[14px] n-paragraph-title text-white rounded-[16px]' ,
className: 'btn-primary w-fit items-center n-paragraph-title text-white rounded-[16px]' ,
to: href,
target: '_blank',
...(downloadFile && {download: downloadFile}),

+ 2
- 2
frontend/src/styles/buttons.css ファイルの表示

@@ -21,11 +21,11 @@
}

.btn-primary {
@apply px-64p py-20p text-center
@apply px-32p py-20p sm:px-64p text-center
text-btn uppercase font-semibold rounded-16 border-transparent cursor-pointer bg-gradient-to-r from-dg-secondary to-dg-primary-900 transition-all hover:bg-gradient-to-r hover:to-dg-secondary hover:from-dg-primary-900 hover:transition-all text-white;
}
.btn-secondary {
@apply px-64p py-20p text-center
@apply px-32p py-20p sm:px-64p text-center
text-btn uppercase font-semibold rounded-16 cursor-pointer border-2 border-dg-primary-400 transition-all hover:transition-all text-dg-primary-900;
}
.contact-us-link {

読み込み中…
キャンセル
保存