Skip to content

Commit 682ff22

Browse files
author
Çağatay Çivici
committed
Separate support page
1 parent 90371ca commit 682ff22

10 files changed

+112
-13
lines changed

primeng.js

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ __export(require("./components/menubar/menubar"));
4848
__export(require("./components/messages/messages"));
4949
__export(require("./components/multiselect/multiselect"));
5050
__export(require("./components/orderlist/orderlist"));
51+
__export(require("./components/organizationchart/organizationchart"));
5152
__export(require("./components/overlaypanel/overlaypanel"));
5253
__export(require("./components/paginator/paginator"));
5354
__export(require("./components/panel/panel"));

src/app/showcase/app-routing.module.ts

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ import { HomeComponent } from './components/home/home.component';
7171
{path: 'spinner', loadChildren: './components/spinner/spinnerdemo.module#SpinnerDemoModule'},
7272
{path: 'splitbutton', loadChildren: './components/splitbutton/splitbuttondemo.module#SplitButtonDemoModule'},
7373
{path: 'steps', loadChildren: './components/steps/stepsdemo.module#StepsDemoModule'},
74+
{path: 'support', loadChildren: './components/support/support.module#SupportModule'},
7475
{path: 'tabmenu', loadChildren: './components/tabmenu/tabmenudemo.module#TabMenuDemoModule'},
7576
{path: 'tabview', loadChildren: './components/tabview/tabviewdemo.module#TabViewDemoModule'},
7677
{path: 'terminal', loadChildren: './components/terminal/terminaldemo.module#TerminalDemoModule'},

src/app/showcase/app.component.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
<li class="topbar-menu-themes">
1616
<a href="#">THEMES</a>
1717
<ul>
18+
<li class="topbar-submenu-header">THEMING</li>
19+
<li><a [routerLink]="['./theming']">Guide</a></li>
1820
<li class="topbar-submenu-header">PREMIUM</li>
1921
<li><a href="http://www.primefaces.org/layouts/paradise-ng"><img src="assets/showcase/images/themeswitcher-paradise.png" alt="Paradise Template"><span class="ui-text">Paradise</span></a></li>
2022
<li><a href="http://www.primefaces.org/layouts/ultima-ng"><img src="assets/showcase/images/themeswitcher-ultima.png" alt="Ultima Template"><span class="ui-text">Ultima</span></a></li>
@@ -44,7 +46,7 @@
4446
</ul>
4547
</li>
4648
<li>
47-
<a href="http://forum.primefaces.org/viewforum.php?f=35">FORUM</a>
49+
<a [routerLink]="['/support']">SUPPORT</a>
4850
</li>
4951
</ul>
5052
</div>
@@ -225,7 +227,6 @@
225227
<a [routerLink]="['/captcha']" (click)="menuActive = false">&#9679; Captcha</a>
226228
<a [routerLink]="['/inplace']" (click)="menuActive = false">&#9679; Inplace</a>
227229
<a [routerLink]="['/validation']" (click)="menuActive = false">&#9679; Validation</a>
228-
<a [routerLink]="['/theming']" (click)="menuActive = false">&#9679; Theming</a>
229230
<a [routerLink]="['/progressbar']" (click)="menuActive = false">&#9679; ProgressBar</a>
230231
<a [routerLink]="['/codehighlighter']" (click)="menuActive = false">&#9679; CodeHighlighter</a>
231232
<a [routerLink]="['/terminal']" (click)="menuActive = false">&#9679; Terminal</a>

