Skip to content

Commit

Permalink
UI/UX minimal fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Mar 28, 2023
1 parent d34b859 commit 4cb2eee
Show file tree
Hide file tree
Showing 7 changed files with 196 additions and 199 deletions.
10 changes: 1 addition & 9 deletions components/layout/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,7 @@ export default function Config(props) {
</section>

<section>
<h3>Free Themes</h3>
<p>
Built-in component themes created by the{' '}
<a href="https://www.primefaces.org/designer/primereact" className="text-primary hover:underline font-semibold">
PrimeReact Theme Designer
</a>
.
</p>

<h3>Themes</h3>
<h4>Bootstrap</h4>
<div className="grid free-themes">
<div className="col-3 flex flex-column align-items-center gap-2">
Expand Down
2 changes: 1 addition & 1 deletion components/layout/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Topbar from './topbar';

export default function Layout(props) {
const [inputStyle, setInputStyle] = useState('outlined');
const [ripple, setRipple] = useState(false);
const [ripple, setRipple] = useState(true);
const [sidebarActive, setSidebarActive] = useState(false);
const [configActive, setConfigActive] = useState(false);
const router = useRouter();
Expand Down
372 changes: 186 additions & 186 deletions pages/roadmap/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pages/support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';

const SupportPage = () => {
return (
<div className="content-section">
<div>
<img alt="PRO Support" src="https://primefaces.org/cdn/primereact/images/support/support-header.png" className="w-full block mb-5" style={{ borderRadius: '20px' }} />

<div className="flex flex-column xl:flex-row mb-5 gap-5">
Expand Down
2 changes: 1 addition & 1 deletion pages/templates/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';

const TemplatesPage = () => {
return (
<div className="content-section">
<div>
<div className="doc-intro">
<h1>Templates</h1>
<p>Highly customizable application templates to get started in no time with style. Designed and implemented by PrimeTek.</p>
Expand Down
2 changes: 1 addition & 1 deletion pages/uikit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const UIKitPage = (props) => {
<title>UI Kit - PrimeReact</title>
<meta name="description" content="Design files for PrimeReact Components." />
</Head>
<div className="content-section">
<div>
<div style={{ borderRadius: '50px', maxHeight: '500px' }} className="overflow-hidden mb-5 flex align-items-center">
<img alt="PrimeReact Designer" src={`https://primefaces.org/cdn/primereact/images/uikit/primeone-cover-${props.dark ? 'dark' : 'light'}.jpg`} className="w-full" />
</div>
Expand Down
5 changes: 5 additions & 0 deletions styles/layout/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@
background-color: var(--highlight-bg);
color: var(--highlight-text-color);

&:hover {
background-color: var(--highlight-bg);
color: var(--highlight-text-color);
}

> .menu-icon {
i {
color: var(--highlight-text-color);
Expand Down

0 comments on commit 4cb2eee

Please sign in to comment.