- Introduce PolicyModal component for license and privacy policy display - Add Quick Start section to project detail pages - Update project descriptions, features, and URLs for several projects - Add new logos, screenshots, and favicon - Extend types and configuration for new features
This commit is contained in:
@@ -110,6 +110,21 @@ export default function ProjectDetailPage() {
|
||||
<p className="detail-prose">{bi(p.description)}</p>
|
||||
</div>
|
||||
|
||||
{/* Quick Start */}
|
||||
{p.quickStart && p.quickStart[lang] && p.quickStart[lang].length > 0 && (
|
||||
<div className="detail-section">
|
||||
<h2 className="detail-section-title">{t('detail.quickStart')}</h2>
|
||||
<div className="quickstart-commands">
|
||||
{p.quickStart[lang].map((cmd, i) => (
|
||||
<div key={i} className="quickstart-line">
|
||||
<span className="quickstart-prompt">$</span>
|
||||
<code className="quickstart-cmd">{cmd}</code>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{/* Features */}
|
||||
<div className="detail-section">
|
||||
<h2 className="detail-section-title">{t('detail.features')}</h2>
|
||||
|
||||
Reference in New Issue
Block a user