Skip to content

Add responsive dark sidebar UI with clone-starters, styles and navigation JS#1

Open
Sami20178 wants to merge 1 commit into
mainfrom
codex/add-sami-app-feature
Open

Add responsive dark sidebar UI with clone-starters, styles and navigation JS#1
Sami20178 wants to merge 1 commit into
mainfrom
codex/add-sami-app-feature

Conversation

@Sami20178
Copy link
Copy Markdown
Owner

Motivation

  • Provide a small static frontend for the Sami App as a responsive dark themed web shell with a sidebar-first layout.
  • Surface quick “Clone Builder” starters (Python, Instagram, Facebook, WhatsApp) as example project templates in the UI.
  • Ship a minimal client-side navigation to switch panels without a framework.

Description

  • Added index.html containing a responsive sidebar layout, profile/stats cards, navigation, and content panels for the clone starters.
  • Added styles.css implementing a dark/dimmed theme, sidebar styling, responsive behavior and panel styling.
  • Added script.js with simple DOM navigation logic (showPanel) that toggles .hidden panels and updates active navigation states.
  • Updated README.md with a short project description and start instructions referencing index.html.

Testing

  • No automated tests were included or executed for this change.

Codex Task

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 29679e25d7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread script.js
Comment on lines +13 to +14
navButtons.forEach((item) => item.classList.remove('active'));
button.classList.add('active');
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid activating nav items with no matching panel

The click handler marks every .nav-item as active before verifying that a corresponding content panel exists, so clicking entries like overview, chat, or calc (which currently have no data-panel) leaves the previous panel visible while highlighting a different nav item. This creates a broken navigation state where sidebar and content are out of sync for most menu options.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant