-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbrandtrackers-logo.sh
More file actions
executable file
·89 lines (76 loc) · 6.56 KB
/
brandtrackers-logo.sh
File metadata and controls
executable file
·89 lines (76 loc) · 6.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#!/bin/bash
# BrandTrackers Terminal Logo Animation
# Colors
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[0;33m'
BLUE='\033[0;34m'
MAGENTA='\033[0;35m'
CYAN='\033[0;36m'
WHITE='\033[0;37m'
BOLD='\033[1m'
RESET='\033[0m'
# Clear ASCII Art for BRANDTRACKERS
logo_lines=(
"██████╗ ██████╗ █████╗ ███╗ ██╗██████╗ ████████╗██████╗ █████╗ ██████╗██║ ██╗███████╗██████╗ ███████╗"
"██╔══██╗██╔══██╗██╔══██╗████╗ ██║██╔══██╗╚══██╔══╝██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔════╝██╔══██╗██╔════╝"
"██████╔╝██████╔╝███████║██╔██╗ ██║██║ ██║ ██║ ██████╔╝███████║██║ █████╔╝ █████╗ ██████╔╝███████╗"
"██╔══██╗██╔══██╗██╔══██║██║╚██╗██║██║ ██║ ██║ ██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══╝ ██╔══██╗╚════██║"
"██████╔╝██║ ██║██║ ██║██║ ╚████║██████╔╝ ██║ ██║ ██║██║ ██║╚██████╗██║ ██╗███████╗██║ ██║███████║"
"╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝"
)
# Simple readable version
simple_logo=(
"▄▄▄▄▄ ▄▄▄▄ ▄▄▄ ▄▄ ▄ ▄▄▄▄ ▄▄▄▄▄▄▄ ▄▄▄▄ ▄▄▄ ▄▄▄▄ ▄ ▄ ▄▄▄▄▄ ▄▄▄▄ ▄▄▄▄▄"
"█ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ "
"▄▄▄▄█ ▄▄▄▄ █▄▄▄█ █ █ █ █ █ █ ▄▄▄▄ █▄▄▄█ █ ▄▄▄ █▄▄▄ ▄▄▄▄ ▄▄▄▄▄"
"█ █ █ █ █ █ █ ██ █ █ █ █ █ █ █ █ █ █ █ █ █ █"
"▄▄▄▄█ █ █ █ █ █ █ ▄▄▄▄ █ █ █ █ █ ▄▄▄▄ █ █ ▄▄▄▄▄ █ █ ▄▄▄▄█"
)
# Ultra-simple text for compact displays
compact_logo=(
"╔══════════════════════════════════════════════════════════════════════════════════════════════════════════════╗"
"║ ██████╗ ██████╗ █████╗ ███╗ ██╗██████╗ ████████╗██████╗ █████╗ ██████╗██╗ ██╗███████╗██████╗ ███████╗ ║"
"║ ██╔══██╗██╔══██╗██╔══██╗████╗ ██║██╔══██╗╚══██╔══╝██╔══██╗██╔══██╗██╔════╝██║ ██╔╝██╔════╝██╔══██╗██╔════╝ ║"
"║ ██████╔╝██████╔╝███████║██╔██╗ ██║██║ ██║ ██║ ██████╔╝███████║██║ █████╔╝ █████╗ ██████╔╝███████╗ ║"
"║ ██╔══██╗██╔══██╗██╔══██║██║╚██╗██║██║ ██║ ██║ ██╔══██╗██╔══██║██║ ██╔═██╗ ██╔══╝ ██╔══██╗╚════██║ ║"
"║ ██████╔╝██║ ██║██║ ██║██║ ╚████║██████╔╝ ██║ ██║ ██║██║ ██║╚██████╗██║ ██╗███████╗██║ ██║███████║ ║"
"║ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝╚═════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝ ║"
"╚══════════════════════════════════════════════════════════════════════════════════════════════════════════════╝"
)
# Tagline
tagline="🎯 TRACK • ANALYZE • OPTIMIZE • SCALE 🚀"
subtitle="Terminal-Powered Brand Intelligence"
# Clear screen
clear_screen() {
printf "\033[2J\033[H"
}
# Display static logo
show_static_logo() {
clear_screen
echo
echo
# Determine terminal width to center logo
term_width=$(tput cols 2>/dev/null || echo 80)
# Choose logo based on terminal width
if [ $term_width -ge 110 ]; then
current_logo=("${compact_logo[@]}")
elif [ $term_width -ge 80 ]; then
current_logo=("${simple_logo[@]}")
else
# For very small terminals, use just text
current_logo=("BRANDTRACKERS" "Brand Intelligence Platform")
fi
# Display logo with gradient colors
colors=($CYAN $BLUE $MAGENTA $RED $YELLOW $GREEN)
for i in "${!current_logo[@]}"; do
color_index=$((i % ${#colors[@]}))
printf "${colors[$color_index]}%s${RESET}\n" "${current_logo[$i]}"
done
echo
printf "${BOLD}${YELLOW}%*s${RESET}\n" $(((${#tagline} + term_width) / 2)) "$tagline"
printf "${CYAN}%*s${RESET}\n" $(((${#subtitle} + term_width) / 2)) "$subtitle"
echo
}
# Default behavior - show static logo
show_static_logo