src/app/showcase/components/home/home.component.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@ <h3>Premium Application Templates for PrimeNG</h3>
119119
<h3>PrimeNG PRO Support</h3>
120120
<p>With PrimeNG PRO, it's easy to support, tune and add features to PrimeNG as if it were an in-house framework.</p>
121121
<p>PrimeNG PRO is a term based commercial support service. With the exclusive services of Pro account, you no longer need to post your questions in the community forum and your issues to community issue tracker.</p>
122-
<a class="home-button" href="mailto:[email protected]">GET A QUOTE</a>
122+
<a class="home-button" [routerLink]="['./support']">READ MORE</a>
123123
</div>
124124
<div class="ui-g-12 ui-md-6">
125-
<img alt="Omega" src="assets/showcase/images/home/icon-pro.svg">
125+
<img alt="PRO" src="assets/showcase/images/home/icon-pro.svg">
126126
</div>
127127
</div>
128128
</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import {NgModule} from '@angular/core';
2+
import {RouterModule} from '@angular/router';
3+
import {SupportComponent} from './support.component';
4+
5+
@NgModule({
6+
imports: [
7+
RouterModule.forChild([
8+
{path:'',component: SupportComponent}
9+
])
10+
],
11+
exports: [
12+
RouterModule
13+
]
14+
})
15+
export class SupportRoutingModule {}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<div class="content-section introduction">
2+
<div>
3+
<span class="feature-title">Support</span>
4+
<span>Professional support for the open source innovation</span>
5+
</div>
6+
</div>
7+
8+
<div class="content-section support">
9+
<h3 style="margin-top:0px">Community Support</h3>
10+
<p><a href="https://forum.primefaces.org/viewforum.php?f=35&sid=45e34922772fa61d6741489375083cde">Forum</a> is where the community users gather to seek support, post topics and discuss the technology. PrimeTek does not
11+
guarantee response at forum although it is monitored and maintained by our staff. If you need to secure our response within 4 business hours, you may consider PrimeNG PRO support.</p>
12+
13+
<h3>PrimeNG PRO Support</h3>
14+
<div class="support-image"><img alt="PRO" src="assets/showcase/images/home/icon-pro.svg"></div>
15+
<p>With PrimeNG PRO, it's easy to support, tune and add features to PrimeNG as if it were an in-house framework.</p>
16+
<p>PrimeNG PRO is a term based commercial support service. With the exclusive services of Pro account,
17+
you no longer need to post your questions in the community forum and your issues to community issue tracker.</p>
18+
19+
<h4>Standard PRO Services</h4>
20+
<ul>
21+
<li>Access to pro.primefaces.org</li>
22+
<li>Response within 1 business day.</li>
23+
<li>Defect patches.</li>
24+
<li>Private branch management in case you need.</li>
25+
<li>Customized builds.</li>
26+
<li>Unlimited number of cases.</li>
27+
<li>Remote desktop connection.</li>
28+
<li>Conference calls for discussions.</li>
29+
<li>High priority to your issues.</li>
30+
<li>Notifications about security updates.</li>
31+
</ul>
32+
33+
<h4>New Features (Optional)</h4>
34+
35+
<p>New feature and enhancement requests are not available in core services and provided via an hour based model instead. When you have a feature request we provide an estimate, if you confirm we deliver your request within an estimated timeframe and deduct the amount of work from your hours. These requests can be;</p>
36+
37+
<ul>
38+
<li>New components.</li>
39+
<li>New functionality to existing components.</li>
40+
<li>Changing the way a certain functionality is implemented.</li>
41+
<li>Accessibility improvements.</li>
42+
<li>Proof of Concept implementations of a use case.</li>
43+
<li>Code reviews to offer best practices.</li>
44+
</ul>
45+
46+
<p>You can purchase additional hours along with the subscription and also anytime during your subscription period. If your subscription term ends with unused hours, they will be added to your new subscription term in case you extend.</p>
47+
48+
<a class="home-button" href="mailto:[email protected]">
49+
GET A QUOTE
50+
</a>
51+
52+
</div>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import {Component} from '@angular/core';
2+
3+
@Component({
4+
templateUrl: './support.component.html'
5+
})
6+
export class SupportComponent {
7+
8+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import {NgModule} from '@angular/core';
2+
import {CommonModule} from '@angular/common';
3+
import {SupportComponent} from './support.component';
4+
import {SupportRoutingModule} from './support-routing.module';
5+
6+
@NgModule({
7+
imports: [
8+
CommonModule,
9+
SupportRoutingModule
10+
],
11+
declarations: [
12+
SupportComponent
13+
]
14+
})
15+
export class SupportModule {}

src/app/showcase/components/theming/theming.component.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="content-section introduction">
22
<div>
33
<span class="feature-title">Theming</span>
4-
<span>PrimeNG is based on ThemeRoller CSS Framework.</span>
4+
<span>Create your own PrimeNG experience</span>
55
</div>
66
</div>
77

@@ -73,7 +73,8 @@ <h3>Free Themes</h3>
7373
components.</p>
7474

7575
<h3>Premium Layouts and Themes</h3>
76-
<p>PrimeNG also supports <a href="http://www.primefaces.org/themes">premium themes and layouts</a> such as <b>Ultima</b>.</p>
76+
<p>PrimeNG also supports sass based, fully customizable and easy to use <a href="http://www.primefaces.org/themes">premium themes and layouts</a> such as <b>Ultima</b>
77+
as Angular CLI projects.</p>
7778

7879
<a href="http://www.primefaces.org/layouts/ultima">
7980
<img alt="Ultima" src="http://www.primefaces.org/images/market/ultima/ultima_layout_biggest.png" style="width:100%"/>

src/assets/showcase/css/site.css

+12-7
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ a {
720720
line-height: 1.5;
721721
}
722722

723-
.home .home-button {
723+
.home-button {
724724
font-weight: bold;
725725
background-color: #FBD17B;
726726
color: #B27800;
@@ -730,7 +730,7 @@ a {
730730
display: inline-block;
731731
}
732732

733-
.home .home-button:hover {
733+
.home-button:hover {
734734
background-color: #f9c55a;
735735
}
736736

@@ -866,16 +866,18 @@ a {
866866
transform: scale(1.05);
867867
}
868868

869-
870-
871-
872869
/* PRO */
873-
.home .prosupport {
870+
.home .prosupport,
871+
.support-image {
874872
background-color: #20272a;
875873
padding: 30px;
876874
color: #ffffff;
877875
}
878876

877+
.support-image {
878+
text-align: center;
879+
}
880+
879881
.home .prosupport p {
880882
font-size: 14px;
881883
line-height: 1.5;
@@ -889,14 +891,17 @@ a {
889891
margin-top: 10px;
890892
}
891893

894+
.support p {
895+
line-height: 1.5;
896+
}
897+
892898
/* testimonials */
893899
.home .testimonials {
894900
background-color: #f5f7f8;
895901
padding: 30px;
896902
text-align: center;
897903
}
898904

899-
900905
.home .testimonials h3 {
901906
margin-bottom: 10px;
902907
}

0 commit comments

Comments
 (0)