Skip to content
Snippets Groups Projects
Commit bc6114ca authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

mainColor from settings

parent a1ffff6d
No related branches found
No related tags found
No related merge requests found
<!-- Icône du site -->
<link rel="icon" type="image/svg+xml" href="<?=getWebsiteSetting("websiteUrl")?>data/images/logo/favicon.svg">
<link rel="alternate icon" href="<?=getWebsiteSetting("websiteUrl")?>data/images/logo/favicon.ico">
<link rel="mask-icon" href="<?=getWebsiteSetting("websiteUrl")?>data/images/logo/favicon.svg" color="#ed8930">
<link rel="mask-icon" href="<?=getWebsiteSetting("websiteUrl")?>data/images/logo/favicon.svg" color="<?=getWebsiteSetting("mainColor")?>">
<!-- Embed -->
<meta content="Marmiuton" property="og:title" />
<meta content="Retrouvez des milliers de recettes toutes plus délicieuses les unes des autres. Rejoignez la communauté des Marmiutons et partagez vos recettes de grand-mère!" property="og:description" />
<meta content="https://marmiuton.sl-projects.com/" property="og:url" />
<meta content="https://marmiuton.sl-projects.com/data/images/logo/favicon.png" property="og:image" />
<meta content="#ed8930" data-react-helmet="true" name="theme-color" />
<meta content="<?=getWebsiteSetting("mainColor")?>" data-react-helmet="true" name="theme-color" />
<!-- Intégration de Bootstrap, Font Awesome & jQuery -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
......
......@@ -5,7 +5,7 @@
<!-- Icône du site -->
<link rel="icon" type="image/svg+xml" href="<?=getWebsiteSetting("websiteUrl")?>data/images/logo/favicon.svg">
<link rel="alternate icon" href="<?=getWebsiteSetting("websiteUrl")?>data/images/logo/favicon.ico">
<link rel="mask-icon" href="<?=getWebsiteSetting("websiteUrl")?>data/images/logo/favicon.svg" color="#ed8930">
<link rel="mask-icon" href="<?=getWebsiteSetting("websiteUrl")?>data/images/logo/favicon.svg" color="<?=getWebsiteSetting("mainColor")?>">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
......
......@@ -14,11 +14,11 @@ if(isset($_GET['recetteId']) && !empty($_GET['recetteId'])){
<link rel="stylesheet" href="<?=getWebsiteSetting("websiteUrl")?>pages/assets/css/recette.css">
<!-- Embed -->
<meta content="Inscription" property="og:title" />
<meta content="<?=utf8_decode($recette["nom"])?>" property="og:title" />
<meta content="<?=utf8_decode($recette["description"])?>" property="og:description" />
<meta content="<?=getWebsiteSetting("websiteUrl")?>" property="og:url" />
<meta content="<?=getWebsiteSetting("websiteUrl")?>data/images/logo/favicon.png" property="og:image" />
<meta content="#ed8930" data-react-helmet="true" name="theme-color" />
<meta content="<?=getWebsiteSetting("mainColor")?>" data-react-helmet="true" name="theme-color" />
</head>
<body>
<!-- Inclusion dynamique de la navbar -->
......
......@@ -11,7 +11,7 @@
<meta content="Retrouvez des milliers de recettes toutes plus délicieuses les unes des autres. Rejoignez la communauté des Marmiutons et partagez vos recettes de grand-mère!" property="og:description" />
<meta content="https://marmiuton.sl-projects.com/" property="og:url" />
<meta content="https://marmiuton.sl-projects.com/data/images/logo/favicon.png" property="og:image" />
<meta content="#ed8930" data-react-helmet="true" name="theme-color" />
<meta content="<?=getWebsiteSetting("mainColor")?>" data-react-helmet="true" name="theme-color" />
<body>
<!-- Inclusion dynamique de la navbar -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment