@prosistemas/sca-web-kit 2.5.2 → 2.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -10,5 +10,5 @@ import SCALogo from '@prosistemas/sca-web-kit/assets/logos/sca/sca-white.svg';
|
|
|
10
10
|
import { EnvelopeIcon, PhoneIncomingIcon, } from '@phosphor-icons/react/dist/ssr';
|
|
11
11
|
export default function Footer() {
|
|
12
12
|
const currentYear = new Date().getFullYear();
|
|
13
|
-
return (_jsxs("footer", { className: styles['footer'], children: [_jsxs("div", { className: styles['top'], children: [_jsxs("div", { className: styles['top-row'], children: [_jsxs("div", { className: styles['sca'], children: [_jsx(Image, { src: SCALogo, alt: 'Logo do Sistema SCA', width: 100, height: 50 }), _jsxs("p", { children: ["O SCA \u00E9 um sistema de gest\u00E3o e automa\u00E7\u00E3o feito para revolucionar o seu neg\u00F3cio Fitness.", _jsx("br", {}), _jsx("br", {}), "Estamos no mercado desde 2004."] })] }), _jsx("hr", { className: styles['mobile-separator'] }), _jsxs("div", { className: styles['etc'], children: [_jsxs("div", { className: styles['etc-sca'], children: [_jsx("p", { className: styles['title'], children: "O SCA" }), _jsx("p", { children: "Funcionalidades" }), _jsx("p", { children: "Cases de sucesso" }), _jsx("p", { children: "Pre\u00E7os" }), _jsx(Link, { href: '/equipamentos', children: _jsx("p", { children: "Equipamentos" }) })] }), _jsxs("div", { className: styles['content-transparency-wrapper'], children: [_jsxs("div", { className: styles['etc-content'], children: [_jsx("p", { className: styles['title'], children: "Conte\u00FAdo" }), _jsx("a", { href: 'TODO', target: '_blank', children: "Blog" }), _jsx("a", { href: 'https://app.sistemasca.com/ajuda/', target: '_blank', children: "Central de Ajuda" })] }), _jsxs("div", { className: styles['etc-transparency'], children: [_jsx("p", { className: styles['title'], children: "Transpar\u00EAncia" }), _jsx(Link, { href: '/quem-somos', children: "Sobre n\u00F3s" }), _jsx(Link, { href: '/politica-de-privacidade', children: "Pol\u00EDticas e Privacidade" })] })] })] })] }), _jsx("hr", { className: styles['separator'] }), _jsxs("div", { className: styles['bottom-row'], children: [_jsx("a", { href: 'https://app.sistemasca.com/cadastro', target: '_blank', children: _jsx(Button, { label: 'Teste agora', className: styles['button'] }) }), _jsxs("div", { className: styles['contact'], children: [_jsxs("div", { children: [_jsx(PhoneIncomingIcon, { size: 24 }), _jsx("p", { children: "(35) 3294-1066" })] }), _jsxs("div", { children: [_jsx(EnvelopeIcon, { size: 24 }), _jsx("p", { children: "contato@sistemasca.com" })] }), _jsxs("div", { className: styles['social'], children: [_jsx("a", { href: 'https://www.instagram.com/sistemasca/', target: '_blank', children: _jsx(
|
|
13
|
+
return (_jsxs("footer", { className: styles['footer'], children: [_jsxs("div", { className: styles['top'], children: [_jsxs("div", { className: styles['top-row'], children: [_jsxs("div", { className: styles['sca'], children: [_jsx(Image, { src: SCALogo, alt: 'Logo do Sistema SCA', width: 100, height: 50 }), _jsxs("p", { children: ["O SCA \u00E9 um sistema de gest\u00E3o e automa\u00E7\u00E3o feito para revolucionar o seu neg\u00F3cio Fitness.", _jsx("br", {}), _jsx("br", {}), "Estamos no mercado desde 2004."] })] }), _jsx("hr", { className: styles['mobile-separator'] }), _jsxs("div", { className: styles['etc'], children: [_jsxs("div", { className: styles['etc-sca'], children: [_jsx("p", { className: styles['title'], children: "O SCA" }), _jsx("p", { children: "Funcionalidades" }), _jsx("p", { children: "Cases de sucesso" }), _jsx("p", { children: "Pre\u00E7os" }), _jsx(Link, { href: '/equipamentos', children: _jsx("p", { children: "Equipamentos" }) })] }), _jsxs("div", { className: styles['content-transparency-wrapper'], children: [_jsxs("div", { className: styles['etc-content'], children: [_jsx("p", { className: styles['title'], children: "Conte\u00FAdo" }), _jsx("a", { href: 'TODO', target: '_blank', children: "Blog" }), _jsx("a", { href: 'https://app.sistemasca.com/ajuda/', target: '_blank', children: "Central de Ajuda" })] }), _jsxs("div", { className: styles['etc-transparency'], children: [_jsx("p", { className: styles['title'], children: "Transpar\u00EAncia" }), _jsx(Link, { href: '/quem-somos', children: "Sobre n\u00F3s" }), _jsx(Link, { href: '/politica-de-privacidade', children: "Pol\u00EDticas e Privacidade" })] })] })] })] }), _jsx("hr", { className: styles['separator'] }), _jsxs("div", { className: styles['bottom-row'], children: [_jsx("a", { href: 'https://app.sistemasca.com/cadastro', target: '_blank', children: _jsx(Button, { label: 'Teste agora', className: styles['button'] }) }), _jsxs("div", { className: styles['contact'], children: [_jsxs("div", { children: [_jsx(PhoneIncomingIcon, { size: 24 }), _jsx("p", { children: "(35) 3294-1066" })] }), _jsxs("div", { children: [_jsx(EnvelopeIcon, { size: 24 }), _jsx("p", { children: "contato@sistemasca.com" })] }), _jsxs("div", { className: styles['social'], children: [_jsx("a", { href: 'https://www.instagram.com/sistemasca/', target: '_blank', children: _jsx(Image, { src: InstagramLogo, alt: 'Logo do SCA', width: 32, height: 32, className: styles['icons'] }) }), _jsx("a", { href: 'https://www.facebook.com/sistemasca', target: '_blank', children: _jsx(Image, { src: FacebookLogo, alt: 'Logo do SCA', width: 32, height: 32, className: styles['icons'] }) }), _jsx("a", { href: 'https://www.youtube.com/channel/UCZ8KRjnlnuw7XwJWTtnfliA', target: '_blank', children: _jsx(Image, { src: YoutubeLogo, alt: 'Logo do SCA', width: 32, height: 32, className: styles['icons'] }) })] })] })] })] }), _jsx("div", { className: styles['bottom'], children: _jsxs("p", { children: ["Copyright \u00A9 2004 - ", currentYear, " Sistema SCA | ProSistemas - Todos os direitos reservados."] }) })] }));
|
|
14
14
|
}
|
|
@@ -5,6 +5,7 @@ import scaGradientLogo from '@prosistemas/sca-web-kit/assets/logos/sca/sca-s-gra
|
|
|
5
5
|
import InfoHeader from '../info-header/info-header';
|
|
6
6
|
import Button from '../../ui/button/button';
|
|
7
7
|
import { EnvelopeIcon } from '@phosphor-icons/react/dist/ssr';
|
|
8
|
+
import Image from 'next/image';
|
|
8
9
|
export default function NewsletterStrip({ buttonLabel, onButtonClick, onFormSubmit, buttonLoading = false, buttonDisabled = false, emailValue, onEmailChange, nameValue, onNameChange, }) {
|
|
9
|
-
return (_jsxs("div", { className: styles['newsletter-strip'], children: [_jsxs("div", { className: styles['left'], children: [_jsx(EnvelopeIcon, { color: 'white', weight: 'light', size: 48, className: styles['icon'] }), _jsx(InfoHeader, { title: 'Os melhores conte\u00FAdos de tecnologia e fitness', subtitle: 'Assine e receba novidades toda semana em sua caixa de entrada.', className: styles['feature-card'], titleClassName: styles['feature-card-title'], dark: true })] }), _jsxs("form", { className: styles['right'], onSubmit: onFormSubmit, children: [_jsx("input", { className: `${styles['name']} ${inter.className}`, id: "name", type: "text", name: "text", placeholder: "Insira seu nome", value: nameValue, onChange: onNameChange, required: true }), _jsx("input", { className: `${styles['email']} ${inter.className}`, id: "email", type: "email", name: "email", placeholder: "Insira seu e-mail", value: emailValue, onChange: onEmailChange, required: true }), _jsx(Button, { className: styles['button'], onClick: onButtonClick, label: buttonLabel ?? "Assinar", loading: buttonLoading, disabled: buttonDisabled, type: 'submit' }), _jsx("div", { className: styles['blue-hue'] }), _jsx(
|
|
10
|
+
return (_jsxs("div", { className: styles['newsletter-strip'], children: [_jsxs("div", { className: styles['left'], children: [_jsx(EnvelopeIcon, { color: 'white', weight: 'light', size: 48, className: styles['icon'] }), _jsx(InfoHeader, { title: 'Os melhores conte\u00FAdos de tecnologia e fitness', subtitle: 'Assine e receba novidades toda semana em sua caixa de entrada.', className: styles['feature-card'], titleClassName: styles['feature-card-title'], dark: true })] }), _jsxs("form", { className: styles['right'], onSubmit: onFormSubmit, children: [_jsx("input", { className: `${styles['name']} ${inter.className}`, id: "name", type: "text", name: "text", placeholder: "Insira seu nome", value: nameValue, onChange: onNameChange, required: true }), _jsx("input", { className: `${styles['email']} ${inter.className}`, id: "email", type: "email", name: "email", placeholder: "Insira seu e-mail", value: emailValue, onChange: onEmailChange, required: true }), _jsx(Button, { className: styles['button'], onClick: onButtonClick, label: buttonLabel ?? "Assinar", loading: buttonLoading, disabled: buttonDisabled, type: 'submit' }), _jsx("div", { className: styles['blue-hue'] }), _jsx(Image, { src: scaGradientLogo, alt: 'Logo do SCA', width: 243, height: 318, className: styles['background-logo'] })] })] }));
|
|
10
11
|
}
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
position: relative;
|
|
53
53
|
gap: 16px;
|
|
54
54
|
|
|
55
|
-
@media (max-width:
|
|
55
|
+
@media (max-width: 768px) {
|
|
56
56
|
width: 100%;
|
|
57
57
|
flex-direction: column;
|
|
58
58
|
}
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
|
|
72
72
|
color: black;
|
|
73
73
|
|
|
74
|
-
@media (max-width:
|
|
75
|
-
width: 100
|
|
74
|
+
@media (max-width: 768px) {
|
|
75
|
+
width: 100% !important;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
padding: 16px 48px;
|
|
91
91
|
z-index: 1;
|
|
92
92
|
|
|
93
|
-
@media (max-width:
|
|
93
|
+
@media (max-width: 768px) {
|
|
94
94
|
width: 100%;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
transform-origin: bottom center;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
@media (max-width:
|
|
113
|
+
@media (max-width: 768px) {
|
|
114
114
|
display: none;
|
|
115
115
|
}
|
|
116
116
|
}
|