File tree 12 files changed +102
-3
lines changed
libs/plugin/src/generators
12 files changed +102
-3
lines changed Original file line number Diff line number Diff line change 33
33
description : >-
34
34
optional, can be provided as an image on a pull request for better
35
35
quality
36
+ - type : input
37
+ id : bluesky
38
+ attributes :
39
+ label : Bluesky
36
40
- type : input
37
41
id : twitter
38
42
attributes :
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ export interface Community {
52
52
url: string | null ;
53
53
mediaChannel: MediaChannel | null ;
54
54
logo: string | null ;
55
+ bluesky: string | null ;
55
56
twitter: string | null ;
56
57
linkedin: string | null ;
57
58
callForPapers: string | null ;
Original file line number Diff line number Diff line change
1
+ import { DatePipe , NgOptimizedImage , TitleCasePipe } from '@angular/common' ;
1
2
import {
2
3
ChangeDetectionStrategy ,
3
4
Component ,
4
5
computed ,
5
6
input ,
6
7
} from '@angular/core' ;
7
- import { DatePipe , NgOptimizedImage , TitleCasePipe } from '@angular/common' ;
8
8
import { Community } from '../../../models/community.model' ;
9
9
10
10
@Component ( {
@@ -114,6 +114,21 @@ import { Community } from '../../../models/community.model';
114
114
/>
115
115
</a>
116
116
}
117
+ @if (community().blueskyUrl) {
118
+ <a
119
+ class="rounded-xl bg-[#344255] hover:bg-[#4C5765] p-2"
120
+ [attr.href]="community().blueskyUrl"
121
+ target="_blank"
122
+ title="Bluesky URL"
123
+ >
124
+ <img
125
+ ngSrc="/assets/icons/bluesky-icon.svg"
126
+ alt=""
127
+ height="30"
128
+ width="30"
129
+ />
130
+ </a>
131
+ }
117
132
@if (community().twitterUrl) {
118
133
<a
119
134
class="rounded-xl bg-[#344255] hover:bg-[#4C5765] p-2"
@@ -207,6 +222,21 @@ import { Community } from '../../../models/community.model';
207
222
/>
208
223
</a>
209
224
}
225
+ @if (community().blueskyUrl) {
226
+ <a
227
+ class="rounded-xl bg-[#344255] p-2"
228
+ [attr.href]="community().blueskyUrl"
229
+ target="_blank"
230
+ title="Bluesky URL"
231
+ >
232
+ <img
233
+ ngSrc="/assets/icons/bluesky-icon.svg"
234
+ alt=""
235
+ height="20"
236
+ width="20"
237
+ />
238
+ </a>
239
+ }
210
240
@if (community().twitterUrl) {
211
241
<a
212
242
class="rounded-xl bg-[#344255] p-2"
Original file line number Diff line number Diff line change 1
1
import { Event } from './event.model' ;
2
- import { EventType } from './event-type.model' ;
3
2
4
3
export interface Community {
5
4
name : string ;
@@ -10,6 +9,7 @@ export interface Community {
10
9
eventsUrl : string | null ;
11
10
websiteUrl : string | null ;
12
11
organizersUrl : string | null ;
12
+ blueskyUrl : string | null ;
13
13
twitterUrl : string | null ;
14
14
linkedinUrl : string | null ;
15
15
youtubeUrl : string | null ;
You can’t perform that action at this time.
0 commit comments