Skip to main content

Project Leader Prompts — Introduction

This section archives prompts, implementation decisions, and feature requests initiated by the project leader. Each entry documents what was requested, what was built, and why.


Completed Tasks

Requested:

Add a "View Documentation" link/button on the frontend Home page (Home.jsx) that opens the Docusaurus documentation site.

Implementation:

The existing Home.jsx already had a "View Documentation" <button> placeholder with no action. This was wired up as an <a> tag pointing to the Docusaurus URL:

<a
href={import.meta.env.VITE_DOCS_URL || 'http://localhost:3000'}
target="_blank"
rel="noopener noreferrer"
className="px-8 py-4 bg-trading-panel border border-trading-border
text-white rounded-lg font-semibold hover:bg-trading-hover
transition-all w-full sm:w-auto text-center"
>
View Documentation ↗
</a>

File changed: frontend/src/pages/Home.jsx

URL configuration:

EnvironmentURL
Local devhttp://localhost:3000 (default fallback)
CustomSet VITE_DOCS_URL=https://docs.yourdomain.com in frontend/.env

Behaviour:

  • Opens Docusaurus in a new tab (target="_blank")
  • arrow icon signals external link to users
  • URL is configurable via VITE_DOCS_URL environment variable

Add new project leader prompts and decisions below this line.