Skip to content

Commit cbb0a61

Browse files
ricardochlSplaktar
authored andcommitted
feat: translations for home and navigation
- Remove version picker - Translations for home and navigation - Remove git patches for translations - Update copyTargets on update-origin.mjs - Create files for home, footer, navigation and links
1 parent ef1a0b8 commit cbb0a61

File tree

8 files changed

+651
-126
lines changed

8 files changed

+651
-126
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export const GITHUB = 'https://github.com/angular-hispano/angular-docs-es';
2+
export const X = 'https://x.com/AngularHispana';
3+
export const DISCORD = 'https://discord.com/invite/4cWb6SKUcb';
4+
export const MEDIUM = '';
5+
export const YOUTUBE = '';
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
<div class="adev-footer-container">
2+
<div class="adev-footer-columns">
3+
<div>
4+
<h2>Redes Sociales</h2>
5+
<ul>
6+
<li>
7+
<a [href]="X" title="X (formerly Twitter)">X (antes Twitter)</a>
8+
</li>
9+
<li>
10+
<a
11+
[href]="DISCORD"
12+
title="Únase a las discusiones en el servidor Angular Community Discord."
13+
>
14+
Discord
15+
</a>
16+
</li>
17+
<li>
18+
<a [href]="GITHUB" title="GitHub">GitHub</a>
19+
</li>
20+
</ul>
21+
</div>
22+
<div>
23+
<h2>Comunidad</h2>
24+
<ul>
25+
<li>
26+
<a
27+
href="https://github.com/angular-hispano/angular-docs-es/blob/main/CONTRIBUTING.md"
28+
title="Contribuir al proyecto"
29+
>
30+
Contribuir
31+
</a>
32+
</li>
33+
<li>
34+
<a
35+
href="https://angular.lat/coc"
36+
title="Tratarnos unos a otros con respeto."
37+
>
38+
Codigo de coducta
39+
</a>
40+
</li>
41+
<li>
42+
<a
43+
href="https://github.com/angular-hispano/angular-docs-es/issues"
44+
title="Publique problemas y sugerencias en github."
45+
>
46+
Reportar problemas
47+
</a>
48+
</li>
49+
</ul>
50+
</div>
51+
<div>
52+
<h2>Recursos</h2>
53+
<ul>
54+
<li>
55+
<a routerLink="/press-kit" title="Contactos de prensa, logotipos y branding.">Carpeta de prensa</a>
56+
</li>
57+
<li>
58+
<a routerLink="/roadmap" title="Roadmap">Roadmap</a>
59+
</li>
60+
</ul>
61+
</div>
62+
</div>
63+
<p class="docs-license">
64+
Super-powered by Google ©2010-2024. Code licensed under an
65+
<a routerLink="/license" title="License text">MIT-style License</a>
66+
. Documentation licensed under
67+
<a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>
68+
.
69+
</p>
70+
</div>
71+
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import {CommonModule} from '@angular/common';
2+
import {ChangeDetectionStrategy, Component} from '@angular/core';
3+
import {ExternalLink} from '@angular/docs';
4+
import {RouterLink} from '@angular/router';
5+
import {DISCORD, GITHUB, X} from './../../constants/links';
6+
7+
@Component({
8+
selector: 'footer[adev-footer]',
9+
standalone: true,
10+
imports: [CommonModule, ExternalLink, RouterLink],
11+
templateUrl: './footer.component.html',
12+
styleUrls: ['./footer.component.scss'],
13+
changeDetection: ChangeDetectionStrategy.OnPush,
14+
})
15+
export class Footer {
16+
readonly GITHUB = GITHUB;
17+
readonly X = X;
18+
readonly DISCORD = DISCORD;
19+
}

0 commit comments

Comments
 (0)