Skip to content

Commit 7012341

Browse files
Fabio BrasileiroFabio Brasileiro
authored andcommitted
ajuste
1 parent 000843f commit 7012341

11 files changed

Lines changed: 69 additions & 74 deletions

angular.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,9 @@
2121
"assets": ["src/favicon.ico", "src/assets"],
2222
"styles": [
2323
"@angular/material/prebuilt-themes/indigo-pink.css",
24-
"src/styles.css",
25-
"node_modules/aos/dist/aos.css"
24+
"src/styles.css"
2625
],
2726
"scripts": [
28-
"node_modules/aos/dist/aos.js"
2927
]
3028
},
3129
"configurations": {
@@ -78,11 +76,9 @@
7876
"assets": ["src/favicon.ico", "src/assets"],
7977
"styles": [
8078
"@angular/material/prebuilt-themes/indigo-pink.css",
81-
"src/styles.css",
82-
"node_modules/aos/dist/aos.css"
79+
"src/styles.css"
8380
],
8481
"scripts": [
85-
"node_modules/aos/dist/aos.js"
8682
]
8783
}
8884
}

package-lock.json

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

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@
2121
"@angular/platform-browser-dynamic": "^17.3.0",
2222
"@angular/router": "^17.3.0",
2323
"@fortawesome/angular-fontawesome": "^0.14.1",
24-
"@types/aos": "^3.0.7",
2524
"angular-font-awesome": "^3.1.2",
26-
"aos": "^2.3.4",
2725
"rxjs": "~7.8.0",
28-
"taos": "^1.0.5",
2926
"tslib": "^2.3.0",
3027
"zone.js": "~0.14.3"
3128
},

src/app/app.routes.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ import { NotFoundComponent } from './not-found/not-found.component';
44

