Skip to content

Commit 8f9406b

Browse files
committed
feat: update origin to Angular v20.3.3
1 parent ca450f6 commit 8f9406b

File tree

155 files changed

+7408
-1953
lines changed

Some content is hidden

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

155 files changed

+7408
-1953
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,9 @@ jobs:
2323
repository-cache: true
2424
- name: Install Dependencies
2525
run: npm ci
26+
- name: Setup pnpm
27+
uses: pnpm/action-setup@v4
28+
with:
29+
version: 10.17.1
2630
- name: Build Docs
2731
run: npm run build
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
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.gg/4jgk3ddgAx';
4-
export const MEDIUM = '';
5-
export const YOUTUBE = '';
6-
export const BLUESKY = '';
1+
export const ANGULAR_LINKS = {
2+
GITHUB: 'https://github.com/angular-hispano/angular-docs-es',
3+
X: 'https://x.com/AngularHispana',
4+
MEDIUM: 'https://blog.angular.dev',
5+
YOUTUBE: '',
6+
DISCORD: 'https://discord.gg/4jgk3ddgAx',
7+
BLUESKY: '',
8+
STACKOVERFLOW: '',
9+
} as const;

adev-es/src/app/core/layout/footer/footer.component.en.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,31 @@
44
<h2>Social Media</h2>
55
<ul>
66
<li>
7-
<a [href]="MEDIUM" title="Angular blog">Blog</a>
7+
<a [href]="ngLinks.MEDIUM" title="Angular blog">Blog</a>
88
</li>
99
<li>
10-
<a [href]="X" title="X (formerly Twitter)">X (formerly Twitter)</a>
10+
<a [href]="ngLinks.X" title="X (formerly Twitter)">X (formerly Twitter)</a>
1111
</li>
1212
<li>
13-
<a [href]="BLUESKY" title="Bluesky">Bluesky</a>
13+
<a [href]="ngLinks.BLUESKY" title="Bluesky">Bluesky</a>
1414
</li>
1515
<li>
16-
<a [href]="YOUTUBE" title="YouTube">YouTube</a>
16+
<a [href]="ngLinks.YOUTUBE" title="YouTube">YouTube</a>
1717
</li>
1818
<li>
1919
<a
20-
href="https://discord.gg/angular"
20+
[href]="ngLinks.DISCORD"
2121
title="Join the discussions at Angular Community Discord server."
2222
>
2323
Discord
2424
</a>
2525
</li>
2626
<li>
27-
<a [href]="GITHUB" title="GitHub">GitHub</a>
27+
<a [href]="ngLinks.GITHUB" title="GitHub">GitHub</a>
2828
</li>
2929
<li>
3030
<a
31-
href="https://stackoverflow.com/questions/tagged/angular"
31+
[href]="ngLinks.STACKOVERFLOW"
3232
title="Stack Overflow: where the community answers your technical Angular questions."
3333
>
3434
Stack Overflow

adev-es/src/app/core/layout/footer/footer.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
<h2>Redes Sociales</h2>
55
<ul>
66
<li>
7-
<a [href]="X" title="X (formerly Twitter)">X (antes Twitter)</a>
7+
<a [href]="ngLinks.X" title="X (formerly Twitter)">X (antes Twitter)</a>
88
</li>
99
<li>
1010
<a
11-
[href]="DISCORD"
11+
[href]="ngLinks.DISCORD"
1212
title="Únase a las discusiones en el servidor de Angular Hispano en Discord."
1313
>
1414
Discord
1515
</a>
1616
</li>
1717
<li>
18-
<a [href]="GITHUB" title="GitHub">GitHub</a>
18+
<a [href]="ngLinks.GITHUB" title="GitHub">GitHub</a>
1919
</li>
2020
</ul>
2121
</div>
Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,17 @@
11
import {signal} from '@angular/core';
2-
import {CommonModule} from '@angular/common';
32
import {ChangeDetectionStrategy, Component} from '@angular/core';
43
import {ExternalLink} from '@angular/docs';
54
import {RouterLink} from '@angular/router';
6-
import {DISCORD, GITHUB, X} from './../../constants/links';
5+
import {ANGULAR_LINKS} from '../../constants/links';
76

87
@Component({
98
selector: 'footer[adev-footer]',
10-
standalone: true,
11-
imports: [CommonModule, ExternalLink, RouterLink],
9+
imports: [ExternalLink, RouterLink],
1210
templateUrl: './footer.component.html',
1311
styleUrls: ['./footer.component.scss'],
1412
changeDetection: ChangeDetectionStrategy.OnPush,
1513
})
1614
export class Footer {
17-
readonly GITHUB = GITHUB;
18-
readonly X = X;
19-
readonly DISCORD = DISCORD;
15+
protected ngLinks = ANGULAR_LINKS;
2016
currentYear = signal(new Date().getFullYear());
21-
}
17+
}

0 commit comments

Comments
 (0)