File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 1+
2+ from rich .text import Text
3+ from rich .align import Align
4+ from rich .panel import Panel
5+
6+ class Banner :
7+ @staticmethod
8+ def get_ascii_art ():
9+ return """
10+ [bold cyan]██╗ ██╗[/] [bold green] █████╗ [/] [bold cyan]███████╗██╗ ██╗ ██████╗ ██████╗ ████████╗[/]
11+ [bold cyan]██║ ██║[/] [bold green]██╔══██╗[/] [bold cyan]██╔════╝╚██╗██╔╝ ██╔════╝ ██═══██╗╚══██╔══╝[/]
12+ [bold cyan]███████║[/] [bold green]███████║[/] [bold cyan]██║ ╚███╔╝ ██║ ███╗██████╔╝ ██║[/]
13+ [bold cyan]██╔══██║[/] [bold green]██╔══██║[/] [bold cyan]██║ ██╔██╗ ██║ ██║██╔═ ██║[/]
14+ [bold cyan]██║ ██║[/] [bold green]██║ ██║[/] [bold cyan]╚██████╗██╔╝ ██╗ ╚██████╔╝██║ ██║[/]
15+ [bold cyan]╚═╝ ╚═╝[/] [bold green]╚═╝ ╚═╝[/] [bold cyan] ╚═════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝[/]
16+ """
17+
18+ @staticmethod
19+ def print_banner (console ):
20+ tagline = Text ("SYSTEM: UNRESTRICTED | PROTOCOL: ACTIVE" , style = "bold red blink" )
21+ subline = Text ("Developed by BlackTechX" , style = "dim green" )
22+
23+ console .print (Align .center (Banner .get_ascii_art ()))
24+ console .print (Align .center (tagline ))
25+ console .print (Align .center (subline ))
26+ console .print (Panel ("" , border_style = "green" , height = 1 ))
You can’t perform that action at this time.
0 commit comments