-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'okfn-brasil:main' into contributors-action
- Loading branch information
Showing
17 changed files
with
294 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
src/app/modules/pages/privacy-policy-en_US/privacy-policy.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<ng-template #loading> | ||
<app-container theme="light" fxFill> | ||
<mat-spinner *ngIf="loading"></mat-spinner> | ||
</app-container> | ||
</ng-template> | ||
<ng-container *ngIf="content$ | async as content; else loading"> | ||
<app-container theme="light"> | ||
<div class="container-inner"> | ||
<app-column [gap]="60"> | ||
<em> | ||
<a href="/privacidade">Leia esta página em Português</a> | ||
</em> | ||
<h1>{{ content.title }}</h1> | ||
<div class="sections-inner"> | ||
<ol> | ||
<ng-container *ngFor="let section of content.sections"> | ||
<li> | ||
<app-column [gap]="40"> | ||
<h2>{{ section.title }}</h2> | ||
<ol> | ||
<ng-container *ngFor="let text of section.texts"> | ||
<li> | ||
<p class="typo-inner highlight" [innerHTML]="text"></p> | ||
<br> | ||
</li> | ||
</ng-container> | ||
<ng-container *ngFor="let subsection of section.subsections"> | ||
<li> | ||
<app-column [gap]="30"> | ||
<h3>{{ subsection.title }}</h3> | ||
<ol> | ||
<ng-container *ngFor="let text of subsection.texts"> | ||
<li> | ||
<p class="typo-inner highlight" [innerHTML]="text"></p> | ||
<br> | ||
</li> | ||
</ng-container> | ||
</ol> | ||
</app-column> | ||
</li> | ||
</ng-container> | ||
</ol> | ||
</app-column> | ||
</li> | ||
</ng-container> | ||
</ol> | ||
</div> | ||
<hr> | ||
<em> | ||
<p class="typo-inner highlight" [innerHTML]="content.footnote"></p> | ||
</em> | ||
</app-column> | ||
</div> | ||
</app-container> | ||
</ng-container> |
9 changes: 9 additions & 0 deletions
9
src/app/modules/pages/privacy-policy-en_US/privacy-policy.component.sass
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
ol | ||
counter-reset: list-item | ||
|
||
li::marker | ||
counter-increment: list-item | ||
content: counters(list-item, ".") " " | ||
|
||
.sections-inner | ||
margin-left: 45px |
25 changes: 25 additions & 0 deletions
25
src/app/modules/pages/privacy-policy-en_US/privacy-policy.component.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { PrivacyPolicyComponent } from './privacy-policy.component'; | ||
|
||
describe('PrivacyPolicyComponent', () => { | ||
let component: PrivacyPolicyComponent; | ||
let fixture: ComponentFixture<PrivacyPolicyComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
declarations: [ PrivacyPolicyComponent ] | ||
}) | ||
.compileComponents(); | ||
}); | ||
|
||
beforeEach(() => { | ||
fixture = TestBed.createComponent(PrivacyPolicyComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
22 changes: 22 additions & 0 deletions
22
src/app/modules/pages/privacy-policy-en_US/privacy-policy.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
import { Observable, of } from 'rxjs'; | ||
import { ContentService } from 'src/app/services/content/content.service'; | ||
|
||
@Component({ | ||
selector: 'app-privacy-policy', | ||
templateUrl: './privacy-policy.component.html', | ||
styleUrls: ['./privacy-policy.component.sass'] | ||
}) | ||
export class PrivacyPolicyComponent implements OnInit { | ||
content$: Observable<any> = of(null); | ||
|
||
constructor( | ||
private contentService: ContentService | ||
) { | ||
} | ||
|
||
ngOnInit(): void { | ||
this.content$ = this.contentService.find('privacy-en_US'); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<p><em>Responda à Pesquisa de Usabilidade do Querido Diário e ajude a comunidade a implementar melhorias no front-end do projeto. O prazo para responder é até dia 17 de outubro de 2023. </em></p> | ||
<p>A Open Knowledge Brasil (OKBR) está com uma enquete aberta sobre a experiência das pessoas na utilização da iniciativa do <a href="https://queridodiario.ok.org.br/">Querido Diário</a>. Responda ao <a href="https://go.ok.org.br/pesquisa-qd">formulário</a>, leva apenas alguns minutos. </p> | ||
<p>O questionário foi desenvolvido pelas pessoas da comunidade que fazem parte do grupo de trabalho (GT) focado em implementar melhorias no site do Querido Diário. O objetivo é coletar dados para fundamentar escolhas em torno do frontend do projeto. A <em>Pesquisa de Usabilidade do Querido Diário</em> está no ar desde o mês passado, para coletar informações. O <a href="https://go.ok.org.br/pesquisa-qd">formulário</a> ficará aberto até 17 de outubro, leva de 10 a 15 minutos para responder.</p> | ||
<p>Com as perguntas, espera-se entender como as pessoas têm utilizado os dados obtidos através do Querido Diário no dia a dia, tanto pela plataforma quanto pela API, identificando os problemas e oportunidades para que a plataforma web atenda melhor aos usuários.</p> | ||
<p>Não esqueça de enviar o formulário para outras pessoas que já tenham utilizado o Querido Diário e possam nos ajudar a construir essa base de informação a partir da percepção dos usuários. É muito importante fazer o formulário chegar ao maior número possível de pessoas e você também pode ajudar!</p> | ||
<p><strong>GT de frontend</strong></p> | ||
<p>Esse grupo de pessoas voluntárias na comunidade do <a href="https://go.ok.org.br/discord">Discord</a> foi formado com o objetivo de melhorar o site do Querido Diário. A organização das ações e documentos importantes estão sistematizados neste quadro no <a href="https://github.com/orgs/okfn-brasil/projects/22/">GitHub.</a> O GT está buscando pessoas voluntárias de diferentes áreas, tais como:</p> | ||
<ul> | ||
<li>Comunicação (criação de texto, produção de conteúdo, revisão de textos, etc.)</li> | ||
<li>Designer de Experiência de Usuário (Designer de produto / Pesquisador UX)</li> | ||
<li>Designer gráfico / identidade visual</li> | ||
<li>Programador Frontend (CSS, HTML, Angular, Javascript, etc.)</li> | ||
</ul> | ||
<p>As reuniões síncronas deste GT acontecem quinzenalmente, às segundas-feiras, a partir das 18h. O canal de conversas assíncronas é #qd-frontend, no Discord. O repositório principal é <a href="https://github.com/okfn-brasil/querido-diario-frontend">querido-diario-frontend</a>.</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
"width": 50 | ||
} | ||
}, | ||
"count": 118, | ||
"count": 151, | ||
"text": "Cidades já na plataforma" | ||
}, | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.