Skip to content

Commit d2ecb1d

Browse files
Fabio BrasileiroFabio Brasileiro
authored andcommitted
feat:v1.0
1 parent 6ddedbf commit d2ecb1d

18 files changed

Lines changed: 89 additions & 32 deletions

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
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"
1616
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> -->
17-
<button data-collapse-toggle="mobile-menu-2" type="button" (click)="removerHidden()"
17+
<button data-collapse-toggle="mobile-menu-2" type="button" (click)="toggleMenu()"
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">
2020
<span class="sr-only">Open main menu</span>
@@ -34,30 +34,30 @@
3434
<ul class="flex flex-col mt-4 font-medium lg:flex-row lg:space-x-8 lg:mt-0">
3535
<li>
3636
<a (click)="inicio()"
37-
[ngClass]="activeLink === 'inicio' ? 'max-lg:bg-green-700 dark:text-white ':'dark:text-gray-400 dark:hover:bg-gray-700'"
38-
class="nav-link block cursor-pointer py-2 pl-3 pr-4 text-whiterounded lg:bg-transparent lg:text-green-700 lg:p-0 dark:hover:text-white"
37+
[ngClass]="activeLink === 'inicio' ? 'max-lg:bg-green-700 text-white lg:text-green-700 dark:text-white ':' hover:bg-gray-200 hover:text-gray-950 dark:text-gray-400 dark:hover:bg-gray-700'"
38+
class="nav-link block cursor-pointer py-2 pl-3 pr-4 text-whiterounded text-gray-700 lg:bg-transparent lg:p-0 dark:hover:text-white"
3939
aria-current="page">Início</a>
4040
</li>
4141
<li>
4242
<a (click)="porqueJava()"
43-
[ngClass]="activeLink === 'porqueJava' ? ' max-lg:bg-green-700 dark:text-white':'dark:text-gray-400 dark:hover:bg-gray-700'"
44-
class="nav-link block cursor-pointer py-2 pl-3 pr-4 text-gray-700 border-b border-gray-100 lg:hover:bg-transparent lg:border-0 lg:hover:text-green-700 lg:p-0 dark:text-gray-400 hover:text-white dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700">Por
43+
[ngClass]="activeLink === 'porqueJava' ? ' max-lg:bg-green-700 text-white lg:text-green-700 dark:text-white ':' hover:bg-gray-200 hover:text-gray-950 dark:text-gray-400 dark:hover:bg-gray-700'"
44+
class="nav-link block cursor-pointer py-2 pl-3 pr-4 border-b border-gray-100 lg:hover:bg-transparent lg:border-0 lg:hover:text-green-700 lg:p-0 dark:text-gray-400 text-gray-700 dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700">Por
4545
que Java?</a>
4646
</li>
4747
<li>
4848
<a (click)="sobre()"
49-
[ngClass]="activeLink === 'sobre' ? ' max-lg:bg-green-700 dark:text-white':'dark:text-gray-400 dark:hover:bg-gray-700'"
49+
[ngClass]="activeLink === 'sobre' ? 'max-lg:bg-green-700 text-white lg:text-green-700 dark:text-white ':'hover:bg-gray-200 hover:text-gray-950 dark:text-gray-400 dark:hover:bg-gray-700'"
5050
class="nav-link block cursor-pointer py-2 pl-3 pr-4 text-gray-700 border-b border-gray-100 lg:hover:bg-transparent lg:border-0 lg:hover:text-green-700 lg:p-0 dark:text-gray-400 hover:text-white dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700">Sobre
5151
a comunidade</a>
5252
</li>
5353
<li>
5454
<a (click)="evento()"
55-
[ngClass]="activeLink === 'evento' ? ' max-lg:bg-green-700 dark:text-white':'dark:text-gray-400 dark:hover:bg-gray-700'"
55+
[ngClass]="activeLink === 'evento' ? 'max-lg:bg-green-700 text-white lg:text-green-700 dark:text-white ':' hover:bg-gray-200 hover:text-gray-950 dark:text-gray-400 dark:hover:bg-gray-700'"
5656
class="nav-link block cursor-pointer py-2 pl-3 pr-4 text-gray-700 border-b border-gray-100 lg:hover:bg-transparent lg:border-0 lg:hover:text-green-700 lg:p-0 dark:text-gray-400 hover:text-white dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700">Eventos</a>
5757
</li>
5858
<li>
5959
<a (click)="contato()"
60-
[ngClass]="activeLink === 'contato' ? ' max-lg:bg-green-700 dark:text-white':'dark:text-gray-400 dark:hover:bg-gray-700'"
60+
[ngClass]="activeLink === 'contato' ? ' max-lg:bg-green-700 text-white lg:text-green-700 dark:text-white ':' hover:bg-gray-200 hover:text-gray-950 dark:text-gray-400 dark:hover:bg-gray-700'"
6161
class="nav-link block cursor-pointer py-2 pl-3 pr-4 text-gray-700 border-b border-gray-100 lg:hover:bg-transparent lg:border-0 lg:hover:text-green-700 lg:p-0 dark:text-gray-400 hover:text-white dark:hover:text-white lg:dark:hover:bg-transparent dark:border-gray-700">Contato</a>
6262
</li>
6363
<!-- <li>

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component, ElementRef } from '@angular/core';
1+
import { Component, ElementRef, EventEmitter, Input, input, Output } from '@angular/core';
22
import { ButtonToggleDarkLightComponent } from '../button-toggle-dark-light/button-toggle-dark-light.component';
33
import { NgClass } from '@angular/common';
44

