diff --git a/IMPLEMENTATION_COMPLETE.md b/IMPLEMENTATION_COMPLETE.md index ddddf5f..032ec3d 100644 --- a/IMPLEMENTATION_COMPLETE.md +++ b/IMPLEMENTATION_COMPLETE.md @@ -19,10 +19,10 @@ **Files Created**: - `/public/manifest.webmanifest` -- `/public/images/icon.svg` +- `/public/images/icon-1024.png` (orange SkateSpots logo — source of truth for all app icons) +- `/public/images/icon-maskable-1024.png` (maskable variant) - `/public/images/screenshot-mobile.svg` - `/public/images/screenshot-desktop.svg` -- `/public/images/generate-icons.html` (bonus: manual icon generator) ### ✅ Marketplace Integration (Complete) - [x] MarketplacePage created at `/marketplace` @@ -183,9 +183,9 @@ These are not required for launch but could be added later: - Replace SVG placeholders with actual app screenshots - Capture real mobile and desktop views -4. **PWA Icons**: - - Generate actual PNG icons from SVG - - Or use the included generate-icons.html tool +4. **PWA / Native Icons**: + - Master icon: `/public/images/icon-1024.png` (orange SkateSpots logo) + - Regenerate the Android launcher icon with `@capacitor/assets` — see `LOGO_USAGE.md` 5. **Additional Features**: - Spot ratings/reviews diff --git a/LOGO_USAGE.md b/LOGO_USAGE.md index 492aa47..90a0923 100644 --- a/LOGO_USAGE.md +++ b/LOGO_USAGE.md @@ -1,53 +1,74 @@ # SkateSpots Logo Assets -Generated logos for the SkateSpots skateboarding community app. +The official SkateSpots logo — an orange circular emblem with a spiky +sunburst/star, a hexagon, and a location pin with a skater inside. -## Files +## Source of truth -### `/public/images/logo.png` -- **Size:** 1024x1024px -- **Use:** General logo, social media, marketing -- **Style:** Skateboard merged with location pin, neon cyberpunk aesthetic +The logo lives as a set of **byte-identical** PNGs in `/public/images/`: -### `/public/images/logo-icon.png` -- **Size:** 1024x1024px -- **Use:** App icon, favicon, small displays -- **Style:** Simplified, centered design optimized for small sizes +| File | Purpose | +|------|---------| +| `icon-1024.png` | **Master app icon** — favicon, apple-touch-icon, PWA `any` icon, OG/Twitter image, in-app logo (Splash, Layout, Index) | +| `icon-maskable-1024.png` | PWA **maskable** icon variant | +| `logo.png` | General logo (marketing / CVM server profile) | +| `logo-icon.png` | Alias used by older references | +| `user-location.png` | "You are here" map marker badge (circular crop) | -### `/public/images/logo-banner.png` -- **Size:** 1536x1024px -- **Use:** Website headers, social media banners, wide displays -- **Style:** Horizontal composition with text and iconography +> ⚠️ Keep these in sync. If the brand logo changes, replace **all** of the +> files above with the new artwork so the logo is consistent everywhere. + +## Where the logo is used in code + +- `src/components/SplashScreen.tsx` → `/images/icon-1024.png` +- `src/components/Layout.tsx` → `/images/icon-1024.png` (header + footer) +- `src/pages/Index.tsx` → `/images/icon-1024.png` +- `src/components/SpotMap.tsx` → `/images/user-location.png` (map "you are here" badge) +- `index.html` → favicon, apple-touch-icon, OG/Twitter image +- `public/manifest.webmanifest` → PWA icons + shortcuts +- `cvm-server/server.ts` → `https://skate-spots.org/images/logo.png` + +## Native Android launcher icon (IMPORTANT) + +The Android home-screen / Zapstore launcher icon lives in +`android/app/src/main/res/mipmap-*/` and is **NOT** regenerated by +`npx cap sync`. It is only laid down once when `npx cap add android` runs. + +To make the native launcher icon match the current logo, regenerate it from +the master PNG with the official Capacitor assets tool **before** building the +APK: + +```bash +# one-time: create the assets source folder Capacitor's tool expects +mkdir -p assets +cp public/images/icon-1024.png assets/icon-only.png +cp public/images/icon-1024.png assets/icon-foreground.png +# a solid brand-black background behind the adaptive foreground +# (or supply your own assets/icon-background.png) + +# generate all Android mipmap densities + adaptive icon +npx @capacitor/assets generate --android --iconBackgroundColor '#000000' --iconBackgroundColorDark '#000000' + +# then sync + build as usual +npx cap sync android +cd android && ./gradlew clean assembleRelease +``` + +After running this, the `mipmap-*/ic_launcher*.png` and +`mipmap-anydpi-v26/ic_launcher.xml` (adaptive icon) will all show the orange +SkateSpots logo. Verify the phone home-screen icon and the Zapstore "App Icon" +preview before publishing. ## Color Scheme -All logos use the SkateSpots brand colors: - -- **Hot Pink:** #ff0040 (primary accent) +- **Orange:** #ff6600 (primary logo) +- **Hot Pink:** #ff0040 (accent / theme color) - **Neon Lime:** #ccff00 (secondary accent) -- **Orange:** #ff6600 (tertiary accent) -- **Black:** #000000 (background) - -## Design Philosophy - -- **Bold & Energetic:** Reflects skateboarding culture -- **Neon Cyberpunk:** Modern, tech-forward aesthetic -- **Street Art:** Graffiti-inspired, urban edge -- **High Contrast:** Neon colors on black for maximum impact -- **Iconic:** Recognizable at any size +- **Black:** #000000 (backgrounds / adaptive-icon background) ## Usage Guidelines -- Maintain aspect ratios when scaling -- Always use on dark backgrounds for best effect -- Preserve neon glow effects -- Don't add additional effects or filters -- Minimum display size: 32x32px for icon version - -## Future Variations - -Can generate additional variations: -- Monochrome version (single color) -- Minimal version (simplified for very small sizes) -- Animated version (for web/video) -- Different color combinations (if brand evolves) +- Maintain aspect ratio when scaling — the logo is square (1:1). +- The emblem crops cleanly into a circle (used for the map badge & avatars). +- Minimum display size: 32×32px. +- Don't add extra effects, filters, or recolor the emblem. diff --git a/public/images/generate-icons.html b/public/images/generate-icons.html deleted file mode 100644 index b2c5ee7..0000000 --- a/public/images/generate-icons.html +++ /dev/null @@ -1,139 +0,0 @@ - - -
-Right-click each icon below and "Save image as..." to download:
- -icon-72.png (72x72)
-icon-96.png (96x96)
-icon-128.png (128x128)
-icon-144.png (144x144)
-icon-152.png (152x152)
-icon-192.png (192x192)
-icon-384.png (384x384)
-icon-512.png (512x512)
-logo.png (32x32)
-