Skip to content

Commit

Permalink
Merge pull request RocketChat#6 from tomermoshe/feat/refactor-chat-he…
Browse files Browse the repository at this point in the history
…ader

Feat/refactor chat header
  • Loading branch information
tomermoshe authored Jun 1, 2017
2 parents d4e244c + 5a98377 commit 67f7cc9
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/app/chat/channel-item/channel-item.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
display: flex;
justify-content: space-around;
align-items: center;
cursor: pointer;
}

.hide-channel-icon, .exit-channel-icon {
Expand Down
2 changes: 1 addition & 1 deletion src/app/chat/chat-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { RouterModule, Routes } from '@angular/router';
import { WelcomePageComponent } from './welcome-page/welcome-page.component';
import { AuthGuard } from '../shared/services/auth-guard.service';
import { MainPageComponent } from './main-page/main-page.component';
import { ChatViewComponent } from './chat-view/channel-chat.component';
import { ChatViewComponent } from './chat-view/chat-view.component';

const routes: Routes = [{
path : 'main', component : MainPageComponent, canActivate : [AuthGuard], canActivateChild : [AuthGuard],
Expand Down
4 changes: 2 additions & 2 deletions src/app/chat/chat.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { WelcomePageComponent } from './welcome-page/welcome-page.component';
import { SharedModule } from '../shared/shared.module';
import { MainPageComponent } from './main-page/main-page.component';
import { ChannelItemComponent } from './channel-item/channel-item.component';
import { ChatViewComponent } from './chat-view/channel-chat.component';
import { ChatViewComponent } from './chat-view/chat-view.component';

@NgModule({
imports: [
Expand All @@ -21,6 +21,6 @@ import { ChatViewComponent } from './chat-view/channel-chat.component';
WelcomePageComponent,
ChatMessageComponent,
ChannelItemComponent,
]
],
})
export class ChatModule { }
5 changes: 2 additions & 3 deletions src/app/chat/welcome-page/welcome-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@ <h4>Join the Community</h4>
<p>Follow our social profiles, fork us on github and share your thoughts about the rocket.chat app on our
trello board.</p>
<nav>
<a ion-button color="light" target="_blank" href="https://twitter.com/RocketChatApp"><span>Twitter</span></a>
<a ion-button color="light" target="_blank"
href="https://twitter.com/RocketChatApp"><span>Twitter</span></a>
<a ion-button color="light" target="_blank"
href="https://www.facebook.com/RocketChatApp"><span>Facebook</span></a>
<a ion-button color="light" target="_blank" href="https://plus.google.com/+RocketChatApp"><span>Google Plus</span></a>
<a ion-button color="light" target="_blank" href="https://github.com/RocketChat/Rocket.Chat"><span>Github</span></a>
<a ion-button color="light" target="_blank" href="https://www.linkedin.com/company/rocket-chat"><span>LinkedIn</span></a>
</nav>
</div>


</ion-content>

0 comments on commit 67f7cc9

Please sign in to comment.