Skip to content

Commit c4d5997

Browse files
Fabio BrasileiroFabio Brasileiro
authored andcommitted
ajuste
1 parent d974eb5 commit c4d5997

5 files changed

Lines changed: 100 additions & 6 deletions

File tree

src/app/page/footer/footer.component.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,5 @@ <h3 class="mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white">D
145145
</ul>
146146
</div>
147147
</div>
148-
</footer>
148+
<div class="c-indicator bg-gray-200 dark:bg-gray-600"></div>
149+
</footer>

src/app/page/header-landing-page/header-landing-page.component.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
display: none;
44
}
55
}
6+
7+

src/app/page/landing-page-inicio/landing-page-inicio.component.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
h1 {
22
font-family: jungle;
33
}
4+
45
@keyframes bounce {
56
0%,
67
100% {

src/app/page/landing-page-inicio/landing-page-inicio.component.html

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ <h3 class="mb-4 text-2xl font-semibold">Starter</h3>
598598
data-active-classes="bg-white dark:bg-gray-900 text-gray-900 dark:text-white"
599599
data-inactive-classes="text-gray-500 dark:text-gray-400">
600600
<h3 id="accordion-flush-heading-1">
601-
<button type="button" (click)="isOpen1 = !isOpen1" [attr.aria-expanded]="isOpen1 ? 'true' : 'false'"
601+
<!-- <button type="button" (click)="isOpen1 = !isOpen1" [attr.aria-expanded]="isOpen1 ? 'true' : 'false'"
602602
class="flex items-center justify-between w-full py-5 font-medium text-left text-gray-900 bg-white border-b border-gray-200 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-400"
603603
[ngClass]="{'dark:text-gray-50': isOpen1}" data-accordion-target="#accordion-flush-body-1"
604604
aria-expanded="true" aria-controls="accordion-flush-body-1">
@@ -609,6 +609,19 @@ <h3 id="accordion-flush-heading-1">
609609
d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
610610
clip-rule="evenodd"></path>
611611
</svg>
612+
</button> -->
613+
<button type="button" (click)="isOpen1 = !isOpen1" [attr.aria-expanded]="isOpen1 ? 'true' : 'false'"
614+
[ngClass]="{'dark:text-gray-50': isOpen1}"
615+
class="flex items-center justify-between w-full py-5 font-medium text-left text-gray-500 border-b border-gray-200 dark:border-gray-700 dark:text-gray-400"
616+
data-accordion-target="#accordion-flush-body-2" aria-expanded="false"
617+
aria-controls="accordion-flush-body-2">
618+
<span>Como posso participar ou ate contribuir?</span>
619+
<svg data-accordion-icon="" class="w-6 h-6 shrink-0" fill="currentColor" viewBox="0 0 20 20"
620+
xmlns="http://www.w3.org/2000/svg">
621+
<path fill-rule="evenodd"
622+
d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z"
623+
clip-rule="evenodd"></path>
624+
</svg>
612625
</button>
613626
</h3>
614627
<div id="accordion-flush-body-1" [ngClass]="{'hidden': !isOpen1}" class=""
@@ -773,4 +786,4 @@ <h2 class="mb-4 text-3xl font-extrabold leading-tight tracking-tight text-gray-9
773786
</div>
774787
</section>
775788
<app-footer></app-footer>
776-
<!-- <script src="https://unpkg.com/flowbite@1.4.1/dist/flowbite.js"></script> -->
789+
<!-- <script src="https://unpkg.com/flowbite@1.4.1/dist/flowbite.js"></script> -->

src/styles.css

Lines changed: 80 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,85 @@
44
@tailwind utilities;
55

66
.display-none {
7-
@apply hidden
7+
@apply hidden;
88
}
9+
:root {
10+
--scroll-height: 4px;
11+
}
12+
html,
13+
body {
14+
height: 100%;
15+
}
16+
body {
17+
margin: 0;
18+
font-family: Roboto, "Helvetica Neue", sans-serif;
19+
}
20+
21+
img {
22+
max-width: 100%;
23+
}
24+
/*
25+
section {
26+
font-size: 1.5rem;
27+
margin-inline: auto;
28+
padding-block: var(--scroll-height);
29+
width: min(60ch, 100%);
30+
} */
31+
32+
img {
33+
animation: reveal 1ms ease-in-out both;
34+
animation-timeline: view();
35+
animation-range: entry 25% cover 50%;
36+
}
37+
.c-indicator {
38+
bottom: 0;
39+
animation: scroll 1ms ease-in-out;
40+
animation-timeline: scroll(root);
41+
/* background-color: rgb(156 163 175); */
42+
transform-origin: left;
43+
height: var(--scroll-height);
44+
inset: 0;
45+
position: fixed;
46+
z-index: 20;
47+
}
48+
@keyframes scroll {
49+
from {
50+
scale: 0 1;
51+
}
52+
53+
to {
54+
scale: 1 1;
55+
}
56+
}
57+
58+
/* .c-indicator {
59+
margin-top: 50px;
60+
animation: scroll 1ms ease-in-out;
61+
animation-timeline: scroll(root);
62+
background-color: rgb(221, 246, 204);
63+
transform-origin: left;
64+
height: var(--scroll-height);
65+
inset: 0;
66+
position: fixed;
67+
} */
68+
/* @keyframes scroll {
69+
from {
70+
scale: 0 1;
71+
}
972
10-
html, body { height: 100%; }
11-
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }
73+
to {
74+
scale: 1 1;
75+
}
76+
} */
77+
78+
@keyframes reveal {
79+
from {
80+
opacity: 0;
81+
clip-path: inset(45% 20% 45% 20%);
82+
}
83+
84+
to {
85+
opacity: 1;
86+
clip-path: inset(0% 0% 0% 0%);
87+
}
88+
}

0 commit comments

Comments
 (0)