Skip to content

Commit e4facef

Browse files
committed
chore: renamed the rest of the Code UI components
1 parent 4720de5 commit e4facef

14 files changed

Lines changed: 33 additions & 33 deletions

src/app/pages/affiliates/affiliates.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ChangeDetectionStrategy, Component } from '@angular/core';
2-
import { ArticleComponent } from '@csss-code/article/article.component';
2+
import { CodeArticleComponent } from '@csss-code/article/article.component';
33
import { CardComponent } from '@csss-code/card/card.component';
44
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
55
import { faDiscord } from '@fortawesome/free-brands-svg-icons';
@@ -9,7 +9,7 @@ import { Affiliate, AFFILIATES } from './affiliates';
99

1010
@Component({
1111
selector: 'cs-affiliates',
12-
imports: [ArticleComponent, CardComponent, FontAwesomeModule],
12+
imports: [CodeArticleComponent, CardComponent, FontAwesomeModule],
1313
templateUrl: './affiliates.component.html',
1414
styleUrl: './affiliates.component.scss',
1515
changeDetection: ChangeDetectionStrategy.OnPush

src/app/pages/committees/committees.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { ChangeDetectionStrategy, Component } from '@angular/core';
2-
import { ArticleComponent } from '@csss-code/article/article.component';
2+
import { CodeArticleComponent } from '@csss-code/article/article.component';
33
import { EmailLinkComponent } from 'components/url/email-link/email-link.component';
44
import { ExternalLinkComponent } from 'components/url/external-link/external-link.component';
55

66
@Component({
77
selector: 'cs-committees',
8-
imports: [ArticleComponent, EmailLinkComponent, ExternalLinkComponent],
8+
imports: [CodeArticleComponent, EmailLinkComponent, ExternalLinkComponent],
99
templateUrl: './committees.component.html',
1010
styleUrl: './committees.component.scss',
1111
changeDetection: ChangeDetectionStrategy.OnPush

src/app/pages/common-room/common-room.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { ChangeDetectionStrategy, Component } from '@angular/core';
2-
import { ArticleComponent } from '@csss-code/article/article.component';
2+
import { CodeArticleComponent } from '@csss-code/article/article.component';
33
import { CardComponent } from '@csss-code/card/card.component';
44
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
55
import { faArrowUpRightFromSquare } from '@fortawesome/free-solid-svg-icons';
66
import { EXTERNAL_LINKS } from 'components/url/links.data';
77

88
@Component({
99
selector: 'cs-common-room',
10-
imports: [ArticleComponent, CardComponent, FontAwesomeModule],
10+
imports: [CodeArticleComponent, CardComponent, FontAwesomeModule],
1111
templateUrl: './common-room.component.html',
1212
styleUrl: './common-room.component.scss',
1313
changeDetection: ChangeDetectionStrategy.OnPush

src/app/pages/elections/election-speeches/election-speeches.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ChangeDetectionStrategy, Component } from '@angular/core';
2-
import { ArticleComponent } from '@csss-code/article/article.component';
2+
import { CodeArticleComponent } from '@csss-code/article/article.component';
33

44
interface Nominee {
55
name: string;
@@ -8,7 +8,7 @@ interface Nominee {
88

99
@Component({
1010
selector: 'cs-election-speeches',
11-
imports: [ArticleComponent],
11+
imports: [CodeArticleComponent],
1212
templateUrl: './election-speeches.component.html',
1313
styleUrl: './election-speeches.component.scss',
1414
changeDetection: ChangeDetectionStrategy.OnPush

src/app/pages/elections/elections.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { NgTemplateOutlet } from '@angular/common';
22
import { ChangeDetectionStrategy, Component } from '@angular/core';
3-
import { ArticleComponent } from '@csss-code/article/article.component';
3+
import { CodeArticleComponent } from '@csss-code/article/article.component';
44
import { CodeTabGroupComponent } from '@csss-code/tabs/tab-group/tab-group.component';
55
import { CodeTabComponent } from '@csss-code/tabs/tab.component';
66
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
@@ -12,7 +12,7 @@ import { ELECTED_DESCRIPTIONS, EXEC_DESCRIPTIONS } from 'pages/officers/officers
1212
selector: 'cs-elections',
1313
imports: [
1414
NgTemplateOutlet,
15-
ArticleComponent,
15+
CodeArticleComponent,
1616
FontAwesomeModule,
1717
ExternalLinkComponent,
1818
CodeTabGroupComponent,

src/app/pages/elections/upcoming/elections-schedule.component.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
22
import { Router } from '@angular/router';
3-
import { ArticleComponent } from '@csss-code/article/article.component';
4-
import { ButtonComponent } from '@csss-code/button/button.component';
3+
import { CodeArticleComponent } from '@csss-code/article/article.component';
4+
import { CodeButtonComponent } from '@csss-code/button/button.component';
55
import { SiteRoute } from 'app/app.routes';
66

77
@Component({
88
selector: 'cs-upcoming',
9-
imports: [ArticleComponent, ButtonComponent],
9+
imports: [CodeArticleComponent, CodeButtonComponent],
1010
templateUrl: './elections-schedule.component.html',
1111
styleUrl: './elections-schedule.component.scss',
1212
changeDetection: ChangeDetectionStrategy.OnPush

src/app/pages/event-archives/event-archives.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ChangeDetectionStrategy, Component } from '@angular/core';
2-
import { ArticleComponent } from '@csss-code/article/article.component';
2+
import { CodeArticleComponent } from '@csss-code/article/article.component';
33
import {
44
FALL_HACKS_YEARS,
55
FROSH_YEARS,
@@ -9,7 +9,7 @@ import {
99

1010
@Component({
1111
selector: 'cs-event-archives',
12-
imports: [ArticleComponent],
12+
imports: [CodeArticleComponent],
1313
templateUrl: './event-archives.component.html',
1414
styleUrl: './event-archives.component.scss',
1515
changeDetection: ChangeDetectionStrategy.OnPush

src/app/pages/events/events.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { ChangeDetectionStrategy, Component } from '@angular/core';
2-
import { ArticleComponent } from '@csss-code/article/article.component';
2+
import { CodeArticleComponent } from '@csss-code/article/article.component';
33
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
44
import { faUpRightFromSquare } from '@fortawesome/free-solid-svg-icons';
55
import { ExternalLinkComponent } from 'components/url/external-link/external-link.component';
66
import { EXTERNAL_LINKS } from 'components/url/links.data';
77

88
@Component({
99
selector: 'cs-events',
10-
imports: [ArticleComponent, FontAwesomeModule, ExternalLinkComponent],
10+
imports: [CodeArticleComponent, FontAwesomeModule, ExternalLinkComponent],
1111
templateUrl: './events.component.html',
1212
styleUrl: './events.component.scss',
1313
changeDetection: ChangeDetectionStrategy.OnPush

src/app/pages/home/home.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { Component, inject } from '@angular/core';
22
import { Router } from '@angular/router';
3-
import { ButtonComponent } from '@csss-code/button/button.component';
3+
import { CodeButtonComponent } from '@csss-code/button/button.component';
44
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
55
import { faFile, faSquare } from '@fortawesome/free-solid-svg-icons';
66
import { csssLogo } from 'assets/icons/csss-logo';
77
import { RainbowDirective } from './directives/rainbow.directive';
88

99
@Component({
1010
selector: 'cs-home',
11-
imports: [FontAwesomeModule, RainbowDirective, ButtonComponent],
11+
imports: [FontAwesomeModule, RainbowDirective, CodeButtonComponent],
1212
templateUrl: './home.component.html',
1313
styleUrl: './home.component.scss'
1414
})

src/app/pages/officers/officers.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { ChangeDetectionStrategy, Component, computed, signal } from '@angular/core';
2-
import { ArticleComponent } from '@csss-code/article/article.component';
2+
import { CodeArticleComponent } from '@csss-code/article/article.component';
33
import { ExternalLinkComponent } from 'components/url/external-link/external-link.component';
44
import { RouteLinkComponent } from 'components/url/route-link/route-link.component';
55
import { ExecutiveAdministration, executives } from './officers.data';
66

77
@Component({
88
selector: 'cs-officers',
9-
imports: [ArticleComponent, RouteLinkComponent, ExternalLinkComponent],
9+
imports: [CodeArticleComponent, RouteLinkComponent, ExternalLinkComponent],
1010
templateUrl: './officers.component.html',
1111
styleUrl: './officers.component.scss',
1212
changeDetection: ChangeDetectionStrategy.OnPush

0 commit comments

Comments
 (0)