-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a76ecf
commit fa6fbbb
Showing
5 changed files
with
156 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,134 @@ | ||
<template> | ||
<ion-page> | ||
<ion-header> | ||
<ion-toolbar> | ||
<ion-title>Plant Details</ion-title> | ||
</ion-toolbar> | ||
</ion-header> | ||
<ion-content class="ion-padding"> | ||
<div v-if="showDetails"> | ||
|
||
<!-- Plant name --> | ||
<ion-card> | ||
<ion-card-header> | ||
<ion-card-title>Details</ion-card-title> | ||
</ion-card-header> | ||
<ion-card-content> | ||
<ion-list> | ||
<ion-item> | ||
<ion-label>Scientific Name : </ion-label> | ||
ABCD | ||
<!-- <ion-badge>ABCD</ion-badge> --> | ||
</ion-item> | ||
<ion-item> | ||
<ion-label>Common Names : </ion-label> | ||
<ion-badge slot="end">xyz</ion-badge> | ||
</ion-item> | ||
</ion-list> | ||
</ion-card-content> | ||
</ion-card> | ||
|
||
<!-- Details --> | ||
|
||
<!-- Medical Uses --> | ||
<ion-card> | ||
<ion-card-header> | ||
<ion-card-title>Medical Uses</ion-card-title> | ||
</ion-card-header> | ||
<ion-card-content> | ||
Lorem Ipsum is simply dummy text of the printing and typesetting industry. | ||
<p>Contrary to popular belief,</p> | ||
</ion-card-content> | ||
</ion-card> | ||
|
||
<!-- Diseases Treated --> | ||
<ion-card> | ||
<ion-card-header> | ||
<ion-card-title>Diseases Treated</ion-card-title> | ||
</ion-card-header> | ||
<ion-card-content> | ||
Lorem Ipsum is simply dummy text of the printing and typesetting industry. | ||
<p>Contrary to popular belief.</p> | ||
</ion-card-content> | ||
</ion-card> | ||
|
||
<!-- Health Benefits --> | ||
<ion-card> | ||
<ion-card-header> | ||
<ion-card-title>Health Benefits</ion-card-title> | ||
</ion-card-header> | ||
<ion-card-content> | ||
Lorem Ipsum is simply dummy text of the printing and typesetting industry. | ||
<p>Contrary to popular belief.</p> | ||
</ion-card-content> | ||
</ion-card> | ||
|
||
<!-- Important Facts --> | ||
<ion-card> | ||
<ion-card-header> | ||
<ion-card-title>Important Facts</ion-card-title> | ||
</ion-card-header> | ||
<ion-card-content> | ||
Lorem Ipsum is simply dummy text of the printing and typesetting industry. | ||
<p>Contrary to popular belief.</p> | ||
</ion-card-content> | ||
</ion-card> | ||
|
||
</div> | ||
|
||
<div v-else> | ||
<p>Upload image to get details</p> | ||
</div> | ||
|
||
</ion-content> | ||
</ion-page> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { leaf, call, person } from 'ionicons/icons'; | ||
import { | ||
IonHeader, | ||
IonToolbar, | ||
IonTitle, | ||
IonContent, | ||
IonPage, | ||
IonList, | ||
IonItem, | ||
IonLabel, | ||
IonIcon, | ||
IonItemGroup, | ||
IonItemDivider | ||
} from '@ionic/vue'; | ||
export default { | ||
components: { | ||
IonHeader, | ||
IonToolbar, | ||
IonTitle, | ||
IonContent, | ||
IonPage, | ||
IonList, | ||
IonItem, | ||
IonLabel, | ||
IonIcon, | ||
IonItemGroup, | ||
IonItemDivider | ||
}, | ||
data() { | ||
return { | ||
leaf, call, person | ||
} | ||
} | ||
}; | ||
</script> | ||
|
||
<style scoped> | ||
.example-content { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
height: 100%; | ||
} | ||
</style> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,11 +22,23 @@ | |
<ion-icon slot="start" name="mail" color="primary"></ion-icon> | ||
<ion-label>[email protected]</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-icon slot="start" name="mail" color="primary"></ion-icon> | ||
<ion-label>[email protected]</ion-label> | ||
</ion-item> | ||
|
||
<!-- Name --> | ||
<ion-item> | ||
<ion-icon :icon="person" slot="start" name="person" color="primary" /> | ||
<ion-label>rohandeep</ion-label> | ||
<ion-label>Pranjal Kar</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-icon :icon="person" slot="start" name="person" color="primary" /> | ||
<ion-label>Samunder Singh</ion-label> | ||
</ion-item> | ||
<ion-item> | ||
<ion-icon :icon="person" slot="start" name="person" color="primary" /> | ||
<ion-label>Rohandeep Goyal</ion-label> | ||
</ion-item> | ||
|
||
<!-- WhatsApp --> | ||
|