55
export const routes: Routes = [
66
{path: '', component: LandingPageInicioComponent},
7+
// {path: 'porqueJava',component:}
78
{path: '**', component:NotFoundComponent }
89
];

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

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ <h3 class="mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white">D
9292
Java Amazonas
9393
</a>
9494
<span class="block text-sm text-center text-gray-500 dark:text-gray-400">© 2024-2025 Jugle™. All Rights
95-
Reserved. Built with <a href="#" class="text-purple-600 hover:underline dark:text-purple-500">Jugle</a> and <a
96-
href="#" class="text-purple-600 hover:underline dark:text-purple-500">Amazonas</a>.
95+
Reserved. Built with <a href="#" class="text-green-600 hover:underline dark:text-green-500">Jugle</a> and <a
96+
href="#" class="text-green-600 hover:underline dark:text-green-500">Amazonas</a>.
9797
</span>
9898
<ul class="flex justify-center mt-5 space-x-5">
9999
<!-- <li>
@@ -106,7 +106,8 @@ <h3 class="mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white">D
106106
</a>
107107
</li> -->
108108
<li>
109-
<a href="https://www.instagram.com/javaamazonas" class="text-gray-500 hover:text-gray-900 dark:hover:text-white dark:text-gray-400">
109+
<a href="https://www.instagram.com/javaamazonas"
110+
class="text-gray-500 hover:text-gray-900 dark:hover:text-white dark:text-gray-400">
110111
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
111112
<path fill-rule="evenodd"
112113
d="M12.315 2c2.43 0 2.784.013 3.808.06 1.064.049 1.791.218 2.427.465a4.902 4.902 0 011.772 1.153 4.902 4.902 0 011.153 1.772c.247.636.416 1.363.465 2.427.048 1.067.06 1.407.06 4.123v.08c0 2.643-.012 2.987-.06 4.043-.049 1.064-.218 1.791-.465 2.427a4.902 4.902 0 01-1.153 1.772 4.902 4.902 0 01-1.772 1.153c-.636.247-1.363.416-2.427.465-1.067.048-1.407.06-4.123.06h-.08c-2.643 0-2.987-.012-4.043-.06-1.064-.049-1.791-.218-2.427-.465a4.902 4.902 0 01-1.772-1.153 4.902 4.902 0 01-1.153-1.772c-.247-.636-.416-1.363-.465-2.427-.047-1.024-.06-1.379-.06-3.808v-.63c0-2.43.013-2.784.06-3.808.049-1.064.218-1.791.465-2.427a4.902 4.902 0 011.153-1.772A4.902 4.902 0 015.45 2.525c.636-.247 1.363-.416 2.427-.465C8.901 2.013 9.256 2 11.685 2h.63zm-.081 1.802h-.468c-2.456 0-2.784.011-3.807.058-.975.045-1.504.207-1.857.344-.467.182-.8.398-1.15.748-.35.35-.566.683-.748 1.15-.137.353-.3.882-.344 1.857-.047 1.023-.058 1.351-.058 3.807v.468c0 2.456.011 2.784.058 3.807.045.975.207 1.504.344 1.857.182.466.399.8.748 1.15.35.35.683.566 1.15.748.353.137.882.3 1.857.344 1.054.048 1.37.058 4.041.058h.08c2.597 0 2.917-.01 3.96-.058.976-.045 1.505-.207 1.858-.344.466-.182.8-.398 1.15-.748.35-.35.566-.683.748-1.15.137-.353.3-.882.344-1.857.048-1.055.058-1.37.058-4.041v-.08c0-2.597-.01-2.917-.058-3.96-.045-.976-.207-1.505-.344-1.858a3.097 3.097 0 00-.748-1.15 3.098 3.098 0 00-1.15-.748c-.353-.137-.882-.3-1.857-.344-1.023-.047-1.351-.058-3.807-.058zM12 6.865a5.135 5.135 0 110 10.27 5.135 5.135 0 010-10.27zm0 1.802a3.333 3.333 0 100 6.666 3.333 3.333 0 000-6.666zm5.338-3.205a1.2 1.2 0 110 2.4 1.2 1.2 0 010-2.4z"
@@ -123,7 +124,8 @@ <h3 class="mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white">D
123124
</a>
124125
</li> -->
125126
<li>
126-
<a href="https://github.com/JavaAmazonas/" target="_blank" class="text-gray-500 hover:text-gray-900 dark:hover:text-white dark:text-gray-400">
127+
<a href="https://github.com/JavaAmazonas/" target="_blank"
128+
class="text-gray-500 hover:text-gray-900 dark:hover:text-white dark:text-gray-400">
127129
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 24 24" aria-hidden="true">
128130
<path fill-rule="evenodd"
129131
d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z"
@@ -143,4 +145,4 @@ <h3 class="mb-6 text-sm font-semibold text-gray-900 uppercase dark:text-white">D
143145
</ul>
144146
</div>
145147
</div>
146-
</footer>
148+
</footer>

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

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<header class="fixed w-full backdrop-blur z-10" >
1+
<header class="fixed w-full backdrop-blur z-10">
22
<nav class="bg-zinc-300 opacity-85 border-gray-200 py-2.5 dark:bg-gray-900">
33
<div class="flex flex-wrap items-center justify-between max-w-screen-xl px-4 mx-auto">
44
<a href="#" class="flex items-center">
@@ -13,7 +13,7 @@
1313
</div>
1414
<!-- <a href="#" class="text-gray-800 dark:text-white hover:bg-gray-50 focus:ring-4 focus:ring-gray-300 font-medium rounded-lg text-sm px-4 lg:px-5 py-2 lg:py-2.5 sm:mr-2 dark:hover:bg-gray-700 focus:outline-none dark:focus:ring-gray-800">Log in</a> -->
1515
<!-- <a href="https://themesberg.com/product/tailwind-css/landing-page"
16-
class="text-white bg-purple-700 hover:bg-purple-800 focus:ring-4 focus:ring-purple-300 font-medium rounded-lg text-sm px-4 lg:px-5 py-2 lg:py-2.5 sm:mr-2 lg:mr-0 dark:bg-purple-600 dark:hover:bg-purple-700 focus:outline-none dark:focus:ring-purple-800">Download</a> -->
16+
class="text-white bg-green-700 hover:bg-green-800 focus:ring-4 focus:ring-green-300 font-medium rounded-lg text-sm px-4 lg:px-5 py-2 lg:py-2.5 sm:mr-2 lg:mr-0 dark:bg-green-600 dark:hover:bg-green-700 focus:outline-none dark:focus:ring-green-800">Download</a> -->
1717
<button data-collapse-toggle="mobile-menu-2" type="button"
1818
class="inline-flex items-center p-2 ml-1 text-sm text-gray-500 rounded-lg lg:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600"
1919
aria-controls="mobile-menu-2" aria-expanded="false">
@@ -33,31 +33,31 @@
3333
<div class="items-center justify-between hidden w-full lg:flex lg:w-auto lg:order-1" id="mobile-menu-2">
3434
<ul class="flex flex-col mt-4 font-medium lg:flex-row lg:space-x-8 lg:mt-0">
3535
<li>
36-
<a href="#"
37-
class="block py-2 pl-3 pr-4 text-white bg-purple-700 rounded lg:bg-transparent lg:text-purple-700 lg:p-0 dark:text-white"
36+
<a (click)="inicio()"
37+
class="block cursor-pointer py-2 pl-3 pr-4 text-white bg-green-700 rounded lg:bg-transparent lg:text-green-700 lg:p-0 dark:text-white"
3838
aria-current="page">Início</a>
3939
</li>
4040
<li>
41-
<a href="#"
42-
class="block py-2 pl-3 pr-4 text-gray-700 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-purple-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700">Por
41+
<a (click)="porqueJava()" routerLinkActive="dark:text-white"
42+
class="block cursor-pointer py-2 pl-3 pr-4 text-gray-700 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-green-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700">Por
4343
que Java?</a>
4444
</li>
4545
<li>
46-
<a href="#"
47-
class="block py-2 pl-3 pr-4 text-gray-700 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-purple-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700">Sobre
46+
<a (click)="sobre()"
47+
class="block cursor-pointer py-2 pl-3 pr-4 text-gray-700 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-green-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700">Sobre
4848
a comunidade</a>
4949
</li>
5050
<li>
51-
<a href="#"
52-
class="block py-2 pl-3 pr-4 text-gray-700 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-purple-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700">Eventos</a>
51+
<a (click)="evento()"
52+
class="block cursor-pointer py-2 pl-3 pr-4 text-gray-700 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-green-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700">Eventos</a>
5353
</li>
5454
<li>
55-
<a href="#"
56-
class="block py-2 pl-3 pr-4 text-gray-700 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-purple-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700">Contato</a>
55+
<a (click)="contato()"
56+
class="block py-2 cursor-pointer pl-3 pr-4 text-gray-700 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-green-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700">Contato</a>
5757
</li>
5858
<!-- <li>
5959
<a href="#"
60-
class="block py-2 pl-3 pr-4 text-gray-700 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-purple-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700">Contact</a>
60+
class="block py-2 pl-3 pr-4 text-gray-700 border-b border-gray-100 hover:bg-gray-50 lg:hover:bg-transparent lg:border-0 lg:hover:text-green-700 lg:p-0 dark:text-gray-400 lg:dark:hover:text-white dark:hover:bg-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700">Contact</a>
6161
</li> -->
6262
</ul>
6363
</div>

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

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component } from '@angular/core';
1+
import { Component, ElementRef } from '@angular/core';
22
import { ButtonToggleDarkLightComponent } from '../button-toggle-dark-light/button-toggle-dark-light.component';
33

