Skip to content

Commit 62b0a34

Browse files
committed
A whole bunch of more componennts
1 parent 1ad56bf commit 62b0a34

File tree

80 files changed

+3027
-169
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+3027
-169
lines changed

src/app/app.component.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import { SlidesPage } from '../pages/slide/slide';
2+
import { AlertsPage } from '../pages/alert/alert';
3+
import { ModalsPage } from '../pages/modal/modal';
14
import { ListsPage } from '../pages/list/list';
25
import { ButtonsListPage } from '../pages/button/button';
36
import { CardListPage } from '../pages/card/card';
@@ -10,7 +13,6 @@ import { StatusBar, Splashscreen } from 'ionic-native';
1013

1114
import { HomePage } from '../pages/_home/home';
1215

13-
1416
@Component({
1517
templateUrl: 'app.html'
1618
})
@@ -26,11 +28,14 @@ export class MyApp {
2628
// used for an example of ngFor and navigation
2729
this.pages = [
2830
{ title: 'Home', component: HomePage },
29-
{ title: 'Profile', component: ProfileListPage },
3031
{ title: 'Cards', component: CardListPage },
3132
{ title: 'Buttons', component: ButtonsListPage },
33+
{ title: 'Alerts', component: AlertsPage },
34+
{ title: 'Modals', component: ModalsPage },
3235
{ title: 'Lists', component: ListsPage },
36+
{ title: 'Slides', component: SlidesPage },
3337
{ title: 'Popup Menu', component: PopupMenuListPage },
38+
{ title: 'Profile', component: ProfileListPage },
3439
{ title: 'Miscellaneous', component: MiscellaneousListPage }
3540
];
3641

src/app/app.imports.ts

Lines changed: 177 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
import { SlideColorChangingPage } from '../pages/slide/slide-color-changing/slide-color-changing';
2+
// Home Page
3+
import { HomePage } from '../pages/_home/home';
4+
5+
// Profile list
6+
import { ProfileListPage } from '../pages/profile/profile';
7+
import { ProfileOnePage } from '../pages/profile/profile-one/profile-one';
8+
import { ProfileTwoPage } from '../pages/profile/profile-two/profile-two';
9+
import { ProfileThreePage } from '../pages/profile/profile-three/profile-three';
10+
import { ProfileFourPage } from '../pages/profile/profile-four/profile-four';
11+
12+
// Lists list
13+
import { ListsPage } from '../pages/list/list';
14+
import { SlidingItemListPage } from '../pages/list/sliding-item/sliding-item';
15+
import { SettingsListPage } from '../pages/list/settings/settings';
16+
17+
// Miscellaneous list
18+
import { MiscellaneousListPage } from '../pages/miscellaneous/miscellaneous';
19+
import { ClockPage } from '../pages/miscellaneous/clock/clock';
20+
import { CountdownOnePage } from '../pages/miscellaneous/countdown/countdown';
21+
import { TinderCardsPage } from '../pages/miscellaneous/tinder-cards/tinder-cards';
22+
import { TestimonialsPage } from '../pages/miscellaneous/testimonials/testimonials';
23+
import { ParallaxScrollerPage } from '../pages/miscellaneous/parallax-scroller/parallax-scroller';
24+
import { CurrencyConverterPage } from '../pages/miscellaneous/currency-converter/currency-converter';
25+
import { WeatherPage } from '../pages/miscellaneous/weather/weather';
26+
import { MessagesPage } from '../pages/miscellaneous/chat/messages/messages';
27+
import { ChatsPage } from '../pages/miscellaneous/chat/chats';
28+
29+
// Popup Menu list
30+
import { PopupMenuListPage } from '../pages/popup-menu/popup-menu';
31+
import { PopupMenuOnePage } from '../pages/popup-menu/popup-menu-one/popup-menu-one';
32+
33+
// Cards list
34+
import { CardListPage } from '../pages/card/card';
35+
import { CardSocialPage } from '../pages/card/card-social/card-social';
36+
import { CardImagePage } from '../pages/card/card-image/card-image';
37+
import { CardMapPage } from '../pages/card/card-map/card-map';
38+
import { CardBackgroundPage } from '../pages/card/card-background/card-background';
39+
import { CardBadgePage } from '../pages/card/card-badge/card-badge';
40+
41+
// Buttons list
42+
import { ButtonsListPage } from '../pages/button/button';
43+
import { ButtonStylesPage } from '../pages/button/button-styles/button-styles';
44+
import { IconButtonsPage } from '../pages/button/icon-buttons/icon-buttons';
45+
import { ButtonComponentsPage } from '../pages/button/button-components/button-components';
46+
47+
// Modals
48+
import { ModalsPage } from '../pages/modal/modal';
49+
import { FullModalsPage } from '../pages/modal/full-modal/full-modal';
50+
import { BasicModalPage } from '../pages/modal/full-modal/basic-modal/basic-modal';
51+
import { ParamsModalPage } from '../pages/modal/full-modal/params-modal/params-modal';
52+
import { SmallModalsPage } from '../pages/modal/small-modal/small-modal';
53+
import { HintModalPage } from '../pages/modal/small-modal/hint-modal/hint-modal';
54+
import { SignupModalPage } from '../pages/modal/small-modal/signup-modal/signup-modal';
55+
import { WalkthroughModalPage } from '../pages/modal/small-modal/walkthrough-modal/walkthrough-modal';
56+
57+
// Alerts
58+
import { AlertsPage } from '../pages/alert/alert';
59+
60+
// Slides
61+
import { SlidesPage } from '../pages/slide/slide';
62+
import { SlideTransitionsPage } from '../pages/slide/slide-transitions/slide-transitions';
63+
import { SlideCarouselPage } from '../pages/slide/slide-carousel/slide-carousel';
64+
import { SlidePhotoGalleryPage } from '../pages/slide/slide-photo-gallery/slide-photo-gallery';
65+
import { SlideCustomPaginationPage } from '../pages/slide/slide-custom-pagination/slide-custom-pagination';
66+
import { SliderListTwoPage } from '../pages/slide/slider-list-two/slider-list-two';
67+
import { SliderListPage } from '../pages/slide/slider-list/slider-list';
68+
import { SlideMultirowPage } from '../pages/slide/slide-multirow/slide-multirow';
69+
import { SlideRightToLeftPage } from '../pages/slide/slide-rtl/slide-rtl';
70+
import { SlideFreeModePage } from '../pages/slide/slide-free-mode/slide-free-mode';
71+
import { SlideNestedPage } from '../pages/slide/slide-nested/slide-nested';
72+
73+
// Providers
74+
import { WeatherService } from '../pages/miscellaneous/weather/weather.service';
75+
import { ToastService } from '../providers/util/toast.service';
76+
import { AlertService } from '../providers/util/alert.service';
77+
78+
// Directives
79+
import { Timer } from '../components/countdown-timer/timer';
80+
import { TypingEffect } from '../components/typing-effect/typing-effect';
81+
82+
// Pipes
83+
import { MomentPipe } from '../pipes/moment.pipe';
84+
import { TemperaturePipe } from '../pipes/temperature.pipe';
85+
import { OrderByPipe } from '../pipes/orderby.pipe';
86+
87+
export class AppImports {
88+
89+
public static Pages = [
90+
// Home
91+
HomePage,
92+
93+
// Profile
94+
ProfileListPage,
95+
ProfileOnePage,
96+
ProfileTwoPage,
97+
ProfileThreePage,
98+
ProfileFourPage,
99+
100+
// Miscellaneous
101+
MiscellaneousListPage,
102+
PopupMenuListPage,
103+
PopupMenuOnePage,
104+
TestimonialsPage,
105+
TinderCardsPage,
106+
CountdownOnePage,
107+
ParallaxScrollerPage,
108+
CurrencyConverterPage,
109+
ClockPage,
110+
WeatherPage,
111+
ChatsPage,
112+
MessagesPage,
113+
114+
// Cards
115+
CardListPage,
116+
CardBackgroundPage,
117+
CardMapPage,
118+
CardImagePage,
119+
CardSocialPage,
120+
CardBadgePage,
121+
122+
// Modals
123+
ModalsPage,
124+
FullModalsPage,
125+
BasicModalPage,
126+
ParamsModalPage,
127+
SmallModalsPage,
128+
SignupModalPage,
129+
WalkthroughModalPage,
130+
HintModalPage,
131+
132+
// Buttons
133+
ButtonsListPage,
134+
IconButtonsPage,
135+
ButtonComponentsPage,
136+
ButtonStylesPage,
137+
138+
// Lists
139+
ListsPage,
140+
SettingsListPage,
141+
SlidingItemListPage,
142+
143+
// Alerts
144+
AlertsPage,
145+
146+
// Slides
147+
SlidesPage,
148+
SlideCarouselPage,
149+
SlideTransitionsPage,
150+
SlidePhotoGalleryPage,
151+
SlideNestedPage,
152+
SlideFreeModePage,
153+
SlideRightToLeftPage,
154+
SlideMultirowPage,
155+
SliderListPage,
156+
SliderListTwoPage,
157+
SlideCustomPaginationPage,
158+
SlideColorChangingPage,
159+
160+
// Popup Menu
161+
PopupMenuListPage,
162+
PopupMenuOnePage,
163+
]
164+
165+
public static Pipes = [
166+
TemperaturePipe, MomentPipe, OrderByPipe,
167+
]
168+
169+
public static Providers = [
170+
WeatherService, AlertService, ToastService
171+
]
172+
173+
public static Directives = [
174+
Timer,
175+
TypingEffect,
176+
]
177+
}

src/app/app.module.ts

Lines changed: 7 additions & 128 deletions
Original file line numberDiff line numberDiff line change
@@ -1,112 +1,23 @@
1-
import { ToastService } from '../providers/util/toast.service';
2-
import { AlertService } from '../providers/util/alert.service';
3-
import { SliderListPage } from '../pages/list/slider-list/slider-list';
41
import { MyApp } from './app.component';
52
import { NgModule } from '@angular/core';
63
import { IonicApp, IonicModule } from 'ionic-angular';
74
import { SwingModule } from 'angular2-swing';
85

9-
// Home Page
10-
import { HomePage } from '../pages/_home/home';
11-
12-
// Profile list
13-
import { ProfileListPage } from '../pages/profile/profile';
14-
import { ProfileOnePage } from '../pages/profile/profile-one/profile-one';
15-
import { ProfileTwoPage } from '../pages/profile/profile-two/profile-two';
16-
import { ProfileThreePage } from '../pages/profile/profile-three/profile-three';
17-
import { ProfileFourPage } from '../pages/profile/profile-four/profile-four';
18-
19-
// Lists list
20-
import { ListsPage } from '../pages/list/list';
21-
import { SlidingItemListPage } from '../pages/list/sliding-item/sliding-item';
22-
import { SettingsListPage } from '../pages/list/settings/settings';
23-
24-
// Miscellaneous list
25-
import { MiscellaneousListPage } from '../pages/miscellaneous/miscellaneous';
26-
import { ClockPage } from '../pages/miscellaneous/clock/clock';
27-
import { CountdownOnePage } from '../pages/miscellaneous/countdown/countdown';
28-
import { TinderCardsPage } from '../pages/miscellaneous/tinder-cards/tinder-cards';
29-
import { TestimonialsPage } from '../pages/miscellaneous/testimonials/testimonials';
30-
import { ParallaxScrollerPage } from '../pages/miscellaneous/parallax-scroller/parallax-scroller';
31-
import { CurrencyConverterPage } from '../pages/miscellaneous/currency-converter/currency-converter';
32-
import { WeatherPage } from '../pages/miscellaneous/weather/weather';
33-
import { MessagesPage } from '../pages/miscellaneous/chat/messages/messages';
34-
import { ChatsPage } from '../pages/miscellaneous/chat/chats';
35-
36-
// Popup Menu list
37-
import { PopupMenuListPage } from '../pages/popup-menu/popup-menu';
38-
import { PopupMenuOnePage } from '../pages/popup-menu/popup-menu-one/popup-menu-one';
39-
40-
// Cards list
41-
import { CardListPage } from '../pages/card/card';
42-
import { CardSocialPage } from '../pages/card/card-social/card-social';
43-
import { CardImagePage } from '../pages/card/card-image/card-image';
44-
import { CardMapPage } from '../pages/card/card-map/card-map';
45-
import { CardBackgroundPage } from '../pages/card/card-background/card-background';
46-
import { CardBadgePage } from '../pages/card/card-badge/card-badge';
47-
48-
// Buttons list
49-
import { ButtonsListPage } from '../pages/button/button';
50-
import { ButtonStylesPage } from '../pages/button/button-styles/button-styles';
51-
import { IconButtonsPage } from '../pages/button/icon-buttons/icon-buttons';
52-
import { ButtonComponentsPage } from '../pages/button/button-components/button-components';
53-
54-
// Providers
55-
import { WeatherService } from '../pages/miscellaneous/weather/weather.service';
56-
57-
// Directives
58-
import { Timer } from '../components/countdown-timer/timer';
59-
import { TypingEffect } from '../components/typing-effect/typing-effect';
60-
61-
// Pipes
62-
import { MomentPipe } from '../pipes/moment/moment.pipe';
63-
import { TemperaturePipe } from '../pages/miscellaneous/weather/temperature.pipe';
6+
import { AppImports } from './app.imports';
647

658
@NgModule({
669
declarations: [
10+
// App Core
6711
MyApp,
6812

6913
// Pages
70-
HomePage,
71-
ProfileListPage,
72-
ProfileOnePage,
73-
ProfileTwoPage,
74-
ProfileThreePage,
75-
ProfileFourPage,
76-
MiscellaneousListPage,
77-
PopupMenuListPage,
78-
PopupMenuOnePage,
79-
TestimonialsPage,
80-
TinderCardsPage,
81-
CountdownOnePage,
82-
ParallaxScrollerPage,
83-
CurrencyConverterPage,
84-
ClockPage,
85-
WeatherPage,
86-
ChatsPage,
87-
MessagesPage,
88-
CardListPage,
89-
CardBackgroundPage,
90-
CardMapPage,
91-
CardImagePage,
92-
CardSocialPage,
93-
CardBadgePage,
94-
ButtonsListPage,
95-
IconButtonsPage,
96-
ButtonComponentsPage,
97-
ButtonStylesPage,
98-
ListsPage,
99-
SettingsListPage,
100-
SlidingItemListPage,
101-
SliderListPage,
14+
AppImports.Pages,
10215

10316
// directives
104-
Timer,
105-
TypingEffect,
17+
AppImports.Directives,
10618

10719
// pipes
108-
TemperaturePipe,
109-
MomentPipe
20+
AppImports.Pipes
11021
],
11122
imports: [
11223
IonicModule.forRoot(MyApp),
@@ -115,40 +26,8 @@ import { TemperaturePipe } from '../pages/miscellaneous/weather/temperature.pipe
11526
bootstrap: [IonicApp],
11627
entryComponents: [
11728
MyApp,
118-
HomePage,
119-
ProfileListPage,
120-
ProfileOnePage,
121-
ProfileTwoPage,
122-
ProfileThreePage,
123-
ProfileFourPage,
124-
MiscellaneousListPage,
125-
PopupMenuListPage,
126-
PopupMenuOnePage,
127-
TestimonialsPage,
128-
TinderCardsPage,
129-
CountdownOnePage,
130-
ParallaxScrollerPage,
131-
CurrencyConverterPage,
132-
ClockPage,
133-
WeatherPage,
134-
ChatsPage,
135-
MessagesPage,
136-
CardListPage,
137-
CardBackgroundPage,
138-
CardMapPage,
139-
CardImagePage,
140-
CardSocialPage,
141-
CardBadgePage,
142-
ButtonsListPage,
143-
ButtonStylesPage,
144-
IconButtonsPage,
145-
ButtonComponentsPage,
146-
ListsPage,
147-
SettingsListPage,
148-
SlidingItemListPage,
149-
SliderListPage,
150-
29+
AppImports.Pages
15130
],
152-
providers: [WeatherService, AlertService, ToastService]
31+
providers: [AppImports.Providers]
15332
})
15433
export class AppModule { }

src/app/app.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,15 @@
2828
transform: translateY(-50%);
2929
}
3030

31+
.top-radius {
32+
border-radius: 10% 10% 0 0;
33+
}
34+
35+
.bottom-radius {
36+
border-radius: 0 0 10% 10%;
37+
}
38+
39+
.round {
40+
border-radius: 3%;
41+
}
42+

src/assets/icon/camera.svg

Lines changed: 1 addition & 0 deletions
Loading

src/assets/icon/heart.svg

Lines changed: 1 addition & 0 deletions
Loading

src/assets/icon/map.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)