Skip to content

Commit

Permalink
prettier fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrogenous committed Jul 29, 2024
1 parent 0e4976f commit 72af2a1
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 23 deletions.
6 changes: 3 additions & 3 deletions components/doc/contribution/benefitsdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { DocSectionText } from '@/components/doc/common/docsectiontext';
import Link from 'next/link';

export function BenefitsDoc(props) {

return (
<DocSectionText {...props}>
<p>
Contributing to PrimeReact comes with several benefits. Being part of an open-source project will enhance your career and open up exciting opportunities. Contributors and Committers will be listed on our <Link href="/team">team page</Link>. You'll gain significant visibility in the developer community while improving yourself as a professional.
<p>
Contributing to PrimeReact comes with several benefits. Being part of an open-source project will enhance your career and open up exciting opportunities. Contributors and Committers will be listed on our{' '}
<Link href="/team">team page</Link>. You'll gain significant visibility in the developer community while improving yourself as a professional.
</p>
<p>You'll be invited to a private communication channel at Discord to get in touch with PrimeTek. In addition, contributors have access to all PrimeReact add-ons like Premium Templates, Blocks, and UI Kit free of charge.</p>
</DocSectionText>
Expand Down
7 changes: 5 additions & 2 deletions components/doc/contribution/communicationdoc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import { DocSectionText } from '@/components/doc/common/docsectiontext';

export function CommunicationDoc(props) {

return (
<DocSectionText {...props}>
<p>
Join the Contributors channel on the <a href="https://discord.com/invite/gzKFYnpmCY" target="_blank" rel="noopener noreferrer">PrimeLand Discord</a> server to connect with PrimeReact staff and fellow contributors. In this channel, you can discuss the areas you want to contribute to and receive feedback. This channel is open to everyone who'd like to contribute.
Join the Contributors channel on the{' '}
<a href="https://discord.com/invite/gzKFYnpmCY" target="_blank" rel="noopener noreferrer">
PrimeLand Discord
</a>{' '}
server to connect with PrimeReact staff and fellow contributors. In this channel, you can discuss the areas you want to contribute to and receive feedback. This channel is open to everyone who'd like to contribute.
</p>
</DocSectionText>
);
Expand Down
17 changes: 14 additions & 3 deletions components/doc/contribution/helpneededdoc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { DocSectionText } from '@/components/doc/common/docsectiontext';

export function HelpNeededDoc(props) {

return (
<DocSectionText {...props}>
<p>PrimeReact is a community-driven project backed by the expertise and sponsorship of PrimeTek, and we appreciate any help you can provide. Here are some areas where you can contribute:</p>
Expand All @@ -14,10 +13,22 @@ export function HelpNeededDoc(props) {
</ul>

<h3>Sending Pull Requests</h3>
<p>We encourage you to send pull requests, especially for issues tagged with the <i>help-needed</i> label.</p>
<p>
We encourage you to send pull requests, especially for issues tagged with the <i>help-needed</i> label.
</p>

<h3>Community Support</h3>
<p>Assist other users by participating in the issue tracker, <a href="https://github.com/orgs/primefaces/discussions/categories/primereact" target="_blank" rel="noopener noreferrer">GitHub Discussions</a>, and the <a href="https://discord.com/invite/gzKFYnpmCY" target="_blank" rel="noopener noreferrer">PrimeLand Discord</a> server. Your expertise can help others solve problems and improve their experience with PrimeReact.</p>
<p>
Assist other users by participating in the issue tracker,{' '}
<a href="https://github.com/orgs/primefaces/discussions/categories/primereact" target="_blank" rel="noopener noreferrer">
GitHub Discussions
</a>
, and the{' '}
<a href="https://discord.com/invite/gzKFYnpmCY" target="_blank" rel="noopener noreferrer">
PrimeLand Discord
</a>{' '}
server. Your expertise can help others solve problems and improve their experience with PrimeReact.
</p>
</DocSectionText>
);
}
24 changes: 13 additions & 11 deletions components/doc/contribution/introductiondoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ import { DocSectionCode } from '../common/docsectioncode';

export function IntroductionDoc(props) {
const code = {
code1: {
basic: `
code1: {
basic: `
git clone https://github.com/primefaces/primereact.git
cd primereact
`
},
code2: {
basic: `
},
code2: {
basic: `
npm install
npm run dev
`
},
code3: {
basic: `
},
code3: {
basic: `
- components
- doc // Documentations
- lib // Components
Expand All @@ -31,13 +31,15 @@ npm run dev
return (
<DocSectionText {...props}>
<p>
PrimeReact is a popular Vue UI library maintained by PrimeTek, a company renowned for its comprehensive set of UI components for various frameworks. PrimeTek is dedicated to providing high-quality, versatile, and accessible UI components
that help developers build better applications faster.
PrimeReact is a popular Vue UI library maintained by PrimeTek, a company renowned for its comprehensive set of UI components for various frameworks. PrimeTek is dedicated to providing high-quality, versatile, and accessible UI
components that help developers build better applications faster.
</p>
<h3>Development Setup</h3>
<p>To begin with, clone the PrimeReact repository from GitHub</p>
<DocSectionCode code={code.code1} hideToggleCode hideStackBlitz />
<p>Then run the showcase in your local environment at <i>http://localhost:3000/</i>.</p>
<p>
Then run the showcase in your local environment at <i>http://localhost:3000/</i>.
</p>
<DocSectionCode code={code.code2} hideToggleCode hideStackBlitz />
<h3>Project Structure</h3>

Expand Down
4 changes: 2 additions & 2 deletions components/doc/contribution/keypointsdoc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { DocSectionText } from '@/components/doc/common/docsectiontext';

export function KeyPointsDoc(props) {

return (
<DocSectionText {...props}>
<p>
PrimeReact has several add-ons such as UI Kit, Premium Templates, and Blocks that rely on the core library. Any structural changes in the core, such as adding new props, events, or updating design tokens, should be communicated with the core team to ensure consistency and compatibility.
PrimeReact has several add-ons such as UI Kit, Premium Templates, and Blocks that rely on the core library. Any structural changes in the core, such as adding new props, events, or updating design tokens, should be communicated with
the core team to ensure consistency and compatibility.
</p>
</DocSectionText>
);
Expand Down
1 change: 0 additions & 1 deletion components/doc/contribution/pathwaydoc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { DocSectionText } from '@/components/doc/common/docsectiontext';

export function PathwayDoc(props) {

return (
<DocSectionText {...props}>
<p>PrimeTek offers an organization structure involving contributors and the core team:</p>
Expand Down
1 change: 0 additions & 1 deletion pages/contribution/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { CommunicationDoc } from '@/components/doc/contribution/communicationdoc
import { PathwayDoc } from '@/components/doc/contribution/pathwaydoc';
import { BenefitsDoc } from '@/components/doc/contribution/benefitsdoc';


const ContributionPage = () => {
const docs = [
{
Expand Down

0 comments on commit 72af2a1

Please sign in to comment.