44
@Component({
@@ -9,5 +9,21 @@ import { ButtonToggleDarkLightComponent } from '../button-toggle-dark-light/butt
99
styleUrl: './header-landing-page.component.css',
1010
})
1111
export class HeaderLandingPageComponent {
12-
12+
inicio() {
13+
document.getElementById('inicio')?.scrollIntoView({ behavior: 'smooth' });
14+
}
15+
porqueJava() {
16+
document
17+
.getElementById('porqueJava')
18+
?.scrollIntoView({ behavior: 'smooth' });
19+
}
20+
sobre() {
21+
document.getElementById('sobre')?.scrollIntoView({ behavior: 'smooth' });
22+
}
23+
evento() {
24+
document.getElementById('evento')?.scrollIntoView({ behavior: 'smooth' });
25+
}
26+
contato() {
27+
document.getElementById('contato')?.scrollIntoView({ behavior: 'smooth' });
28+
}
1329
}

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<app-header-landing-page></app-header-landing-page>
22
<!-- Start block -->
3-
<section class="bg-zinc-300 dark:bg-gray-900">
3+
<section class="bg-zinc-300 dark:bg-gray-900" id="inicio">
44
<div class="grid max-w-screen-xl px-4 pt-20 pb-8 mx-auto lg:gap-8 xl:gap-0 lg:py-16 lg:grid-cols-12 lg:pt-28">
55
<div class="mr-auto place-self-center lg:col-span-7">
66
<p class=" font-light text-zinc-600 dark:text-gray-500">Alô programador (a) Java! Conheça a</p>
@@ -39,7 +39,7 @@
3939
</div>
4040
</div>
4141
<div class="hidden lg:mt-0 lg:col-span-5 lg:flex">
42-
<img class="floating" src="../assets/java-jugle-comunidade.png" alt="hero image" height="">
42+
<img class="floating" src="../assets/java-jugle-comunidade (1).png" alt="hero image" height="">
4343
</div>
4444
</div>
4545
</section>
@@ -179,12 +179,12 @@
179179
<!-- End block -->
180180
<!-- Start block -->
181181
<section class="bg-zinc-200 dark:bg-gray-800">
182-
<div>
182+
<div id="porqueJava">
183183
<div class="max-w-screen-xl px-4 py-8 mx-auto space-y-12 lg:space-y-20 lg:py-24 lg:px-6">
184184
<!-- Row -->
185185
<div class="items-center gap-8 lg:grid lg:grid-cols-2 xl:gap-16">
186186
<div class="text-zinc-600 sm:text-lg dark:text-gray-400">
187-
<h2 class="mb-4 text-3xl font-extrabold tracking-tight text-gray-900 dark:text-white">Por que aprender Java?
187+
<h2 class="mb-4 text-3xl font-extrabold tracking-tight text-gray-900 dark:text-white" >Por que aprender Java?
188188
</h2>
189189
<p class="mb-8 font-light lg:text-xl">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dicta
190190
repellendus soluta sed non iusto, dolores, vel aliquid perspiciatis nulla animi dolorem dignissimos
@@ -309,7 +309,7 @@ <h2 class="mb-4 text-3xl font-extrabold tracking-tight text-gray-900 dark:text-w
309309
</section>
310310
<!-- End block -->
311311
<!-- Start block -->
312-
<section class="bg-zinc-300 dark:bg-gray-900">
312+
<section class="bg-zinc-300 dark:bg-gray-900" id="sobre">
313313
<div
314314
class="items-center max-w-screen-xl px-4 py-8 mx-auto lg:grid lg:grid-cols-4 lg:gap-16 xl:gap-24 lg:py-24 lg:px-6">
315315
<div class="col-span-2 mb-8">
@@ -327,7 +327,7 @@ <h2 class="mt-3 mb-4 text-3xl font-extrabold tracking-tight text-gray-900 md:tex
327327
<div class="pt-6 mt-6 space-y-4 border-t border-gray-200 dark:border-gray-700">
328328
<div>
329329
<a href="https://dev.java/community/jugs/" target="_blank"
330-
class="inline-flex items-center text-base font-medium text-purple-600 hover:text-green-800 dark:text-green-500 dark:hover:text-purple-700">
330+
class="inline-flex items-center text-base font-medium text-green-600 hover:text-green-800 dark:text-green-500 dark:hover:text-green-700">
331331
Site do java
332332
<svg class="w-5 h-5 ml-1" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
333333
<path fill-rule="evenodd"
@@ -475,7 +475,7 @@ <h3 class="text-2xl font-bold text-md mb-6">Compartilhamento</h3>
475475
<!-- End block -->
476476
<!-- Start block -->
477477

478-
<section class="bg-zinc-200 dark:bg-gray-800">
478+
<section class="bg-zinc-200 dark:bg-gray-800" id="evento">
479479
<div class="max-w-screen-xl px-4 py-8 mx-auto lg:py-24 lg:px-6">
480480
<div class="max-w-screen-md mx-auto mb-8 text-center lg:mb-12">
481481
<h2 class="mb-4 text-3xl font-extrabold tracking-tight text-gray-900 dark:text-white">Eventos</h2>
@@ -680,7 +680,7 @@ <h3 id="accordion-flush-heading-3">
680680
</section>
681681
<!-- End block -->
682682
<!-- Start block -->
683-
<section class="bg-zinc-200 dark:bg-gray-800">
683+
<section class="bg-zinc-200 dark:bg-gray-800" id="contato">
684684
<div class="max-w-screen-xl px-4 pt-8 mx-auto lg:pt-16 lg:px-6">
685685
<div class="max-w-screen-sm mx-auto text-center">
686686
<h2 class="mb-4 text-3xl font-extrabold leading-tight tracking-tight text-gray-900 dark:text-white">Contato</h2>

0 commit comments

Comments
 (0)