Skip to content

Commit

Permalink
Add Avalon and Ultima to Showcase
Browse files Browse the repository at this point in the history
  • Loading branch information
Çağatay Çivici committed Sep 10, 2017
1 parent 358ff8b commit f11bcaf
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/showcase/resources/images/primereact-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,26 @@ class Home extends Component {
<div className="ui-g-3 ui-md-2"><img alt="users" src="showcase/resources/images/home/viacom.svg"></img></div>
</div>
</div>
<div className="templates">
<h3>Premium Application Templates for PrimeReact</h3>
<p>Based on <a href="https://github.com/facebookincubator/create-react-app">create-react-app</a>, develop awesome applications in no time using the premium templates
of PrimeReact and impress your users.</p>

<div className="ui-g">
<div className="ui-g-12 ui-md-6">
<h4>Ultima with Material Design</h4>
<a href="https://www.primefaces.org/layouts/ultima-react">
<img alt="Avalon" src="showcase/resources/images/layouts/ultima-react.png" />
</a>
</div>
<div className="ui-g-12 ui-md-6">
<h4>Avalon with Bootstrap Styling</h4>
<a href="https://www.primefaces.org/layouts/avalon-react">
<img alt="Avalon" src="showcase/resources/images/layouts/avalon-react.png" />
</a>
</div>
</div>
</div>
<div className="prosupport">
<div className="ui-g">
<div className="ui-g-12 ui-md-6">
Expand Down Expand Up @@ -384,6 +404,9 @@ class App extends Component {
<ul>
<li className="topbar-submenu-header">THEMING</li>
<li><Link to="/theming"><span className="ui-text">Guide</span></Link></li>
<li className="topbar-submenu-header">PREMIUM</li>
<li><a href="https://www.primefaces.org/layouts/ultima-react"><img src="showcase/resources/images/layouts/themeswitcher-ultima.png" alt="Ultima (Material)" /><span class="ui-text">Ultima</span></a></li>
<li><a href="https://www.primefaces.org/layouts/avalon-react"><img src="showcase/resources/images/layouts/themeswitcher-avalon.png" alt="Avalon (Bootstrap)" /><span class="ui-text">Avalon</span></a></li>
<li className="topbar-submenu-header">THEMES</li>
<li><a href="#" data-theme="omega" onClick={this.changeTheme}><span className="ui-text">Omega</span></a></li>
<li><a href="#" data-theme="cruze" onClick={this.changeTheme}><span className="ui-text">Cruze</span></a></li>
Expand Down
18 changes: 18 additions & 0 deletions src/sass/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ body {
img {
width: 32px;
vertical-align: middle;
margin-right: 4px;
}

.ui-text {
Expand Down Expand Up @@ -727,6 +728,23 @@ body {
}
}
}

.templates {
background-color: #f5f7f8;
text-align: center;
padding: 30px;
border-bottom: 1px solid #c4c5c6;

h3 {
font-size:24px;
color: #484848;
margin-bottom: 25px;
}

img {
width: 100%;
}
}

/* PRO */
.prosupport {
Expand Down

0 comments on commit f11bcaf

Please sign in to comment.