ajout du code pour l'api REST et discord oauth. Refacto
This commit is contained in:
28
src/tools/constants.py
Normal file
28
src/tools/constants.py
Normal file
@@ -0,0 +1,28 @@
|
||||
from enum import Enum
|
||||
|
||||
from PySide6.QtGui import QColor
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Constants
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
NO_STAFF = True
|
||||
NO_DISCORD = True
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# ENUMS
|
||||
# ---------------------------------------------------------------------------
|
||||
class Resources(Enum):
|
||||
MP3 = ":/assets/the-beat-of-nature.mp3"
|
||||
FONT = ":/assets/Avocado-Cake-Demo.otf"
|
||||
|
||||
class Urls(Enum):
|
||||
DISCORD = "https://discord.gg/A7eanmSkp2"
|
||||
INTRANET = "https://la-taniere.fun/connexion/"
|
||||
API_URL = 'https://prod.la-taniere.fun:30121/'
|
||||
|
||||
class Glow(Enum):
|
||||
COLOR = QColor(255, 140, 0, 255)
|
||||
BLUR_BASE = 15
|
||||
BLUR_PEAK = 70
|
||||
ANIM_DURATION = 1200
|
||||
Reference in New Issue
Block a user