Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit e1a31aa

Browse files
feat: add contact
1 parent e3e9f29 commit e1a31aa

File tree

4 files changed

+49
-0
lines changed

4 files changed

+49
-0
lines changed

studio/src/app/app-root.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export class AppRoot {
1919
<ion-route url="/opensource" component="app-opensource"/>
2020
<ion-route url="/privacy" component="app-privacy"/>
2121
<ion-route url="/terms" component="app-terms"/>
22+
<ion-route url="/contact" component="app-contact"/>
2223
</ion-router>
2324

2425
<ion-split-pane when="lg">
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
app-contact {
2+
main {
3+
background: white;
4+
}
5+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import {Component} from '@stencil/core';
2+
3+
@Component({
4+
tag: 'app-contact',
5+
styleUrl: 'app-contact.scss'
6+
})
7+
export class AppAbout {
8+
9+
render() {
10+
return [
11+
<app-navigation presentation={true}></app-navigation>,
12+
<ion-content padding>
13+
14+
<main padding>
15+
<h1>Contact</h1>
16+
17+
<p>We would love to hear from you, ping us 😃</p>
18+
19+
<p>Email: <a href="mailto:[email protected]">[email protected]</a></p>
20+
21+
<p>Twitter: <a href="https://twitter.com/deckdeckgo">@deckdeckgo</a></p>
22+
23+
<p>And for feature requests, issues or even better Pull Requests, find us on <a href="https://github.com/deckgo/deckdeckgo">GitHub</a></p>
24+
</main>
25+
</ion-content>
26+
];
27+
}
28+
29+
}
30+

studio/src/components.d.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ export namespace Components {
7373
interface AppAbout {}
7474
interface AppAboutAttributes extends StencilHTMLAttributes {}
7575

76+
interface AppContact {}
77+
interface AppContactAttributes extends StencilHTMLAttributes {}
78+
7679
interface AppOpensource {}
7780
interface AppOpensourceAttributes extends StencilHTMLAttributes {}
7881

@@ -111,6 +114,7 @@ declare global {
111114
'AppPopular': Components.AppPopular;
112115
'AppSlideNavigate': Components.AppSlideNavigate;
113116
'AppAbout': Components.AppAbout;
117+
'AppContact': Components.AppContact;
114118
'AppOpensource': Components.AppOpensource;
115119
'AppPrivacy': Components.AppPrivacy;
116120
'AppTerms': Components.AppTerms;
@@ -131,6 +135,7 @@ declare global {
131135
'app-popular': Components.AppPopularAttributes;
132136
'app-slide-navigate': Components.AppSlideNavigateAttributes;
133137
'app-about': Components.AppAboutAttributes;
138+
'app-contact': Components.AppContactAttributes;
134139
'app-opensource': Components.AppOpensourceAttributes;
135140
'app-privacy': Components.AppPrivacyAttributes;
136141
'app-terms': Components.AppTermsAttributes;
@@ -201,6 +206,12 @@ declare global {
201206
new (): HTMLAppAboutElement;
202207
};
203208

209+
interface HTMLAppContactElement extends Components.AppContact, HTMLStencilElement {}
210+
var HTMLAppContactElement: {
211+
prototype: HTMLAppContactElement;
212+
new (): HTMLAppContactElement;
213+
};
214+
204215
interface HTMLAppOpensourceElement extends Components.AppOpensource, HTMLStencilElement {}
205216
var HTMLAppOpensourceElement: {
206217
prototype: HTMLAppOpensourceElement;
@@ -254,6 +265,7 @@ declare global {
254265
'app-popular': HTMLAppPopularElement
255266
'app-slide-navigate': HTMLAppSlideNavigateElement
256267
'app-about': HTMLAppAboutElement
268+
'app-contact': HTMLAppContactElement
257269
'app-opensource': HTMLAppOpensourceElement
258270
'app-privacy': HTMLAppPrivacyElement
259271
'app-terms': HTMLAppTermsElement
@@ -274,6 +286,7 @@ declare global {
274286
'app-popular': HTMLAppPopularElement;
275287
'app-slide-navigate': HTMLAppSlideNavigateElement;
276288
'app-about': HTMLAppAboutElement;
289+
'app-contact': HTMLAppContactElement;
277290
'app-opensource': HTMLAppOpensourceElement;
278291
'app-privacy': HTMLAppPrivacyElement;
279292
'app-terms': HTMLAppTermsElement;

0 commit comments

Comments
 (0)