@@ -14,7 +14,7 @@ export class HeaderLandingPageComponent {
1414
inicio() {
1515
document.getElementById('inicio')?.scrollIntoView({ behavior: 'smooth' });
1616
if (window.innerWidth < 10) {
17-
this.removerHidden();
17+
this.toggleMenu();
1818
}
1919
this.activeLink = 'inicio';
2020
}
@@ -23,14 +23,14 @@ export class HeaderLandingPageComponent {
2323
.getElementById('porqueJava')
2424
?.scrollIntoView({ behavior: 'smooth' });
2525
if (window.innerWidth < 1024) {
26-
this.removerHidden();
26+
this.toggleMenu();
2727
}
2828
this.activeLink = 'porqueJava';
2929
}
3030
sobre() {
3131
document.getElementById('sobre')?.scrollIntoView({ behavior: 'smooth' });
3232
if (window.innerWidth < 1024) {
33-
this.removerHidden();
33+
this.toggleMenu();
3434
}
3535
this.activeLink = 'sobre'
3636
// Ativa a classe dark:text-white
@@ -39,23 +39,24 @@ export class HeaderLandingPageComponent {
3939
evento() {
4040
document.getElementById('evento')?.scrollIntoView({ behavior: 'smooth' });
4141
if (window.innerWidth < 1024) {
42-
this.removerHidden();
42+
this.toggleMenu();
4343
}
4444
this.activeLink = 'evento';
4545
}
4646
contato() {
4747
document.getElementById('contato')?.scrollIntoView({ behavior: 'smooth' });
4848
if (window.innerWidth < 1024) {
49-
this.removerHidden();
49+
this.toggleMenu();
5050
}
5151
this.activeLink = 'contato';
5252
}
5353

5454
// Método para remover a classe 'hidden'
55-
removerHidden() {
55+
toggleMenu() {
5656
const mobileMenu = document.getElementById('mobile-menu-2');
5757
if (mobileMenu) {
5858
mobileMenu.classList.toggle('hidden');
5959
}
6060
}
61+
6162
}

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

Lines changed: 29 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<app-header-landing-page (click)="onThemeChange()"></app-header-landing-page>
1+
<app-header-landing-page></app-header-landing-page>
22
<!-- Start block -->
33
<style>
44
.img-t {
@@ -53,15 +53,15 @@
5353
class="bi bi-discord w-4 h-4 mr-2 " viewBox="0 0 16 16">
5454
<path
5555
d="M13.545 2.907a13.2 13.2 0 0 0-3.257-1.011.05.05 0 0 0-.052.025c-.141.25-.297.577-.406.833a12.2 12.2 0 0 0-3.658 0 8 8 0 0 0-.412-.833.05.05 0 0 0-.052-.025c-1.125.194-2.22.534-3.257 1.011a.04.04 0 0 0-.021.018C.356 6.024-.213 9.047.066 12.032q.003.022.021.037a13.3 13.3 0 0 0 3.995 2.02.05.05 0 0 0 .056-.019q.463-.63.818-1.329a.05.05 0 0 0-.01-.059l-.018-.011a9 9 0 0 1-1.248-.595.05.05 0 0 1-.02-.066l.015-.019q.127-.095.248-.195a.05.05 0 0 1 .051-.007c2.619 1.196 5.454 1.196 8.041 0a.05.05 0 0 1 .053.007q.121.1.248.195a.05.05 0 0 1-.004.085 8 8 0 0 1-1.249.594.05.05 0 0 0-.03.03.05.05 0 0 0 .003.041c.24.465.515.909.817 1.329a.05.05 0 0 0 .056.019 13.2 13.2 0 0 0 4.001-2.02.05.05 0 0 0 .021-.037c.334-3.451-.559-6.449-2.366-9.106a.03.03 0 0 0-.02-.019m-8.198 7.307c-.789 0-1.438-.724-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.45.73 1.438 1.613 0 .888-.637 1.612-1.438 1.612m5.316 0c-.788 0-1.438-.724-1.438-1.612s.637-1.613 1.438-1.613c.807 0 1.451.73 1.438 1.613 0 .888-.631 1.612-1.438 1.612" />
56-
<title>Figma.logo</title>
57-
<desc>Created using Figma</desc>
56+
<title>discord.logo</title>
57+
<desc>Call using Discord</desc>
5858
</svg>
5959
<span class="dark:text-white ">Conecte-se no discord</span>
6060
</a>
6161
</div>
6262
</div>
6363
<div class="hidden lg:mt-0 lg:col-span-5 lg:flex">
64-
<img class="floating" src="../assets/java-jugle-comunidade (1).png" alt="hero image" height="">
64+
<img class="floating" src="../assets/java_AM_no_sides.png" alt="hero image" height="">
6565
</div>
6666
</div>
6767
</div>
@@ -611,8 +611,8 @@ <h3 id="accordion-flush-heading-1">
611611
</svg>
612612
</button> -->
613613
<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"
614+
[ngClass]="{'text-gray-800 dark:text-gray-50': isOpen1}"
615+
class="flex items-center justify-between w-full py-5 font-medium text-left text-gray-600 border-b border-gray-200 dark:border-gray-700 dark:text-gray-400"
616616
data-accordion-target="#accordion-flush-body-2" aria-expanded="false"
617617
aria-controls="accordion-flush-body-2">
618618
<span>Como posso participar ou ate contribuir?</span>
@@ -627,14 +627,21 @@ <h3 id="accordion-flush-heading-1">
627627
<div id="accordion-flush-body-1" [ngClass]="{'hidden': !isOpen1}" class=""
628628
aria-labelledby="accordion-flush-heading-1">
629629
<div class="py-5 border-b border-gray-200 dark:border-gray-700">
630-
<p class="mb-2 text-gray-500 dark:text-gray-400">Essa é fácil entre no nosso grupo e saiba mais <a
631-
class="text-green-600 dark:text-green-500 hover:underline">link</a></p>
630+
<p class="mb-2 text-gray-600 dark:text-gray-400">Essa é fácil entre no nosso grupo e saiba mais <a
631+
class="text-green-600 dark:text-green-500 hover:underline"><svg xmlns="http://www.w3.org/2000/svg"
632+
width="16" height="16" fill="currentColor" class="bi bi-box-arrow-up-right inline-block"
633+
viewBox="0 0 20 20">
634+
<path fill-rule="evenodd"
635+
d="M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5" />
636+
<path fill-rule="evenodd"
637+
d="M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0z" />
638+
</svg></a></p>
632639
</div>
633640
</div>
634641
<h3 id="accordion-flush-heading-2">
635642
<button type="button" (click)="isOpen2 = !isOpen2" [attr.aria-expanded]="isOpen2 ? 'true' : 'false'"
636-
[ngClass]="{'dark:text-gray-50': isOpen2}"
637-
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"
643+
[ngClass]="{'text-gray-800 dark:text-gray-50': isOpen2}"
644+
class="flex items-center justify-between w-full py-5 font-medium text-left text-gray-600 border-b border-gray-200 dark:border-gray-700 dark:text-gray-400"
638645
data-accordion-target="#accordion-flush-body-2" aria-expanded="false"
639646
aria-controls="accordion-flush-body-2">
640647
<span>Quanto vai ter eventos, aulas ou palestra?</span>
@@ -648,14 +655,21 @@ <h3 id="accordion-flush-heading-2">
648655
</h3>
649656
<div id="accordion-flush-body-2" [ngClass]="{'hidden': !isOpen2}" aria-labelledby="accordion-flush-heading-2">
650657
<div class="py-5 border-b border-gray-200 dark:border-gray-700">
651-
<p class="mb-2 text-gray-500 dark:text-gray-400">Fique de olho no nosso grupo no discord é la que ocorre a
652-
maioria do <a eventos class="text-green-600 dark:text-green-500 hover:underline">Link</a>.</p>
658+
<p class="mb-2 text-gray-600 dark:text-gray-400">Fique de olho no nosso grupo no discord é la que ocorre a
659+
maioria dos eventos <a class="text-green-600 dark:text-green-500 hover:underline"><svg
660+
xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
661+
class="bi bi-box-arrow-up-right inline-block" viewBox="0 0 20 20">
662+
<path fill-rule="evenodd"
663+
d="M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5" />
664+
<path fill-rule="evenodd"
665+
d="M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0z" />
666+
</svg></a></p>
653667
</div>
654668
</div>
655669
<h3 id="accordion-flush-heading-3">
656670
<button type="button" (click)="isOpen3 = !isOpen3" [attr.aria-expanded]="isOpen3 ? 'true' : 'false'"
657-
[ngClass]="{'dark:text-gray-50': isOpen3}"
658-
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"
671+
[ngClass]="{'text-gray-800 dark:text-gray-50': isOpen3}"
672+
class="flex items-center justify-between w-full py-5 font-medium text-left text-gray-600 border-b border-gray-200 dark:border-gray-700 dark:text-gray-400"
659673
data-accordion-target="#accordion-flush-body-3" aria-expanded="false"
660674
aria-controls="accordion-flush-body-3">
661675
<span>Pensamos em expandir a comunidade?</span>
@@ -670,7 +684,7 @@ <h3 id="accordion-flush-heading-3">
670684
<div id="accordion-flush-body-3" [ngClass]="{'hidden': !isOpen3}" class="hidden"
671685
aria-labelledby="accordion-flush-heading-3">
672686
<div class="py-5 border-b border-gray-200 dark:border-gray-700">
673-
<p class="mb-2 text-gray-500 dark:text-gray-400">A resposta é sim, queremos criar um ecossistema de
687+
<p class="mb-2 text-gray-600 dark:text-gray-400">A resposta é sim, queremos criar um ecossistema de
674688
comunidades de desenvolvedores na Amazonia. Dessa forma, não queremos apenas evangelizar nosso querido
675689
Java, mas mostrar o quão grande é esse guarda-chuva, incluindo Linux, JavaScript, AWS e muito mais além da
676690
sopa de letrinhas com devOps,Full-stack, Front-end, Back-end, Hacker... Depende apenas de nós colaborarmos
@@ -786,4 +800,3 @@ <h2 class="mb-4 text-3xl font-extrabold leading-tight tracking-tight text-gray-9
786800
</div>
787801
</section>
788802
<app-footer></app-footer>
789-
<!-- <script src="https://unpkg.com/flowbite@1.4.1/dist/flowbite.js"></script> -->

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Component, ElementRef, EventEmitter, OnInit, Output } from '@angular/core';
1+
import { Component, ElementRef, EventEmitter, OnInit, output, Output } from '@angular/core';
22
import { HeaderLandingPageComponent } from '../header-landing-page/header-landing-page.component';
33
import { FooterComponent } from '../footer/footer.component';
44
import { SliderEventComponent } from '../slider-event/slider-event.component';
@@ -72,4 +72,9 @@ export class LandingPageInicioComponent {
7272
behavior: 'smooth', // Rola suavemente
7373
});
7474
}
75+
hideMenu: boolean = false;
76+
77+
updateHideMenu(newValue: boolean): void {
78+
this.hideMenu = newValue;
79+
}
7580
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
1001Fonts Free For Personal Use License (FFP)
2+
3+
Preamble
4+
In this license, 'Jungle Ranger' refers to the given .zip file, which may contain one or numerous fonts. These fonts can be of any type (.ttf, .otf, ...) and together they form a 'font family' or in short a 'typeface'.
5+
6+
1. Copyright
7+
Jungle Ranger is the intellectual property of its respective author, provided it is original, and is protected by copyright laws in many parts of the world.
8+
9+
2. Personal Use
10+
Jungle Ranger may be downloaded and used free of charge for personal use, as long as the usage is not racist or illegal. Personal use refers to all usage that does not generate financial income in a business manner, for instance:
11+
12+
- personal scrapbooking for yourself
13+
- recreational websites and blogs for friends and family
14+
- prints such as flyers, posters, t-shirts for churches, charities, and non-profit organizations
15+
16+
3. Commercial Use
17+
Commercial use is not allowed without prior written permission from the respective author. Please contact the author to ask for commercial licensing. Commercial use refers to usage in a business environment, including:
18+
19+
- business cards, logos, advertising, websites, mobile apps for companies
20+
- t-shirts, books, apparel that will be sold for money
21+
- flyers, posters for events that charge admission
22+
- freelance graphic design work
23+
- anything that will generate direct or indirect income
24+
25+
4. Modification
26+
Jungle Ranger may not be modified, altered, adapted or built upon without written permission by its respective author. This pertains all files within the downloadable font zip-file.
27+
28+
5. Conversion
29+
Jungle Ranger may be converted to other formats such as WOFF, SVG or EOT webfonts, as long as the font is not modified in any other way, such as changing names or altering individual glyphs.
30+
31+
6. Distribution
32+
While Jungle Ranger may freely be copied and passed along to other individuals for private use as its original downloadable zip-file, it may not be sold or published without written permission by its respective author.
33+
34+
7. Embedding
35+
Jungle Ranger may be embedded into an application such as a web- or mobile app, as long as the application is of personal use and does not distribute Jungle Ranger, such as offering it as a download.
36+
37+
8. Disclaimer
38+
Jungle Ranger is offered 'as is' without any warranty. 1001fonts.com and the respective author of Jungle Ranger shall not be liable for any damage derived from using this typeface. By using Jungle Ranger you agree to the terms of this license.

src/assets/JungleRanger.otf

39.7 KB
Binary file not shown.

src/assets/JungleRanger.ttf

19.7 KB
Binary file not shown.

src/assets/Jungle_Ranger_-_1.png

84.5 KB
Loading

src/assets/Jungle_Ranger_-_10.png

139 KB
Loading

src/assets/Jungle_Ranger_-_2.png

48.7 KB
Loading

0 commit comments

Comments
 (0)