Skip to content

Reorganize assets for custom image integration#6

Draft
Copilot wants to merge 1 commit intocopilot/update-app-layout-and-designfrom
copilot/update-documentation-files
Draft

Reorganize assets for custom image integration#6
Copilot wants to merge 1 commit intocopilot/update-app-layout-and-designfrom
copilot/update-documentation-files

Conversation

Copy link
Contributor

Copilot AI commented Feb 11, 2026

The napster app needs a clear structure for users to integrate custom profile photos, logos, and location images. Currently uses placeholder URLs with no organization.

Changes

Asset Structure

  • Organized into typed directories: assets/icons/, assets/profiles/, assets/spots/, assets/posts/
  • Relocated logo.png and icon.jpg to assets/icons/
  • Added .gitkeep for empty directories

Path Updates

  • index.html: Icon/logo references → assets/icons/*
  • manifest.json: PWA icon → assets/icons/icon.jpg
  • sw.js: Cache paths updated, version bumped to v3

Documentation

  • IMAGE_GUIDE.md: Comprehensive specs (dimensions, formats, file sizes)
  • ADD_YOUR_IMAGES.md: Quick start for users
  • Individual READMEs in each asset subdirectory

Usage

Users drop images into appropriate folders, then update profile references:

// js/app.js
profiles: [
    {
        id: 1,
        name: 'Alex',
        // Before: image: 'https://via.placeholder.com/400x600/...'
        image: 'assets/profiles/profile-1.jpg'
    }
]

Logo and icon are drop-in replacements at assets/icons/.

Screenshot

napster app with reorganized asset structure

Service worker registers successfully, all navigation functional.

Original prompt

Pull Request: #5


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel
Copy link

vercel bot commented Feb 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
npstr Ready Ready Preview, Comment Feb 11, 2026 7:56am

Copilot AI changed the title [WIP] Update documentation for project components Reorganize assets for custom image integration Feb 11, 2026
Copilot AI requested a review from dshvvvshr February 11, 2026 03:11
@dshvvvshr
Copy link
Owner

Where's the pics I uploaded, they're just for the mock up of this to have pictures in the fake profiles

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants