2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-11-21 00:15:31 +01:00
|
|
|
# Favicons
|
2023-09-11 17:41:54 +02:00
|
|
|
FAVICONS_SRC = {
|
|
|
|
"16px" => ENV.fetch("FAVICON_16PX_SRC", "favicons/16x16.png"),
|
|
|
|
"32px" => ENV.fetch("FAVICON_32PX_SRC", "favicons/32x32.png"),
|
|
|
|
"96px" => ENV.fetch("FAVICON_96PX_SRC", "favicons/96x96.png"),
|
|
|
|
"apple_touch" => ENV.fetch("FAVICON_APPLE_TOUCH_152PX_SRC", "favicons/apple-touch-icon.png")
|
|
|
|
}.compact_blank.freeze
|
2020-11-21 00:15:31 +01:00
|
|
|
|
|
|
|
# Header logo
|
2023-11-28 17:45:19 +01:00
|
|
|
HEADER_LOGO_SRC = ENV.fetch("HEADER_LOGO_SRC", "republique-francaise-logo.svg")
|
|
|
|
HEADER_LOGO_ALT = ENV.fetch("HEADER_LOGO_ALT", "Délégation Générale Numérique (DGNum)")
|
2020-11-21 00:15:31 +01:00
|
|
|
HEADER_LOGO_WIDTH = ENV.fetch("HEADER_LOGO_WIDTH", "65")
|
|
|
|
HEADER_LOGO_HEIGHT = ENV.fetch("HEADER_LOGO_HEIGHT", "56")
|
|
|
|
|
2021-01-30 18:32:42 +01:00
|
|
|
# Mailer logos
|
2024-03-27 16:44:47 +01:00
|
|
|
MAILER_LOGO_SRC = ENV.fetch("MAILER_LOGO_SRC", "mailer/republique-francaise-logo.png")
|
2020-12-10 21:05:42 +01:00
|
|
|
|
|
|
|
# Default logo of a procedure
|
|
|
|
PROCEDURE_DEFAULT_LOGO_SRC = ENV.fetch("PROCEDURE_DEFAULT_LOGO_SRC", "republique-francaise-logo.svg")
|
2021-01-30 17:47:52 +01:00
|
|
|
|
|
|
|
# Logo in PDF export of a "Dossier"
|
2022-03-28 15:10:37 +02:00
|
|
|
DOSSIER_PDF_EXPORT_LOGO_SRC = ENV.fetch("DOSSIER_PDF_EXPORT_LOGO_SRC", "app/assets/images/header/logo-ds-wide.png")
|