Skip to content

Commit d7333eb

Browse files
committed
refactor(album): melhora marcação de pessoas em fotos
1 parent 0ba2d08 commit d7333eb

File tree

74 files changed

+1236
-173
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+1236
-173
lines changed

apps/devmx/public/icons/share.svg

Lines changed: 6 additions & 0 deletions
Loading

apps/devmx/public/portal-devpr-mx.png

4.47 KB
Loading
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<html
2+
dir="ltr"
3+
lang="pt-br"
4+
xmlns="http://www.w3.org/1999/xhtml"
5+
xmlns:o="urn:schemas-microsoft-com:office:office"
6+
>
7+
<head>
8+
<link rel="preconnect" href="https://fonts.googleapis.com" />
9+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="" />
10+
<link
11+
href="https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&amp;display=swap"
12+
rel="stylesheet"
13+
/>
14+
15+
<style type="text/css">
16+
body {
17+
font-family: 'Source Sans 3';
18+
font-style: normal;
19+
font-weight: 500;
20+
font-size: 16px;
21+
line-height: 18px;
22+
color: #000000;
23+
}
24+
25+
a:link,
26+
a:active,
27+
a:visited,
28+
a:hover {
29+
text-decoration-line: underline;
30+
color: #1A84FF;
31+
}
32+
33+
blockquote {
34+
margin: 2em 0;
35+
}
36+
37+
footer {
38+
font-family: 'Source Sans 3';
39+
font-style: normal;
40+
line-height: 18px;
41+
font-size: 16px;
42+
43+
order: 0;
44+
flex-grow: 0;
45+
gap: 3px;
46+
}
47+
48+
footer strong {
49+
font-weight: 700;
50+
}
51+
52+
footer p {
53+
margin: 0;
54+
}
55+
</style>
56+
</head>
57+
<body>
58+
<div>
59+
<h3>Faala {{name}}, belê?</h3>
60+
61+
<p style="font-size: 120%">
62+
Alguém marcou você no album de fotos "<a href="{{url}}">{{title}}</a>"
63+
da comunidade.
64+
</p>
65+
66+
<blockquote>
67+
<strong>
68+
🛟 Você pode remover sua tag da foto se preferir, algumas orientações
69+
para isso:
70+
</strong>
71+
<ol>
72+
<li>Clique no botão ☰ no lado direito acima da foto</li>
73+
<li>Cliique em Remover minha tag</li>
74+
<li>Salvar alterações</li>
75+
</ol>
76+
</blockquote>
77+
</div>
78+
79+
<hr />
80+
81+
<footer>
82+
<p>
83+
<strong>Não responda este e-mail</strong>, pois foi enviado de forma
84+
automatizada.
85+
</p>
86+
<p>Operações <a href="https://devparana.mx">devparana.mx</a>.</p>
87+
</footer>
88+
</body>
89+
</html>

apps/devmx/src/scss/_overrides.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.cdk-overlay-backdrop {
2+
background-color: rgba(0,0,0,.9);
3+
}
4+
15
::ng-deep body .align-button.mat-mdc-button .mdc-button__label {
26
display: inline-flex;
37
align-items: center;

apps/devmx/src/styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// @use '@angular/cdk/overlay-prebuilt.css';
1+
@use '@angular/cdk/overlay-prebuilt.css';
22
@use '@angular/material' as mat;
33
@use './scss/theming/app-shell' as app-shell;
44
@use './scss/theme' as theme;

apps/server/src/assets/templates/user-tag.html

Lines changed: 79 additions & 12 deletions
Large diffs are not rendered by default.

apps/server/src/envs/env.dev.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { join } from 'node:path';
22

33
export const env = {
44
production: false,
5+
origin: 'http://localhost:4200',
56
db: {
67
name: process.env.DB_NAME,
78
host: process.env.DB_HOST,

apps/server/src/envs/env.prod.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ if (!process.env.MONGO_URI) {
66

77
export const env = {
88
production: true,
9+
origin: 'https://devparana.mx',
910
db: {
1011
name: process.env.DB_NAME,
1112
host: process.env.DB_HOST,

packages/academy/domain/src/server/use-cases/update-course.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { UseCase, Course, EditableCourse } from '@devmx/shared-api-interfaces';
22
import { CoursesService } from '../services';
33

4-
export class UpdateCourseUseCase implements UseCase<EditableCourse, Course> {
4+
export class UpdateCourseUseCase implements UseCase<EditableCourse, Course | null> {
55
constructor(private coursesService: CoursesService) {}
66

77
async execute(data: EditableCourse) {

packages/academy/domain/src/server/use-cases/update-institution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
} from '@devmx/shared-api-interfaces';
77

88
export class UpdateInstitutionUseCase
9-
implements UseCase<EditableInstitution, Institution>
9+
implements UseCase<EditableInstitution, Institution | null>
1010
{
1111
constructor(private institutionsService: InstitutionsService) {}
1212

0 commit comments

Comments
 (0)