@prosistemas/sca-web-kit 2.3.2 → 2.5.2

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.
Files changed (95) hide show
  1. package/dist/components/shared/info-header/info-header.js +3 -3
  2. package/dist/components/shared/info-header/info-header.module.scss +10 -1
  3. package/dist/components/ui/accordion/accordion.module.scss +3 -1
  4. package/package.json +1 -1
  5. package/dist/components/layout/topnav/mobile-nav/mobile-nav.d.ts +0 -1
  6. package/dist/components/layout/topnav/mobile-nav/mobile-nav.js +0 -11
  7. package/dist/components/layout/topnav/mobile-nav/mobile-nav.module.scss +0 -128
  8. package/dist/components/layout/topnav/mobile-nav/nav-accordion/nav-accordion-link/nav-accordion-link.d.ts +0 -4
  9. package/dist/components/layout/topnav/mobile-nav/nav-accordion/nav-accordion-link/nav-accordion-link.js +0 -5
  10. package/dist/components/layout/topnav/mobile-nav/nav-accordion/nav-accordion-link/nav-accordion-link.module.scss +0 -5
  11. package/dist/components/layout/topnav/mobile-nav/nav-accordion/nav-accordion.d.ts +0 -4
  12. package/dist/components/layout/topnav/mobile-nav/nav-accordion/nav-accordion.js +0 -7
  13. package/dist/components/layout/topnav/mobile-nav/nav-accordion/nav-accordion.module.scss +0 -125
  14. package/dist/components/layout/topnav/navlinks/card/card.d.ts +0 -6
  15. package/dist/components/layout/topnav/navlinks/card/card.js +0 -7
  16. package/dist/components/layout/topnav/navlinks/card/card.module.scss +0 -34
  17. package/dist/components/layout/topnav/navlinks/dropdown-menu-trigger/dropdown-menu-trigger.d.ts +0 -6
  18. package/dist/components/layout/topnav/navlinks/dropdown-menu-trigger/dropdown-menu-trigger.js +0 -13
  19. package/dist/components/layout/topnav/navlinks/dropdown-menu-trigger/dropdown-menu-trigger.module.scss +0 -33
  20. package/dist/components/layout/topnav/navlinks/more/more.d.ts +0 -5
  21. package/dist/components/layout/topnav/navlinks/more/more.js +0 -14
  22. package/dist/components/layout/topnav/navlinks/more/more.module.scss +0 -60
  23. package/dist/components/layout/topnav/navlinks/navlinks.d.ts +0 -1
  24. package/dist/components/layout/topnav/navlinks/navlinks.js +0 -29
  25. package/dist/components/layout/topnav/navlinks/resources/resources-card/resources-card.d.ts +0 -6
  26. package/dist/components/layout/topnav/navlinks/resources/resources-card/resources-card.js +0 -6
  27. package/dist/components/layout/topnav/navlinks/resources/resources-card/resources-card.module.scss +0 -26
  28. package/dist/components/layout/topnav/navlinks/resources/resources.d.ts +0 -5
  29. package/dist/components/layout/topnav/navlinks/resources/resources.js +0 -63
  30. package/dist/components/layout/topnav/navlinks/resources/resources.module.scss +0 -132
  31. package/dist/components/layout/topnav/navlinks/segments/segments.d.ts +0 -5
  32. package/dist/components/layout/topnav/navlinks/segments/segments.js +0 -13
  33. package/dist/components/layout/topnav/navlinks/segments/segments.module.scss +0 -62
  34. package/dist/components/layout/topnav/navtrailing/navtrailing.d.ts +0 -1
  35. package/dist/components/layout/topnav/navtrailing/navtrailing.js +0 -8
  36. package/dist/components/layout/topnav/navtrailing/navtrailing.module.scss +0 -51
  37. package/dist/components/layout/topnav/topnav.d.ts +0 -1
  38. package/dist/components/layout/topnav/topnav.js +0 -10
  39. package/dist/components/layout/topnav/topnav.module.scss +0 -56
  40. package/dist/components/shared/autoplayer/autoplayer-row/autoplayer-row.d.ts +0 -8
  41. package/dist/components/shared/autoplayer/autoplayer-row/autoplayer-row.js +0 -11
  42. package/dist/components/shared/autoplayer/autoplayer-row/autoplayer-row.module.scss +0 -43
  43. package/dist/components/shared/autoplayer/autoplayer.d.ts +0 -1
  44. package/dist/components/shared/autoplayer/autoplayer.js +0 -16
  45. package/dist/components/shared/autoplayer/autoplayer.module.scss +0 -20
  46. package/dist/components/shared/feature-card/feature-card.d.ts +0 -13
  47. package/dist/components/shared/feature-card/feature-card.js +0 -9
  48. package/dist/components/shared/feature-card/feature-card.module.scss +0 -15
  49. package/dist/components/shared/footer-banner/footer-banner.d.ts +0 -1
  50. package/dist/components/shared/footer-banner/footer-banner.js +0 -9
  51. package/dist/components/shared/footer-banner/footer-banner.module.scss +0 -103
  52. package/dist/components/shared/footer-banner-autoplayer/footer-banner-autoplayer.d.ts +0 -3
  53. package/dist/components/shared/footer-banner-autoplayer/footer-banner-autoplayer.js +0 -10
  54. package/dist/components/shared/footer-banner-autoplayer/footer-banner-autoplayer.module.scss +0 -108
  55. package/dist/components/shared/index-header/index-header.d.ts +0 -2
  56. package/dist/components/shared/index-header/index-header.js +0 -35
  57. package/dist/components/shared/index-header/index-header.module.scss +0 -17
  58. package/dist/components/shared/index-header/indexed-section-button/indexed-section-button.d.ts +0 -6
  59. package/dist/components/shared/index-header/indexed-section-button/indexed-section-button.js +0 -8
  60. package/dist/components/shared/index-header/indexed-section-button/indexed-section-button.module.scss +0 -38
  61. package/dist/components/shared/phone/phone.d.ts +0 -6
  62. package/dist/components/shared/phone/phone.js +0 -16
  63. package/dist/components/shared/phone/phone.module.scss +0 -322
  64. package/dist/components/shared/success-cases/success-cases-swiper/success-case-card/success-case-card.d.ts +0 -10
  65. package/dist/components/shared/success-cases/success-cases-swiper/success-case-card/success-case-card.js +0 -9
  66. package/dist/components/shared/success-cases/success-cases-swiper/success-case-card/success-case-card.module.scss +0 -154
  67. package/dist/components/shared/success-cases/success-cases-swiper/success-cases-swiper.d.ts +0 -3
  68. package/dist/components/shared/success-cases/success-cases-swiper/success-cases-swiper.js +0 -15
  69. package/dist/components/shared/success-cases/success-cases-swiper/success-cases-swiper.module.scss +0 -81
  70. package/dist/components/shared/success-cases/success-cases.d.ts +0 -1
  71. package/dist/components/shared/success-cases/success-cases.js +0 -9
  72. package/dist/components/shared/success-cases/success-cases.module.scss +0 -60
  73. package/dist/components/shared/support-sticky-button/support-sticky-button.d.ts +0 -1
  74. package/dist/components/shared/support-sticky-button/support-sticky-button.js +0 -7
  75. package/dist/components/shared/support-sticky-button/support-sticky-button.module.scss +0 -63
  76. package/dist/components/ui/button/default-button.module.scss +0 -22
  77. package/dist/components/ui/decal/decal.d.ts +0 -6
  78. package/dist/components/ui/decal/decal.js +0 -9
  79. package/dist/components/ui/decal/decal.module.scss +0 -7
  80. package/dist/components/ui/progress-bar/progress-bar.d.ts +0 -5
  81. package/dist/components/ui/progress-bar/progress-bar.js +0 -9
  82. package/dist/components/ui/progress-bar/progress-bar.module.scss +0 -12
  83. package/dist/components/ui/pulse-effect/pulse-effect.d.ts +0 -1
  84. package/dist/components/ui/pulse-effect/pulse-effect.js +0 -5
  85. package/dist/components/ui/pulse-effect/pulse-effect.module.scss +0 -63
  86. package/dist/components/ui/span-label/span-label.d.ts +0 -5
  87. package/dist/components/ui/span-label/span-label.js +0 -15
  88. package/dist/components/ui/span-label/span-label.module.scss +0 -11
  89. package/dist/components/ui/stacks/stacks.d.ts +0 -1
  90. package/dist/components/ui/stacks/stacks.js +0 -5
  91. package/dist/components/ui/stacks/stacks.module.scss +0 -32
  92. package/dist/components/ui/three-dots/three-dots.d.ts +0 -3
  93. package/dist/components/ui/three-dots/three-dots.js +0 -5
  94. package/dist/components/ui/three-dots/three-dots.module.scss +0 -28
  95. package/dist/index.js.map +0 -1
