Skip to content

Commit 89366cc

Browse files
implementation nucleus-angular and improvement spa
1 parent 627a93b commit 89366cc

20 files changed

+278
-962
lines changed

package-lock.json

Lines changed: 102 additions & 267 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@
2020
"@angular/platform-browser": "^18.2.8",
2121
"@angular/platform-browser-dynamic": "^18.2.8",
2222
"@angular/router": "^18.2.8",
23-
"angular-techs-logos": "^0.1.27",
2423
"angular-vlibras": "^0.2.2",
25-
"highlight.js": "^11.10.0",
24+
"nucleus-angular": "^0.0.2",
2625
"rxjs": "~7.8.0",
2726
"tslib": "^2.8.0",
2827
"zone.js": "~0.14.10"

src/app/app.component.html

Lines changed: 3 additions & 114 deletions
Original file line numberDiff line numberDiff line change
@@ -1,114 +1,3 @@
1-
<div class="shimmer top"></div>
2-
<div class="shimmer bottom"></div>
3-
4-
<angular-vlibras />
5-
6-
<main class="main">
7-
<div class="content">
8-
<div class="left-side">
9-
<svg
10-
xmlns="http://www.w3.org/2000/svg"
11-
viewBox="0 0 982 239"
12-
fill="none"
13-
class="angular-logo"
14-
aria-label="Logo Angular"
15-
>
16-
<g clip-path="url(#a)">
17-
<path
18-
fill="url(#b)"
19-
d="M388.676 191.625h30.849L363.31 31.828h-35.758l-56.215 159.797h30.848l13.174-39.356h60.061l13.256 39.356Zm-65.461-62.675 21.602-64.311h1.227l21.602 64.311h-44.431Zm126.831-7.527v70.202h-28.23V71.839h27.002v20.374h1.392c2.782-6.71 7.2-12.028 13.255-15.956 6.056-3.927 13.584-5.89 22.503-5.89 8.264 0 15.465 1.8 21.684 5.318 6.137 3.518 10.964 8.673 14.319 15.382 3.437 6.71 5.074 14.81 4.992 24.383v76.175h-28.23v-71.92c0-8.019-2.046-14.237-6.219-18.819-4.173-4.5-9.819-6.791-17.102-6.791-4.91 0-9.328 1.063-13.174 3.272-3.846 2.128-6.792 5.237-9.001 9.328-2.046 4.009-3.191 8.918-3.191 14.728ZM589.233 239c-10.147 0-18.82-1.391-26.103-4.091-7.282-2.7-13.092-6.382-17.511-10.964-4.418-4.582-7.528-9.655-9.164-15.219l25.448-6.136c1.145 2.372 2.782 4.663 4.991 6.954 2.209 2.291 5.155 4.255 8.837 5.81 3.683 1.554 8.428 2.291 14.074 2.291 8.019 0 14.647-1.964 19.884-5.81 5.237-3.845 7.856-10.227 7.856-19.064v-22.665h-1.391c-1.473 2.946-3.601 5.892-6.383 9.001-2.782 3.109-6.464 5.645-10.965 7.691-4.582 2.046-10.228 3.109-17.101 3.109-9.165 0-17.511-2.209-25.039-6.545-7.446-4.337-13.42-10.883-17.757-19.474-4.418-8.673-6.628-19.473-6.628-32.565 0-13.091 2.21-24.301 6.628-33.383 4.419-9.082 10.311-15.955 17.839-20.7 7.528-4.746 15.874-7.037 25.039-7.037 7.037 0 12.846 1.145 17.347 3.518 4.582 2.373 8.182 5.236 10.883 8.51 2.7 3.272 4.746 6.382 6.137 9.327h1.554v-19.8h27.821v121.749c0 10.228-2.454 18.737-7.364 25.447-4.91 6.709-11.538 11.7-20.048 15.055-8.509 3.355-18.165 4.991-28.884 4.991Zm.245-71.266c5.974 0 11.047-1.473 15.302-4.337 4.173-2.945 7.446-7.118 9.573-12.519 2.21-5.482 3.274-12.027 3.274-19.637 0-7.609-1.064-14.155-3.274-19.8-2.127-5.646-5.318-10.064-9.491-13.255-4.174-3.11-9.329-4.746-15.384-4.746s-11.537 1.636-15.792 4.91c-4.173 3.272-7.365 7.772-9.492 13.418-2.128 5.727-3.191 12.191-3.191 19.392 0 7.2 1.063 13.745 3.273 19.228 2.127 5.482 5.318 9.736 9.573 12.764 4.174 3.027 9.41 4.582 15.629 4.582Zm141.56-26.51V71.839h28.23v119.786h-27.412v-21.273h-1.227c-2.7 6.709-7.119 12.191-13.338 16.446-6.137 4.255-13.747 6.382-22.748 6.382-7.855 0-14.81-1.718-20.783-5.237-5.974-3.518-10.72-8.591-14.075-15.382-3.355-6.709-5.073-14.891-5.073-24.464V71.839h28.312v71.921c0 7.609 2.046 13.664 6.219 18.083 4.173 4.5 9.655 6.709 16.365 6.709 4.173 0 8.183-.982 12.111-3.028 3.927-2.045 7.118-5.072 9.655-9.082 2.537-4.091 3.764-9.164 3.764-15.218Zm65.707-109.395v159.796h-28.23V31.828h28.23Zm44.841 162.169c-7.61 0-14.402-1.391-20.457-4.091-6.055-2.7-10.883-6.791-14.32-12.109-3.518-5.319-5.237-11.946-5.237-19.801 0-6.791 1.228-12.355 3.765-16.773 2.536-4.419 5.891-7.937 10.228-10.637 4.337-2.618 9.164-4.664 14.647-6.055 5.4-1.391 11.046-2.373 16.856-3.027 7.037-.737 12.683-1.391 17.102-1.964 4.337-.573 7.528-1.555 9.574-2.782 1.963-1.309 3.027-3.273 3.027-5.973v-.491c0-5.891-1.718-10.391-5.237-13.664-3.518-3.191-8.51-4.828-15.056-4.828-6.955 0-12.356 1.473-16.447 4.5-4.009 3.028-6.71 6.546-8.183 10.719l-26.348-3.764c2.046-7.282 5.483-13.336 10.31-18.328 4.746-4.909 10.638-8.59 17.511-11.045 6.955-2.455 14.565-3.682 22.912-3.682 5.809 0 11.537.654 17.265 2.045s10.965 3.6 15.711 6.71c4.746 3.109 8.51 7.282 11.455 12.6 2.864 5.318 4.337 11.946 4.337 19.883v80.184h-27.166v-16.446h-.9c-1.719 3.355-4.092 6.464-7.201 9.328-3.109 2.864-6.955 5.237-11.619 6.955-4.828 1.718-10.229 2.536-16.529 2.536Zm7.364-20.701c5.646 0 10.556-1.145 14.729-3.354 4.173-2.291 7.364-5.237 9.655-9.001 2.292-3.763 3.355-7.854 3.355-12.273v-14.155c-.9.737-2.373 1.391-4.5 2.046-2.128.654-4.419 1.145-7.037 1.636-2.619.491-5.155.9-7.692 1.227-2.537.328-4.746.655-6.628.901-4.173.572-8.019 1.472-11.292 2.781-3.355 1.31-5.973 3.11-7.855 5.401-1.964 2.291-2.864 5.318-2.864 8.918 0 5.237 1.882 9.164 5.728 11.782 3.682 2.782 8.51 4.091 14.401 4.091Zm64.643 18.328V71.839h27.412v19.965h1.227c2.21-6.955 5.974-12.274 11.292-16.038 5.319-3.763 11.456-5.645 18.329-5.645 1.555 0 3.355.082 5.237.163 1.964.164 3.601.328 4.91.573v25.938c-1.227-.41-3.109-.819-5.646-1.146a58.814 58.814 0 0 0-7.446-.49c-5.155 0-9.738 1.145-13.829 3.354-4.091 2.209-7.282 5.236-9.655 9.164-2.373 3.927-3.519 8.427-3.519 13.5v70.448h-28.312ZM222.077 39.192l-8.019 125.923L137.387 0l84.69 39.192Zm-53.105 162.825-57.933 33.056-57.934-33.056 11.783-28.556h92.301l11.783 28.556ZM111.039 62.675l30.357 73.803H80.681l30.358-73.803ZM7.937 165.115 0 39.192 84.69 0 7.937 165.115Z"
20-
/>
21-
<path
22-
fill="url(#c)"
23-
d="M388.676 191.625h30.849L363.31 31.828h-35.758l-56.215 159.797h30.848l13.174-39.356h60.061l13.256 39.356Zm-65.461-62.675 21.602-64.311h1.227l21.602 64.311h-44.431Zm126.831-7.527v70.202h-28.23V71.839h27.002v20.374h1.392c2.782-6.71 7.2-12.028 13.255-15.956 6.056-3.927 13.584-5.89 22.503-5.89 8.264 0 15.465 1.8 21.684 5.318 6.137 3.518 10.964 8.673 14.319 15.382 3.437 6.71 5.074 14.81 4.992 24.383v76.175h-28.23v-71.92c0-8.019-2.046-14.237-6.219-18.819-4.173-4.5-9.819-6.791-17.102-6.791-4.91 0-9.328 1.063-13.174 3.272-3.846 2.128-6.792 5.237-9.001 9.328-2.046 4.009-3.191 8.918-3.191 14.728ZM589.233 239c-10.147 0-18.82-1.391-26.103-4.091-7.282-2.7-13.092-6.382-17.511-10.964-4.418-4.582-7.528-9.655-9.164-15.219l25.448-6.136c1.145 2.372 2.782 4.663 4.991 6.954 2.209 2.291 5.155 4.255 8.837 5.81 3.683 1.554 8.428 2.291 14.074 2.291 8.019 0 14.647-1.964 19.884-5.81 5.237-3.845 7.856-10.227 7.856-19.064v-22.665h-1.391c-1.473 2.946-3.601 5.892-6.383 9.001-2.782 3.109-6.464 5.645-10.965 7.691-4.582 2.046-10.228 3.109-17.101 3.109-9.165 0-17.511-2.209-25.039-6.545-7.446-4.337-13.42-10.883-17.757-19.474-4.418-8.673-6.628-19.473-6.628-32.565 0-13.091 2.21-24.301 6.628-33.383 4.419-9.082 10.311-15.955 17.839-20.7 7.528-4.746 15.874-7.037 25.039-7.037 7.037 0 12.846 1.145 17.347 3.518 4.582 2.373 8.182 5.236 10.883 8.51 2.7 3.272 4.746 6.382 6.137 9.327h1.554v-19.8h27.821v121.749c0 10.228-2.454 18.737-7.364 25.447-4.91 6.709-11.538 11.7-20.048 15.055-8.509 3.355-18.165 4.991-28.884 4.991Zm.245-71.266c5.974 0 11.047-1.473 15.302-4.337 4.173-2.945 7.446-7.118 9.573-12.519 2.21-5.482 3.274-12.027 3.274-19.637 0-7.609-1.064-14.155-3.274-19.8-2.127-5.646-5.318-10.064-9.491-13.255-4.174-3.11-9.329-4.746-15.384-4.746s-11.537 1.636-15.792 4.91c-4.173 3.272-7.365 7.772-9.492 13.418-2.128 5.727-3.191 12.191-3.191 19.392 0 7.2 1.063 13.745 3.273 19.228 2.127 5.482 5.318 9.736 9.573 12.764 4.174 3.027 9.41 4.582 15.629 4.582Zm141.56-26.51V71.839h28.23v119.786h-27.412v-21.273h-1.227c-2.7 6.709-7.119 12.191-13.338 16.446-6.137 4.255-13.747 6.382-22.748 6.382-7.855 0-14.81-1.718-20.783-5.237-5.974-3.518-10.72-8.591-14.075-15.382-3.355-6.709-5.073-14.891-5.073-24.464V71.839h28.312v71.921c0 7.609 2.046 13.664 6.219 18.083 4.173 4.5 9.655 6.709 16.365 6.709 4.173 0 8.183-.982 12.111-3.028 3.927-2.045 7.118-5.072 9.655-9.082 2.537-4.091 3.764-9.164 3.764-15.218Zm65.707-109.395v159.796h-28.23V31.828h28.23Zm44.841 162.169c-7.61 0-14.402-1.391-20.457-4.091-6.055-2.7-10.883-6.791-14.32-12.109-3.518-5.319-5.237-11.946-5.237-19.801 0-6.791 1.228-12.355 3.765-16.773 2.536-4.419 5.891-7.937 10.228-10.637 4.337-2.618 9.164-4.664 14.647-6.055 5.4-1.391 11.046-2.373 16.856-3.027 7.037-.737 12.683-1.391 17.102-1.964 4.337-.573 7.528-1.555 9.574-2.782 1.963-1.309 3.027-3.273 3.027-5.973v-.491c0-5.891-1.718-10.391-5.237-13.664-3.518-3.191-8.51-4.828-15.056-4.828-6.955 0-12.356 1.473-16.447 4.5-4.009 3.028-6.71 6.546-8.183 10.719l-26.348-3.764c2.046-7.282 5.483-13.336 10.31-18.328 4.746-4.909 10.638-8.59 17.511-11.045 6.955-2.455 14.565-3.682 22.912-3.682 5.809 0 11.537.654 17.265 2.045s10.965 3.6 15.711 6.71c4.746 3.109 8.51 7.282 11.455 12.6 2.864 5.318 4.337 11.946 4.337 19.883v80.184h-27.166v-16.446h-.9c-1.719 3.355-4.092 6.464-7.201 9.328-3.109 2.864-6.955 5.237-11.619 6.955-4.828 1.718-10.229 2.536-16.529 2.536Zm7.364-20.701c5.646 0 10.556-1.145 14.729-3.354 4.173-2.291 7.364-5.237 9.655-9.001 2.292-3.763 3.355-7.854 3.355-12.273v-14.155c-.9.737-2.373 1.391-4.5 2.046-2.128.654-4.419 1.145-7.037 1.636-2.619.491-5.155.9-7.692 1.227-2.537.328-4.746.655-6.628.901-4.173.572-8.019 1.472-11.292 2.781-3.355 1.31-5.973 3.11-7.855 5.401-1.964 2.291-2.864 5.318-2.864 8.918 0 5.237 1.882 9.164 5.728 11.782 3.682 2.782 8.51 4.091 14.401 4.091Zm64.643 18.328V71.839h27.412v19.965h1.227c2.21-6.955 5.974-12.274 11.292-16.038 5.319-3.763 11.456-5.645 18.329-5.645 1.555 0 3.355.082 5.237.163 1.964.164 3.601.328 4.91.573v25.938c-1.227-.41-3.109-.819-5.646-1.146a58.814 58.814 0 0 0-7.446-.49c-5.155 0-9.738 1.145-13.829 3.354-4.091 2.209-7.282 5.236-9.655 9.164-2.373 3.927-3.519 8.427-3.519 13.5v70.448h-28.312ZM222.077 39.192l-8.019 125.923L137.387 0l84.69 39.192Zm-53.105 162.825-57.933 33.056-57.934-33.056 11.783-28.556h92.301l11.783 28.556ZM111.039 62.675l30.357 73.803H80.681l30.358-73.803ZM7.937 165.115 0 39.192 84.69 0 7.937 165.115Z"
24-
/>
25-
</g>
26-
<defs>
27-
<radialGradient
28-
id="c"
29-
cx="0"
30-
cy="0"
31-
r="1"
32-
gradientTransform="rotate(118.122 171.182 60.81) scale(205.794)"
33-
gradientUnits="userSpaceOnUse"
34-
>
35-
<stop stop-color="#FF41F8" />
36-
<stop offset=".707" stop-color="#FF41F8" stop-opacity=".5" />
37-
<stop offset="1" stop-color="#FF41F8" stop-opacity="0" />
38-
</radialGradient>
39-
<linearGradient
40-
id="b"
41-
x1="0"
42-
x2="982"
43-
y1="192"
44-
y2="192"
45-
gradientUnits="userSpaceOnUse"
46-
>
47-
<stop stop-color="#F0060B" />
48-
<stop offset="0" stop-color="#F0070C" />
49-
<stop offset=".526" stop-color="#CC26D5" />
50-
<stop offset="1" stop-color="#7702FF" />
51-
</linearGradient>
52-
<clipPath id="a"><path fill="#fff" d="M0 0h982v239H0z" /></clipPath>
53-
</defs>
54-
</svg>
55-
<h1>{{ title }}</h1>
56-
<app-modal-install [active]="isModalActive" (closeModal)="closeModal()" />
57-
<div class="install">
58-
<code class="code-wrapper">{{ codeString }}</code>
59-
<button class="button-modal" type="button" (click)="openModal()">
60-
<svg xmlns="http://www.w3.org/2000/svg" class="gear" xml:space="preserve" width="30" height="30" viewBox="0 0 306.257 306.257"><path d="m274.968 136.765 23.788-21.476-15.897-38.379-32.006 1.635-23.141-23.141 1.635-32.006-38.379-15.897-21.476 23.788h-32.726L115.289 7.5 76.91 23.397l1.635 32.006-23.141 23.141-32.006-1.634-15.897 38.379 23.788 21.476v32.726L7.501 190.967l15.897 38.379 32.007-1.635 23.141 23.141-1.635 32.006 38.379 15.897 21.476-23.788h32.726l21.476 23.788 38.379-15.897-1.635-32.006 23.141-23.141 32.006 1.635 15.897-38.379-23.788-21.476v-32.726zm-121.84 60.808c-24.546 0-44.445-19.898-44.445-44.445 0-24.546 19.899-44.444 44.445-44.444s44.445 19.898 44.445 44.444c0 24.546-19.899 44.445-44.445 44.445z" style="fill:#51b3da"/><path d="M153.128 78.545c-41.191 0-74.583 33.392-74.583 74.583s33.392 74.583 74.583 74.583c41.191 0 74.583-33.392 74.583-74.583s-33.391-74.583-74.583-74.583zm0 119.028c-24.546 0-44.445-19.898-44.445-44.445 0-24.546 19.899-44.444 44.445-44.444s44.445 19.898 44.445 44.444c0 24.546-19.899 44.445-44.445 44.445z" style="fill:#c7e9f4"/><path d="M282.468 166.157v-26.059l21.313-19.243a7.5 7.5 0 0 0 1.903-8.437L289.787 74.04a7.507 7.507 0 0 0-7.311-4.62l-28.678 1.465-18.427-18.427 1.465-28.677a7.501 7.501 0 0 0-4.62-7.312L193.837.571a7.503 7.503 0 0 0-8.438 1.903l-19.241 21.314h-26.06L120.856 2.474a7.502 7.502 0 0 0-8.437-1.903L74.04 16.468a7.5 7.5 0 0 0-4.62 7.312l1.465 28.677-18.427 18.427-28.677-1.464a7.51 7.51 0 0 0-7.312 4.62L.572 112.419a7.5 7.5 0 0 0 1.903 8.437l21.313 19.242v26.06L2.475 185.4a7.5 7.5 0 0 0-1.903 8.437l15.897 38.379a7.5 7.5 0 0 0 7.312 4.62l28.677-1.465 18.427 18.427-1.465 28.677a7.501 7.501 0 0 0 4.62 7.312l38.379 15.897a7.497 7.497 0 0 0 8.437-1.903l19.243-21.314h26.06l19.241 21.314a7.5 7.5 0 0 0 8.437 1.904l38.379-15.897a7.5 7.5 0 0 0 4.62-7.312l-1.465-28.677 18.427-18.427 28.678 1.465a7.498 7.498 0 0 0 7.311-4.62l15.897-38.379a7.5 7.5 0 0 0-1.903-8.437l-21.313-19.244zm-4.513 55.429-26.721-1.365a7.492 7.492 0 0 0-5.686 2.187l-23.141 23.141a7.498 7.498 0 0 0-2.186 5.686l1.365 26.72-28.599 11.846-17.929-19.859a7.502 7.502 0 0 0-5.567-2.474h-32.726a7.5 7.5 0 0 0-5.567 2.474l-17.929 19.859-28.599-11.846 1.365-26.72a7.498 7.498 0 0 0-2.187-5.686l-23.141-23.141a7.49 7.49 0 0 0-5.686-2.187l-26.72 1.365-11.846-28.599 19.859-17.929a7.5 7.5 0 0 0 2.474-5.567v-32.726a7.5 7.5 0 0 0-2.474-5.567l-19.859-17.929L28.301 84.67l26.72 1.365a7.495 7.495 0 0 0 5.686-2.187l23.141-23.141a7.498 7.498 0 0 0 2.187-5.686l-1.365-26.72 28.599-11.846 17.929 19.859a7.5 7.5 0 0 0 5.567 2.474h32.726a7.5 7.5 0 0 0 5.567-2.474l17.929-19.859 28.599 11.846-1.365 26.72a7.5 7.5 0 0 0 2.186 5.686l23.141 23.141a7.486 7.486 0 0 0 5.686 2.187l26.721-1.365 11.846 28.599-19.858 17.929a7.502 7.502 0 0 0-2.475 5.567v32.726c0 2.122.899 4.145 2.475 5.567l19.858 17.929-11.846 28.599z" style="fill:#13829b"/><path d="M153.128 71.045c-45.261 0-82.084 36.822-82.084 82.083s36.822 82.084 82.084 82.084c45.261 0 82.083-36.822 82.083-82.084s-36.822-82.083-82.083-82.083zm0 149.167c-36.99 0-67.084-30.094-67.084-67.084s30.094-67.083 67.084-67.083c36.989 0 67.083 30.094 67.083 67.083s-30.093 67.084-67.083 67.084z" style="fill:#13829b"/><path d="M153.128 101.184c-28.642 0-51.944 23.302-51.944 51.944s23.302 51.944 51.944 51.944c28.643 0 51.944-23.302 51.944-51.944s-23.301-51.944-51.944-51.944zm0 88.888c-20.371 0-36.944-16.573-36.944-36.944s16.573-36.944 36.944-36.944c20.371 0 36.944 16.573 36.944 36.944s-16.573 36.944-36.944 36.944z" style="fill:#13829b"/></svg>
61-
Instalação
62-
</button>
63-
</div>
64-
</div>
65-
<div class="divider" role="separator" aria-label="Divider"></div>
66-
<div class="right-side">
67-
<div class="pill-group">
68-
@for (item of [
69-
{ title: 'Angular a11y', link: 'https://github.com/angular-a11y' },
70-
{ title: 'VLibras Docs', link: 'https://vlibras.gov.br/doc/widget/index.html' },
71-
{ title: 'Angular Dev', link: 'https://angular.dev' },
72-
]; track item.title) {
73-
<a
74-
class="pill"
75-
[href]="item.link"
76-
target="_blank"
77-
rel="noopener"
78-
>
79-
<span>{{ item.title }}</span>
80-
<svg
81-
xmlns="http://www.w3.org/2000/svg"
82-
height="14"
83-
viewBox="0 -960 960 960"
84-
width="14"
85-
fill="currentColor"
86-
>
87-
<path
88-
d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z"
89-
/>
90-
</svg>
91-
</a>
92-
}
93-
</div>
94-
<div class="social-links">
95-
<a
96-
href="https://github.com/angular-a11y/angular-vlibras"
97-
aria-label="Github Angular VLibras"
98-
target="_blank"
99-
rel="noopener"
100-
>
101-
<angular-techs-logos name="github" />
102-
</a>
103-
<a
104-
href="https://www.npmjs.com/package/angular-vlibras"
105-
aria-label="NPM Angular VLibras"
106-
target="_blank"
107-
rel="noopener"
108-
>
109-
<angular-techs-logos name="npm" />
110-
</a>
111-
</div>
112-
</div>
113-
</div>
114-
</main>
1+
<nucleus-angular-app [config]="configNucleus">
2+
<example-vlibras />
3+
</nucleus-angular-app>

0 commit comments

Comments
 (0)