Skip to content

Commit 2cebe80

Browse files
LoganDupontgeromegrignon
authored andcommitted
feat: replace twitter with x
1 parent 7e62294 commit 2cebe80

File tree

16 files changed

+85
-103
lines changed

16 files changed

+85
-103
lines changed

Diff for: .github/ISSUE_TEMPLATE/add-community.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ body:
3838
attributes:
3939
label: Bluesky
4040
- type: input
41-
id: twitter
41+
id: x
4242
attributes:
43-
label: Twitter
43+
label: X
4444
- type: input
4545
id: linkedin
4646
attributes:

Diff for: CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export interface Community {
5353
mediaChannel: MediaChannel | null;
5454
logo: string | null;
5555
bluesky: string | null;
56-
twitter: string | null;
56+
x: string | null;
5757
linkedin: string | null;
5858
callForPapers: string | null;
5959
events: Event[];

Diff for: angular-hub/src/app/components/cards/community-card.component.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -129,15 +129,15 @@ import { Community } from '../../../models/community.model';
129129
/>
130130
</a>
131131
}
132-
@if (community().twitterUrl) {
132+
@if (community().xUrl) {
133133
<a
134134
class="rounded-xl bg-[#344255] hover:bg-[#4C5765] p-2"
135-
[attr.href]="community().twitterUrl"
135+
[attr.href]="community().xUrl"
136136
target="_blank"
137-
title="Twitter URL"
137+
title="X URL"
138138
>
139139
<img
140-
ngSrc="/assets/icons/twitter-icon.svg"
140+
ngSrc="/assets/icons/x-twitter-icon.svg"
141141
alt=""
142142
height="30"
143143
width="30"
@@ -237,15 +237,15 @@ import { Community } from '../../../models/community.model';
237237
/>
238238
</a>
239239
}
240-
@if (community().twitterUrl) {
240+
@if (community().xUrl) {
241241
<a
242242
class="rounded-xl bg-[#344255] p-2"
243-
[attr.href]="community().twitterUrl"
243+
[attr.href]="community().xUrl"
244244
target="_blank"
245245
title="events URL"
246246
>
247247
<img
248-
ngSrc="/assets/icons/twitter-icon.svg"
248+
ngSrc="/assets/icons/x-twitter-icon.svg"
249249
alt=""
250250
height="20"
251251
width="20"

Diff for: angular-hub/src/app/pages/index.page.ts

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1+
import { injectLoad, RouteMeta } from '@analogjs/router';
2+
import { NgTemplateOutlet } from '@angular/common';
13
import { Component, computed, signal, viewChild } from '@angular/core';
24
import { toSignal } from '@angular/core/rxjs-interop';
3-
import { injectLoad, RouteMeta } from '@analogjs/router';
4-
import { load } from './index.server';
5-
import { CalendarModule } from 'primeng/calendar';
65
import { FormsModule } from '@angular/forms';
6+
import { Title } from '@angular/platform-browser';
77
import { isSameDay, isThisISOWeek, isToday, isWithinInterval } from 'date-fns';
88
import { ButtonModule } from 'primeng/button';
9+
import { CalendarModule } from 'primeng/calendar';
910
import { DropdownModule } from 'primeng/dropdown';
1011
import { InputSwitchModule } from 'primeng/inputswitch';
11-
import { Title } from '@angular/platform-browser';
12-
import { JsonLdService } from '../services/json-ld.service';
13-
import { Sidebar, SidebarModule } from 'primeng/sidebar';
14-
import { NgTemplateOutlet } from '@angular/common';
1512
import { MessagesModule } from 'primeng/messages';
13+
import { Sidebar, SidebarModule } from 'primeng/sidebar';
1614
import { EventSectionComponent } from '../components/event-section.component';
1715
import { MessageComponent } from '../components/message.component';
16+
import { JsonLdService } from '../services/json-ld.service';
17+
import { load } from './index.server';
1818

1919
export const routeMeta: RouteMeta = {
2020
meta: [
@@ -31,7 +31,7 @@ export const routeMeta: RouteMeta = {
3131
content: '/api/v1/og-image',
3232
},
3333
{
34-
name: 'twitter:image',
34+
name: 'x:image',
3535
content: '/api/v1/og-image',
3636
},
3737
],
@@ -341,7 +341,7 @@ export default class EventsComponent {
341341
name: 'Gerome Grignon',
342342
url: 'https://www.gerome.dev/',
343343
sameAs: [
344-
'https://twitter.com/GeromeDEV',
344+
'https://x.com/GeromeDEV',
345345
'https://www.linkedin.com/in/gerome-grignon/',
346346
'https://github.com/geromegrignon',
347347
],

Diff for: angular-hub/src/app/pages/watch-party/index.page.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { afterNextRender, Component, signal } from '@angular/core';
21
import { RouteMeta } from '@analogjs/router';
3-
import { BannerComponent } from '../../components/banner.component';
4-
import { TableModule } from 'primeng/table';
2+
import { afterNextRender, Component, signal } from '@angular/core';
53
import { DialogModule } from 'primeng/dialog';
64
import { InputTextModule } from 'primeng/inputtext';
5+
import { TableModule } from 'primeng/table';
6+
import { BannerComponent } from '../../components/banner.component';
77

88
type WatchParty = {
99
location: string;
@@ -27,7 +27,7 @@ export const routeMeta: RouteMeta = {
2727
content: '/assets/images/og-image.webp',
2828
},
2929
{
30-
name: 'twitter:image',
30+
name: 'x:image',
3131
content: '/assets/images/og-image.webp',
3232
},
3333
],

Diff for: angular-hub/src/models/community.model.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export interface Community {
1010
websiteUrl: string | null;
1111
organizersUrl: string | null;
1212
blueskyUrl: string | null;
13-
twitterUrl: string | null;
13+
xUrl: string | null;
1414
linkedinUrl: string | null;
1515
youtubeUrl: string | null;
1616
twitchUrl: string | null;

0 commit comments

Comments
 (0)