@@ -1,63 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import styles from './resources.module.scss';
4
- import * as DropdownMenu from '@radix-ui/react-dropdown-menu';
5
- import Button from '../../../../ui/button/button';
6
- import ResourcesCard from './resources-card/resources-card';
7
- import DropdownMenuTrigger from '../dropdown-menu-trigger/dropdown-menu-trigger';
8
- import { ArrowRightIcon, ClipboardTextIcon, CoinsIcon, CreditCardIcon, FileTextIcon, MoneyIcon, StackIcon } from '@phosphor-icons/react';
9
- import Link from 'next/link';
10
- const links = [
11
- { title: 'Controle financeiro' },
12
- { title: 'Ficha de treino' },
13
- { title: 'Avaliação física' },
14
- { title: 'Relacionamento com Alunos' },
15
- { title: 'Gerência de turmas' },
16
- { title: 'Vitrine de produtos' },
17
- ];
18
- const leftCards = [
19
- {
20
- title: 'Pacote de aulas',
21
- subtitle: 'Crie e controle pacotes de aulas por sessão ou período.',
22
- icon: ClipboardTextIcon,
23
- },
24
- {
25
- title: 'Contratos personalizados',
26
- subtitle: 'Crie modelos de contratos e use como precisar.',
27
- icon: FileTextIcon,
28
- },
29
- {
30
- title: 'Caixas simultâneos',
31
- subtitle: 'Controle dos caixas de todas unidades em um único lugar.',
32
- icon: CoinsIcon,
33
- },
34
- ];
35
- const rightCards = [
36
- {
37
- title: 'Mensalidades',
38
- subtitle: 'Deixe que o sistema crie as cobranças por você.',
39
- icon: MoneyIcon,
40
- },
41
- {
42
- title: 'Controle de estoque',
43
- subtitle: 'Controle a entrada e saída dos seus produtos de diversas formas.',
44
- icon: StackIcon,
45
- },
46
- {
47
- title: 'Controle financeiro',
48
- subtitle: 'O SCA cria e envia as mensalidades automaticamente.',
49
- icon: CreditCardIcon,
50
- },
51
- ];
52
- export default function Resources({ open, setOpen, handleOpen, }) {
53
- const handleMouseExit = () => {
54
- setOpen(false);
55
- };
56
- return (_jsxs(DropdownMenu.Root, { open: open, onOpenChange: setOpen, modal: false, children: [_jsx(DropdownMenuTrigger, { label: "Recursos", open: open, setOpen: setOpen, handleMouseEnter: handleOpen }), _jsxs(DropdownMenu.Content, { onMouseLeave: handleMouseExit, className: `${styles['dropdown-content']}`, sideOffset: 44, children: [_jsx("div", { className: styles['links'], children: links.map((link, index) => {
57
- return (_jsx(Link, { href: '/recursos', className: styles['dropdown-item-link'], children: _jsxs(DropdownMenu.Item, { className: styles['dropdown-item'], children: [link.title, _jsx(ArrowRightIcon, { weight: 'bold', size: 16, className: styles['dropdown-icon'] })] }, index) }, index));
58
- }) }), _jsxs("div", { className: styles['cards-wrapper'], children: [_jsxs("div", { className: styles['cards'], children: [_jsx("div", { className: styles['left-section'], children: leftCards.map((card, index) => {
59
- return (_jsx(ResourcesCard, { title: card.title, subtitle: card.subtitle, icon: card.icon }, index));
60
- }) }), _jsx("div", { className: styles['right-section'], children: rightCards.map((card, index) => {
61
- return (_jsx(ResourcesCard, { title: card.title, subtitle: card.subtitle, icon: card.icon }, index));
62
- }) })] }), _jsx(Link, { href: '/recursos', className: styles['button-wrapper'], children: _jsx(Button, { label: "Ver todos", className: styles['button'] }) })] })] })] }));
63
- }
@@ -1,132 +0,0 @@
1
- .dropdown-content {
2
- z-index: 2;
3
- border-radius: 16px;
4
- box-shadow: 0px 28px 58px 0px rgba(3, 0, 70, 0.3);
5
- background: var(--neutral100);
6
- color: var(--neutral600);
7
-
8
- width: 901px;
9
- padding: 16px;
10
-
11
- display: flex;
12
- justify-content: space-between;
13
- align-items: flex-start;
14
-
15
- .links {
16
- display: flex;
17
- flex-direction: column;
18
- align-items: flex-start;
19
- gap: 8px;
20
-
21
- .dropdown-item-link {
22
- .dropdown-item {
23
- display: flex;
24
- align-items: center;
25
- justify-content: space-between;
26
- gap: 6px;
27
-
28
- padding: 16px;
29
- font-size: 14px;
30
- border-radius: 16px;
31
- font-variation-settings: 'wght' 400;
32
- transition: background 0.3s, font-variation-settings 0.3s;
33
-
34
- cursor: pointer;
35
- border: none;
36
- outline: none;
37
-
38
- .dropdown-icon {
39
- color: transparent;
40
- transition: color 0.3s;
41
- }
42
- }
43
-
44
- .dropdown-item:hover {
45
- background-color: #fff;
46
- font-variation-settings: 'wght' 500;
47
- }
48
-
49
- .dropdown-item:hover .dropdown-icon {
50
- color: var(--primary);
51
- }
52
- }
53
- }
54
-
55
- .cards-wrapper {
56
- display: flex;
57
- flex-direction: column;
58
- justify-content: space-between;
59
- width: 584px;
60
- height: 455px;
61
- flex-shrink: 0;
62
- padding: 24px;
63
- border-radius: 12px;
64
- background: #fff;
65
-
66
- .cards {
67
- display: flex;
68
- flex-wrap: nowrap;
69
- justify-content: space-between;
70
-
71
- .left-section,
72
- .right-section {
73
- height: 310px;
74
- display: flex;
75
- flex-direction: column;
76
- justify-content: space-between;
77
- }
78
-
79
- .left-section {
80
- width: 248px;
81
- }
82
-
83
- .right-section {
84
- width: 234px;
85
- }
86
- }
87
-
88
- .button-wrapper {
89
- width: 100%;
90
-
91
- .button {
92
- width: 100%;
93
- }
94
- }
95
- }
96
- }
97
-
98
- .dropdown-content[data-state='closed'] {
99
- animation: fadeSlideOut 0.3s forwards;
100
- transform: translateY(-15px);
101
- opacity: 0;
102
- }
103
-
104
- .dropdown-content[data-state='open'] {
105
- animation: fadeSlideIn 0.3s;
106
- transform: translateY(0);
107
- opacity: 1;
108
- }
109
-
110
- @keyframes fadeSlideIn {
111
- 0% {
112
- opacity: 0;
113
- transform: translateY(-15px);
114
- }
115
-
116
- 100% {
117
- opacity: 1;
118
- transform: translateY(0);
119
- }
120
- }
121
-
122
- @keyframes fadeSlideOut {
123
- 0% {
124
- opacity: 1;
125
- transform: translateY(0);
126
- }
127
-
128
- 100% {
129
- opacity: 0;
130
- transform: translateY(-15px);
131
- }
132
- }
@@ -1,5 +0,0 @@
1
- export default function Segments({ open, setOpen, handleOpen, }: {
2
- open: boolean;
3
- setOpen: React.Dispatch<React.SetStateAction<boolean>>;
4
- handleOpen: () => void;
5
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,13 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import * as DropdownMenu from '@radix-ui/react-dropdown-menu';
4
- import DropdownMenuTrigger from '../dropdown-menu-trigger/dropdown-menu-trigger';
5
- import styles from './segments.module.scss';
6
- import Card from '../card/card';
7
- import { Barbell, Lockers, PersonArmsSpread, PersonSimpleSwim, PersonSimpleTaiChi } from '@phosphor-icons/react';
8
- export default function Segments({ open, setOpen, handleOpen, }) {
9
- const handleMouseExit = () => {
10
- setOpen(false);
11
- };
12
- return (_jsxs(DropdownMenu.Root, { open: open, onOpenChange: setOpen, modal: false, children: [_jsx(DropdownMenuTrigger, { label: "Segmentos", open: open, setOpen: setOpen, handleMouseEnter: handleOpen }), _jsxs(DropdownMenu.Content, { onMouseLeave: handleMouseExit, className: styles['dropdown-content'], sideOffset: 44, children: [_jsxs("div", { className: styles['left'], children: [_jsx(Card, { label: "Academia", icon: Lockers }), _jsx(Card, { label: "Studio", icon: PersonArmsSpread }), _jsx(Card, { label: "Pilates", icon: PersonSimpleTaiChi })] }), _jsxs("div", { className: styles['right'], children: [_jsx(Card, { label: "Nata\u00E7\u00E3o", icon: PersonSimpleSwim }), _jsx(Card, { label: "Box Cross", icon: Barbell })] })] })] }));
13
- }
@@ -1,62 +0,0 @@
1
- .dropdown-content {
2
- /* Pra garantir que n vai ficar por baixo do carrossel ;) */
3
- z-index: 2;
4
- /* min-width: 450px; */
5
- padding: 24px;
6
- border-radius: 16px;
7
- box-shadow: 0px 28px 58px 0px rgba(3, 0, 70, 0.3);
8
- background: var(--neutral100);
9
- color: var(--neutral600);
10
-
11
- display: flex;
12
- justify-content: center;
13
- flex-wrap: nowrap;
14
- gap: 16px;
15
- }
16
-
17
- @keyframes fadeSlideIn {
18
- 0% {
19
- opacity: 0;
20
- transform: translateY(-15px);
21
- }
22
-
23
- 100% {
24
- opacity: 1;
25
- transform: translateY(0);
26
- }
27
- }
28
-
29
- @keyframes fadeSlideOut {
30
- 0% {
31
- opacity: 1;
32
- transform: translateY(0);
33
- }
34
-
35
- 100% {
36
- opacity: 0;
37
- transform: translateY(-15px);
38
- }
39
- }
40
-
41
- .dropdown-content[data-state='closed'] {
42
- animation: fadeSlideOut 0.3s forwards;
43
- transform: translateY(-15px);
44
- opacity: 0;
45
- }
46
-
47
- .dropdown-content[data-state='open'] {
48
- animation: fadeSlideIn 0.3s;
49
- transform: translateY(0);
50
- opacity: 1;
51
- }
52
-
53
- .left .right {
54
- display: inline-flex;
55
- flex-direction: column;
56
- align-items: flex-start;
57
- gap: 4px;
58
- }
59
-
60
- .left {
61
- width: 150;
62
- }
@@ -1 +0,0 @@
1
- export default function NavTrailing(): import("react/jsx-runtime").JSX.Element;
@@ -1,8 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import styles from './navtrailing.module.scss';
4
- import Button from '../../../ui/button/button';
5
- import { UserCircleIcon } from '@phosphor-icons/react';
6
- export default function NavTrailing() {
7
- return (_jsxs("div", { className: styles['navtrailing'], children: [_jsxs("a", { href: 'https://app.sistemasca.com/login', target: '_blank', className: styles['login-wrapper'], children: [_jsx(UserCircleIcon, { size: 26, className: `${styles['icon']}` }), _jsx("p", { children: "Acessar conta" })] }), _jsx("a", { href: 'https://app.sistemasca.com/cadastro', target: '_blank', children: _jsx(Button, { label: "Teste agora", className: styles['outline-button'] }) })] }));
8
- }
@@ -1,51 +0,0 @@
1
- .navtrailing {
2
- display: flex;
3
- align-items: center;
4
- justify-content: space-between;
5
- gap: 40px;
6
-
7
- @media (max-width: 1330px) {
8
- gap: 20px;
9
- }
10
-
11
- @media (max-width: 900px) {
12
- display: none;
13
- }
14
-
15
- .login-wrapper {
16
- display: flex;
17
- align-items: center;
18
- justify-content: center;
19
- gap: 8px;
20
-
21
- transition: color 0.3s;
22
-
23
- .icon {
24
- transition: color 0.3s;
25
-
26
- @media (max-width: 1024px) {
27
- display: none;
28
- }
29
- }
30
- }
31
-
32
- .login-wrapper:hover {
33
- color: var(--auxiliary-orange);
34
- }
35
-
36
- .outline-button {
37
- background-color: transparent;
38
- border: solid 1px #fff;
39
- transition: background-color 0.3s, border 0.3s;
40
-
41
- @media (max-width: 1024px) {
42
- font-size: 12px;
43
- padding: 12px;
44
- }
45
- }
46
-
47
- .outline-button:hover {
48
- border: solid 1px transparent;
49
- background-color: var(--auxiliary-orange);
50
- }
51
- }
@@ -1 +0,0 @@
1
- export default function TopNav(): import("react/jsx-runtime").JSX.Element;
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import styles from './topnav.module.scss';
3
- import Link from 'next/link';
4
- import Image from 'next/image';
5
- import NavLinks from './navlinks/navlinks';
6
- import MobileNav from './mobile-nav/mobile-nav'; /* Renderizado apenas na versão mobile (<= 768px) */
7
- import NavTrailing from './navtrailing/navtrailing';
8
- export default function TopNav() {
9
- return (_jsxs("header", { className: styles.navbar, children: [_jsx(Link, { href: "/", children: _jsx(Image, { src: "/logos/sca/sca-white.svg", width: 100, height: 50, alt: "Logo do Sistema SCA", className: styles['sca-logo'] }) }), _jsx(NavLinks, {}), _jsx(NavTrailing, {}), _jsx(MobileNav, {})] }));
10
- }
@@ -1,56 +0,0 @@
1
- .navbar {
2
- height: 112px;
3
- width: 100%;
4
- padding: 0 112px;
5
-
6
- display: flex;
7
- align-items: center;
8
- justify-content: space-between;
9
-
10
- color: white;
11
- font-size: 14px;
12
- font-weight: 500;
13
-
14
- @media (max-width: 1330px) {
15
- padding: 0 64px;
16
- }
17
-
18
- @media (max-width: 768px) {
19
- padding: 0 24px;
20
- }
21
-
22
- .sca-logo {
23
- @media (max-width: 1024px) {
24
- width: 50px;
25
- }
26
- }
27
- }
28
-
29
- .navlinks {
30
- display: flex;
31
- align-items: center;
32
- justify-content: space-between;
33
- gap: 40px;
34
-
35
- @media (max-width: 1330px) {
36
- gap: 20px;
37
- }
38
-
39
- @media (max-width: 1024px) {
40
- font-size: 12px;
41
- }
42
-
43
- @media (max-width: 900px) {
44
- display: none;
45
- }
46
- }
47
-
48
- .plans-link,
49
- .blog-link {
50
- transition: color 0.3s;
51
- }
52
-
53
- .plans-link:hover,
54
- .blog-link:hover {
55
- color: var(--auxiliary-orange);
56
- }
@@ -1,8 +0,0 @@
1
- import { IconProps } from '@phosphor-icons/react';
2
- export default function AutoplayerRow({ icon: Icon, title, subtitle, index, activeIndex, }: {
3
- icon: React.ComponentType<IconProps>;
4
- title: string;
5
- subtitle: string;
6
- index: number;
7
- activeIndex: number;
8
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,11 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import styles from './autoplayer-row.module.scss';
3
- export default function AutoplayerRow({ icon: Icon, title, subtitle, index, activeIndex, }) {
4
- return (_jsxs("div", { className: styles['autoplayer-row'], children: [_jsxs("div", { className: `
5
- ${styles['autoplayer-title']}
6
- ${activeIndex == index ? styles['autoplayer-title-on'] : ''}
7
- `, children: [_jsx(Icon, { size: 32, weight: 'light' }), _jsx("p", { children: title })] }), _jsx("p", { className: `
8
- ${styles['autoplayer-subtitle']}
9
- ${activeIndex == index ? styles['autoplayer-subtitle-on'] : ''}
10
- `, children: subtitle })] }));
11
- }
@@ -1,43 +0,0 @@
1
- .autoplayer-row {
2
- display: flex;
3
- flex-direction: column;
4
- justify-content: center;
5
- position: relative;
6
-
7
- .autoplayer-title {
8
- display: flex;
9
- align-items: center;
10
- gap: 16px;
11
-
12
- color: #FFF;
13
- font-size: 16px;
14
- font-weight: 600;
15
- height: 32px;
16
-
17
- transition: opacity 0.3s, height 0.3s, margin-top 0.3s;
18
- opacity: 0.5;
19
- }
20
-
21
- .autoplayer-title-on {
22
- opacity: 1;
23
- }
24
-
25
- .autoplayer-subtitle {
26
- margin-left: 48px;
27
- color: #FFF;
28
- font-size: 14px;
29
- font-weight: 400;
30
- opacity: 0;
31
- transition: opacity 0.3s, height 0.3s, margin 0.3s;
32
- height: 0px;
33
-
34
- @media (max-width: 1024px) {
35
- margin-left: 0;
36
- }
37
- }
38
-
39
- .autoplayer-subtitle-on {
40
- opacity: 1;
41
- margin: 24px 0;
42
- }
43
- }
@@ -1 +0,0 @@
1
- export default function Autoplayer(): import("react/jsx-runtime").JSX.Element;
@@ -1,16 +0,0 @@
1
- 'use client';
2
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import styles from './autoplayer.module.scss';
4
- import { useState, useEffect } from 'react';
5
- import AutoplayerRow from './autoplayer-row/autoplayer-row';
6
- import { CurrencyCircleDollarIcon, HeadsetIcon, UsersFourIcon } from '@phosphor-icons/react';
7
- export default function Autoplayer() {
8
- const [activeIndex, setActiveIndex] = useState(0);
9
- useEffect(() => {
10
- const interval = setInterval(() => {
11
- setActiveIndex(prev => (prev + 1) % 3);
12
- }, 5000);
13
- return () => clearInterval(interval);
14
- }, []);
15
- return (_jsxs("div", { className: styles['autoplayer'], children: [_jsx(AutoplayerRow, { icon: CurrencyCircleDollarIcon, title: 'Pague apenas uma vez por ano', subtitle: 'Assine o anual com 20% OFF, sai por menos de R$6,00 por dia. R$2.141,00 no total.', index: 0, activeIndex: activeIndex }), _jsx("div", { className: `${styles['separator']} ${activeIndex == 0 ? styles['separator-on'] : ''}` }), _jsx(AutoplayerRow, { icon: UsersFourIcon, title: 'Cadastros ilimitados', subtitle: 'Tenha quantos alunos e alunas voc\u00EA quiser, sem pagar nenhuma taxa extra.', index: 1, activeIndex: activeIndex }), _jsx("div", { className: `${styles['separator']} ${activeIndex == 1 ? styles['separator-on'] : ''}` }), _jsx(AutoplayerRow, { icon: HeadsetIcon, title: 'Suporte para sempre', subtitle: 'Equipe dedicada que vai te ajudar desde o inicio at\u00E9 o uso mais avan\u00E7ado do sistema.', index: 2, activeIndex: activeIndex }), _jsx("div", { className: `${styles['separator']} ${activeIndex == 2 ? styles['separator-on'] : ''}` })] }));
16
- }
@@ -1,20 +0,0 @@
1
- .autoplayer {
2
- display: flex;
3
- flex-direction: column;
4
- flex-wrap: nowrap;
5
- gap: 32px;
6
- height: 100%;
7
- justify-content: space-between;
8
-
9
- .separator {
10
- width: 100%;
11
- height: 1px;
12
- background: var(--light600);
13
- opacity: 0.5;
14
- transition: opacity 0.3s;
15
- }
16
-
17
- .separator-on {
18
- opacity: 1;
19
- }
20
- }
@@ -1,13 +0,0 @@
1
- interface InfoHeaderProps {
2
- spanLabel?: string;
3
- title: string;
4
- subtitle?: string;
5
- iconSubtitle?: string;
6
- buttonLabel?: string;
7
- className?: string;
8
- titleClassName?: string;
9
- subtitleClassName?: string;
10
- dark?: boolean;
11
- }
12
- export default function InfoHeader({ spanLabel, title, subtitle, buttonLabel, className, titleClassName, subtitleClassName, dark, }: InfoHeaderProps): import("react/jsx-runtime").JSX.Element;
13
- export { };
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import styles from './feature-card.module.scss';
3
- import SpanLabel from '../../ui/span-label/span-label';
4
- import Subtitle from '../../ui/subtitle/subtitle';
5
- import Button from '../../ui/button/button';
6
- import Title from '../../ui/title/title';
7
- export default function FeatureCard({ spanLabel, title, subtitle, buttonLabel, className = '', titleClassName = '', subtitleClassName = '', dark = false, }) {
8
- return (_jsxs("div", { className: `${styles['feature-card']} ${className}`, children: [spanLabel && _jsx(SpanLabel, { label: spanLabel, dark: dark }), _jsx(Title, { className: titleClassName, text: title, dark: dark }), subtitle && (_jsx(Subtitle, { text: subtitle, className: subtitleClassName, dark: dark })), buttonLabel && (_jsx(Button, { label: buttonLabel, className: styles['button'] }))] }));
9
- }
@@ -1,15 +0,0 @@
1
- .feature-card {
2
- display: flex;
3
- flex-direction: column;
4
- justify-content: center;
5
- align-items: center;
6
- text-align: center;
7
-
8
- z-index: 1;
9
- gap: 32px;
10
-
11
- .button {
12
- width: fit-content;
13
- padding: 16px 42px;
14
- }
15
- }
@@ -1 +0,0 @@
1
- export default function FooterBanner(): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import styles from './footer-banner.module.scss';
3
- import { montserrat } from '../../../fonts';
4
- import Image from 'next/image';
5
- import InfoHeader from '../info-header/info-header';
6
- import { BrowsersIcon, CreditCardIcon, TimerIcon } from '@phosphor-icons/react/dist/ssr';
7
- export default function FooterBanner() {
8
- return (_jsxs("div", { className: styles['footer-banner'], children: [_jsx(InfoHeader, { tagLabel: 'ILIMITADO', title: 'Não importa quantos alunos e alunas você vai ter, o preço não muda.', buttonLabel: 'Conhe\u00E7a agora!', className: styles['footer-banner-info-header'], dark: true }), _jsxs("div", { className: styles['image-person-wrapper'], children: [_jsx(Image, { src: '/gym/stock-gym-blurred.webp', alt: 'Foto borrada de uma academia', className: styles['image'], fill: true }), _jsx(Image, { src: '/people/person_03.webp', alt: 'Foto de uma pessoa', className: styles['person'], width: 420, height: 420 })] }), _jsxs("div", { className: styles['bullet-list-wrapper'], children: [_jsx("p", { className: `${styles['title']} ${montserrat.className}`, children: "Teste gr\u00E1tis o SCA!" }), _jsxs("div", { className: styles['bullet-list'], children: [_jsxs("div", { className: styles['list-item'], children: [_jsx(CreditCardIcon, { size: 40, color: 'var(--neutral000)', weight: 'thin' }), _jsx("p", { className: styles['text'], children: "Voc\u00EA n\u00E3o precisa adicionar cart\u00E3o de cr\u00E9dito." })] }), _jsx("div", { className: styles['separator'] }), _jsxs("div", { className: styles['list-item'], children: [_jsx(BrowsersIcon, { size: 40, color: 'var(--neutral000)', weight: 'thin' }), _jsx("p", { className: styles['text'], children: "Tenha acesso a todas das funcionalidades." })] }), _jsx("div", { className: styles['separator'] }), _jsxs("div", { className: styles['list-item'], children: [_jsx(TimerIcon, { size: 40, color: 'var(--neutral000)', weight: 'thin' }), _jsx("p", { className: styles['text'], children: "Cadastre-se em segundos." })] })] })] })] }));
9
- }