#!/usr/bin/env bash
set -euo pipefail

if   [ -n "${BASH_VERSION-}" ]; then script_path="${BASH_SOURCE[0]}"
elif [ -n "${ZSH_VERSION-}"  ]; then script_path="${(%):-%x}"
else                                 script_path="$0"
fi
script_dir="$(cd "$(dirname "$script_path")" && pwd -P)"

if [ ! -d "./evibes" ]; then
  echo "❌  Please run this script from the project's root (where the 'evibes' directory lives)." >&2
  exit 1
fi

art_path="$script_dir/../ASCII_ART_EVIBES"
if [ ! -f "$art_path" ]; then
  echo "❌  Could not find ASCII art at $art_path" >&2
  exit 1
fi

cat "$art_path"
echo
echo "                                                                       by WISELESS TEAM"
echo
