feat: Avancement général sur le contenu et le design
fixes #3, fixes #4, fixes #5, fixes #7, fixes #8, fixes #9, fixes #10
This commit is contained in:
8
run
8
run
@ -18,9 +18,15 @@ help() {
|
||||
echo "- ./run dev production 🚧 Lancement du serveur pour le développement sans les brouillons"
|
||||
echo "- ./run prod 🚀 Déploiement du site en mode production"
|
||||
echo "- ./run staging 🚀 Déploiement du site en mode staging"
|
||||
echo "- ./run favicon 🎨 Création du favicon"
|
||||
echo
|
||||
}
|
||||
|
||||
favicon() {
|
||||
# https://stackoverflow.com/questions/39256104/how-to-convert-an-image-file-from-svg-to-a-multi-size-ico-without-blur-sharp
|
||||
convert -density 300 -define icon:auto-resize=48,32,16 -background none static/icons/blason-512x512.png static/favicon.ico
|
||||
}
|
||||
|
||||
prod() {
|
||||
echo
|
||||
echo "🚀 Déploiement du site en mode production 🚀"
|
||||
@ -69,6 +75,8 @@ if [ $# -ge 1 ]; then
|
||||
staging
|
||||
elif [ $1 == "install" ]; then
|
||||
install
|
||||
elif [ $1 == "favicon" ]; then
|
||||
favicon
|
||||
fi
|
||||
else
|
||||
help
|
||||
|
Reference in New Issue
Block a user