amitosh / Fedora-app

Forked from Fedora-app a year ago
Clone
Blob Blame Raw
<!--
  Generated template for the SocialPage page.

  See http://ionicframework.com/docs/v2/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-content padding class="social">

    <ion-navbar>
        <button ion-button menuToggle>
          <ion-icon name="menu"></ion-icon>
        </button>
      </ion-navbar>

  <img id="social_logo" src="assets/img/social_icon.svg">

  <ion-list *ngIf="posts.length !== 0" id="social_card">
    <ion-card *ngFor="let post of posts" >

        <ion-row>
        <ion-col tappable (click)="openPost(post)">
          {{ post.content }}
        </ion-col>

      </ion-row>
      <ion-row >
        <ion-col center >
          <button ion-button small clear disabled class="s-icon">
            <ion-icon name="logo-{{ post.origin }}"></ion-icon>
          </button>
        </ion-col>
        <ion-col center>
          <button ion-button small clear tappable color="dark" (click)="sharePost(post)">
            <ion-icon name="share"></ion-icon>
          </button>
        </ion-col>
      </ion-row>
    </ion-card>
  </ion-list>
</ion-content>