Logo Configuration Examples

Comprehensive documentation system guides

Logo Configuration Examples

🎨 Simplified Logo Configuration System

The logo configuration system automatically shows elements based on their presence. No boolean flags needed!

📋 Configuration Options

Complete Logo (Image + Text)

{
  "logo": {
    "image": "🚀",
    "text": "My Project",
    "imageSize": "1.8em",
    "textSize": "1.1rem",
    "link": "/my-project",
    "alt": "My Project Documentation"
  }
}

Image Only

{
  "logo": {
    "image": "⚡",
    "imageSize": "2.5em",
    "link": "/",
    "alt": "Documentation"
  }
}

Text Only

{
  "logo": {
    "text": "Documentation Hub",
    "textSize": "1.3rem",
    "link": "/docs",
    "alt": "Documentation Hub"
  }
}

Minimal Configuration

{
  "logo": {
    "image": "📚",
    "text": "Docs"
  }
}

🎯 Real Project Examples

GoGrab Pulse

{
  "logo": {
    "image": "🎵",
    "text": "GoGrab Pulse",
    "imageSize": "1.8em",
    "textSize": "1.1rem",
    "link": "/GoGrab-Pulse",
    "alt": "GoGrab Pulse Documentation"
  }
}

GoGrab Space

{
  "logo": {
    "image": "🌌",
    "text": "GoGrab Space",
    "imageSize": "1.6em",
    "textSize": "1rem",
    "link": "/GoGrab-Space",
    "alt": "GoGrab Space Platform Documentation"
  }
}

🔧 How It Works

Automatic Display Logic

Fallback System

  1. Project config overrides global config
  2. Missing properties use global defaults
  3. No config uses global configuration
  4. Load failure uses hardcoded defaults

⚙️ Configuration Properties

Property Type Required Default Description
image string No - Emoji or icon to display
text string No - Text label to display
imageSize string No 1.5em CSS size for image
textSize string No 1rem CSS size for text
link string No / Navigation link
alt string No Documentation Accessibility text

🎨 Styling Tips

Size Guidelines

Emoji Recommendations

🌍 Where Logos Appear

The logo configuration system automatically applies to:

Project-Aware Logo System

The system intelligently switches logos based on the current project:

Current Project Display

Project Switcher Dropdown

Responsive Behavior

🚀 Benefits

  1. 🎯 Intuitive: Presence = visibility
  2. 🔧 Simple: No boolean flags needed
  3. ⚡ Flexible: Mix and match as needed
  4. 🛡️ Robust: Automatic fallbacks
  5. ♿ Accessible: Built-in ARIA support
  6. 🌍 Project-Aware: Automatic context switching