docs: archive entra materials and simplify deployment docs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Convert SVG files to PNG for Entra VerifiedID credential images
|
||||
# Convert SVG files to PNG for credential images
|
||||
# Supports multiple conversion methods
|
||||
|
||||
set -euo pipefail
|
||||
@@ -18,7 +18,7 @@ log_error() { echo -e "${RED}[ERROR]${NC} $1"; }
|
||||
usage() {
|
||||
echo "Usage: $0 <input.svg> [output.png] [width] [height]"
|
||||
echo ""
|
||||
echo "Converts SVG to PNG for Entra VerifiedID credential images"
|
||||
echo "Converts SVG to PNG for credential images"
|
||||
echo ""
|
||||
echo "Arguments:"
|
||||
echo " input.svg - Input SVG file"
|
||||
@@ -88,4 +88,3 @@ echo " - ImageMagick: sudo apt-get install imagemagick"
|
||||
echo " - Inkscape: sudo apt-get install inkscape"
|
||||
echo " - sharp (Node.js): pnpm add sharp"
|
||||
exit 1
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
# Prepare all credential images from SVG sources
|
||||
# Converts SVG files to PNG for Entra VerifiedID compatibility
|
||||
# Converts SVG files to PNG for broad wallet and credential compatibility
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
@@ -39,7 +39,7 @@ if [ ! -d "${SVG_DIR}" ] || [ -z "$(find "${SVG_DIR}" -name "*.svg" 2>/dev/null)
|
||||
# Create example SVG files (placeholder)
|
||||
cat > "${SVG_DIR}/.gitkeep" << 'EOF'
|
||||
# Place your SVG logo files here
|
||||
# Files will be automatically converted to PNG for Entra VerifiedID
|
||||
# Files will be automatically converted to PNG for credential clients
|
||||
EOF
|
||||
|
||||
log_info "After adding SVG files, run this script again to convert them"
|
||||
@@ -84,7 +84,7 @@ cat > "${PNG_DIR}/UPLOAD_INSTRUCTIONS.md" << 'EOF'
|
||||
|
||||
## Generated PNG Files
|
||||
|
||||
PNG files have been generated from SVG sources for Entra VerifiedID compatibility.
|
||||
PNG files have been generated from SVG sources for credential client compatibility.
|
||||
|
||||
## Upload to CDN/Storage
|
||||
|
||||
@@ -103,8 +103,8 @@ PNG files have been generated from SVG sources for Entra VerifiedID compatibilit
|
||||
|
||||
After uploading, update:
|
||||
- Manifest templates in `manifests/entra/`
|
||||
- Environment variable: `ENTRA_CREDENTIAL_LOGO_URI`
|
||||
- Or in code: `logoUri` in `EntraVerifiedIDClient` config
|
||||
- Environment variable: your deployment-specific logo URL
|
||||
- Or in code: the active credential issuer configuration
|
||||
EOF
|
||||
|
||||
log_success "Image preparation complete!"
|
||||
@@ -114,4 +114,3 @@ echo "1. Review generated PNG files"
|
||||
echo "2. Upload to CDN/storage"
|
||||
echo "3. Update manifest templates with image URLs"
|
||||
echo "4. See: ${PNG_DIR}/UPLOAD_INSTRUCTIONS.md"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user