Skip to content

Sync Example Content with AI Prompt Output #21

@naheel0

Description

@naheel0

Issue Type: 📝 Content Update
Priority: High

📝 Problem
The current examples on the /examples page are using old templates. They need to be replaced with the "Senior Architect" style markdown generated by our new prompt logic.

🚀 Solution
Update @/data/examples.ts (or your local data file) with the following structure for each example:

Visual Header: Center-aligned title and badges.

Strategic Why: A "Problem" blockquote and "Solution" text.

Directory Tree: Using 📁 and 📄 emojis.

Tech Table: The | Technology | Purpose | Key Benefit | layout.

✅ To-Do List
[ ] Replace placeholder text with real Markdown examples.

[ ] Update "Tech Stack" tags to match detected markers (Node, Python, Docker).

[ ] Ensure the "License" section in examples reflects the new dynamic logic.

📄 The "Simple" Data Structure
You can use this simple TypeScript array to update your page content immediately:

TypeScript
export const repoExamples = [
{
name: "Nexus-Auth-Service",
description: "A secure, containerized OAuth2 provider.",
stack: ["Node.js", "Docker", "Redis"],
markdown: `

Nexus-Auth-Service

The Problem: Engineering teams spend 40+ hours per project reinventing secure authentication flows, leading to inconsistent security postures.

🚀 Key Features

  • Zero-Knowledge Architecture: Secure data handling by default.
  • Docker-Ready: Deploy in seconds with pre-configured compose files.

📁 Directory Structure

📁 src
📄 index.ts
📄 auth.handler.ts
📁 config
📄 docker-compose.yml
📄 package.json

🛠 Tech Stack

Technology Purpose Key Benefit
Node.js Runtime Event-driven scalability
Docker Deployment Consistent environments
Redis Caching Sub-millisecond latency
`

}
];

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: frontendChanges specifically for the UI/Tailwind components.enhancementNew feature or requestgood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions