Skip to content

Commit

Permalink
Some styling improvements done for the last update
Browse files Browse the repository at this point in the history
  • Loading branch information
shalithasuranga committed Jan 15, 2024
1 parent 7211dad commit 70f351f
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions src/pages/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,23 @@ import styles from './styles.module.css';

const templates = [
{
title: 'Neutralinojs-React',
title: 'neutralinojs-minimal',
description: (
<>
A simple React.js template for building Neutralinojs apps
The default template for a Neutralinojs app.
</>
),
githubLink: 'https://github.com/codezri/neutralinojs-react'
githubLink: 'https://github.com/neutralinojs/neutralinojs-minimal'
},
{
title: 'Neutralinojs-Minimal',
title: 'neutralinojs-react',
description: (
<>
The default template for a Neutralinojs app.
A simple React.js template for building Neutralinojs apps
</>
),
githubLink: 'https://github.com/neutralinojs/neutralinojs-minimal'
githubLink: 'https://github.com/codezri/neutralinojs-react'
},


];

export default function NeutralinoTools() {
Expand All @@ -41,30 +39,30 @@ export default function NeutralinoTools() {
</div>
</header>
<main>
<div className='container' style={{ marginTop: '2rem' }}>
<section className={styles.features}>
<div className='container'>
<h1>Templates</h1>
<ul className='row'>
<div className='row'>
{templates.map((template, index) => (
<li key={index} className={clsx(window.innerWidth <= 768 ? 'col card-demo' : 'card-demo col col--5')} style={{ marginTop: '1rem', marginBottom: '2rem', listStyle: 'none'}}>
<div key={index} className={clsx('col col--6', styles.feature)}>
<div className='card padding-md' style={{padding: '2rem'}}>
<h3 className={styles.align}>{template.title}</h3>
<p className={styles.align}>{template.description}</p>
<div>
<Link
className={clsx(
'button button--warning button--lg',
'button button--outline button--secondary button--lg',
)}
to={template.githubLink}>
View Repository
</Link>
</div>
</div>
</li>
</div>
))}
</ul>
</div>
</div>
</div>
</section>
</main>
</Layout>
);
Expand Down

0 comments on commit 70f351f

Please sign in to comment.