fix: Optimisation des fichiers SVG
This commit is contained in:
parent
79acd70d1c
commit
f26d1e6113
|
@ -7,6 +7,7 @@
|
||||||
"serve": "(cd public && python3 -m http.server 8080)",
|
"serve": "(cd public && python3 -m http.server 8080)",
|
||||||
"build": "rm -rf public && hugo -D --minify && node themes/hugo-theme-lowtech/scripts/typo",
|
"build": "rm -rf public && hugo -D --minify && node themes/hugo-theme-lowtech/scripts/typo",
|
||||||
"favicon": "convert static/icon.png -resize 32x32 -colors 16 \\( -clone 0 -resize 16x16 -extent 16x16 \\) \\( -clone 0 -resize 32x32 -extent 32x32 \\) -delete 0 static/favicon.ico",
|
"favicon": "convert static/icon.png -resize 32x32 -colors 16 \\( -clone 0 -resize 16x16 -extent 16x16 \\) \\( -clone 0 -resize 32x32 -extent 32x32 \\) -delete 0 static/favicon.ico",
|
||||||
|
"svgo": "svgo */**.svg",
|
||||||
"deploy": "docker-compose up -d --build",
|
"deploy": "docker-compose up -d --build",
|
||||||
"ftp-deploy": "lftp -u $HISTOIREDUNPIED_FTP_USER,$HISTOIREDUNPIED_FTP_PASSWORD $HISTOIREDUNPIED_FTP_HOST -e 'mirror -e -R ./public /www ; quit'",
|
"ftp-deploy": "lftp -u $HISTOIREDUNPIED_FTP_USER,$HISTOIREDUNPIED_FTP_PASSWORD $HISTOIREDUNPIED_FTP_HOST -e 'mirror -e -R ./public /www ; quit'",
|
||||||
"ftp-htaccess": "lftp -u $HISTOIREDUNPIED_FTP_USER,$HISTOIREDUNPIED_FTP_PASSWORD $HISTOIREDUNPIED_FTP_HOST -e 'put ./.htaccess ; quit'",
|
"ftp-htaccess": "lftp -u $HISTOIREDUNPIED_FTP_USER,$HISTOIREDUNPIED_FTP_PASSWORD $HISTOIREDUNPIED_FTP_HOST -e 'put ./.htaccess ; quit'",
|
||||||
|
|
|
@ -1,59 +1 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 246.5 46.7"><path d="M60.8 26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 1.8-.4 4.6-.2 9.2-.1 13.8.1 3.1-.7 8.7 3.9 8.7 1.7 0 2.3.2 3.4-.3 1.2-.5 2.2-1.6 3.4-1.8 2-.2 1 1.9.2 2.7.7.1 1.6-.6 2.1 0 .7 1-1.7 2.7 0 2.1 1.7-1 3.4-.4 1.3 1.4.5-.1 2-.2 1.5.6-.3.5-1.5 1.2 0 .8 1.2-.3.4.9.4.9-2.1 2.8-10 3.8-13.5 3.1-2.3-.3-4.6-1.1-6.6-2.3-1.2-.7-1.3-1.4-2.3-1.6-4 .6-4.5-.6-2.7-3.9.5-2.9 1.5-5.7 1.9-8.6.1-6.5.3-8.9-.4-15.4v-.3C6 5.2 0 13.6 0 23.4c0 12.9 10.5 23.4 23.4 23.4s23.4-10.5 23.4-23.4C46.7 10.5 36.3 0 23.4 0z" fill="#e72520"/></svg>
|
||||||
<!-- Generator: Adobe Illustrator 24.0.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
||||||
<svg version="1.1" id="Calque_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
||||||
viewBox="0 0 246.5 46.7" style="enable-background:new 0 0 246.5 46.7;" xml:space="preserve">
|
|
||||||
<style type="text/css">
|
|
||||||
.st0{fill:#E72520;}
|
|
||||||
</style>
|
|
||||||
<title>logo_histoiredunpied_site</title>
|
|
||||||
<g>
|
|
||||||
<path d="M60.8,26.6v10.2c0,1.6-2,1-2.1,0.5c0-1.3,0.1-7.3,0.1-8.5c0-2.8,0.3-17.3,0.3-20.1c0.3-0.3,0.6-0.3,1-0.3
|
|
||||||
c0.5,0,0.8,0.3,1.1,0.8c0,3.5-0.3,8.4-0.3,12.1c0,0.5,0,2.8,0,3.3c0.3,0.3,0.5,0.3,0.9,0.3c1.4,0,2.7,0,4.1,0.1
|
|
||||||
c0.3-4.1,0.4-11.1,0.3-15.7V9c0-0.5,0.4-0.8,0.9-0.8c0.4,0,0.9,0.4,1.2,0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7,19.7,99.7,20.7,99.7,21.7z"/>
|
|
||||||
<path d="M114.4,10.6c0.3-0.7,0.4-0.8,1.2-0.8c1,0,1,0.5,1,1.5c0,0.1,0,0.6,0,0.6l-1.1,24.6c-0.1,1.6-2.1,1.7-2.1,0.7L114.4,10.6z"
|
|
||||||
/>
|
|
||||||
<path d="M120.2,34.8c0-8.1,0.3-16.3,0.5-24.4c0.1-1.7,0.7-1.7,2.1-1.7h0.4c3.3,0,5.4,2.2,5.4,5.3v0.4c0,2.6-0.7,5.7-3.1,7.3
|
|
||||||
c0.2,0.2,1,1.2,1.2,1.4c1.6,2.1,1.2,7.3,1.4,9.8c0,0.2,0.2,1.9,0.2,2.1v0.3c0,0.6-0.6,0.7-1,0.7l0,0c-0.4,0-0.9,0-1-0.5
|
|
||||||
c0-1.2-0.4-6.7-0.4-7.9c-0.1-1.8-0.5-4.2-2.7-4.2h-0.6c-0.1,0.3-0.2,1.8-0.2,2.1c0,0.3-0.2,8.3-0.3,11.4c0,0.7,0.1,1.4-0.8,1.4
|
|
||||||
c-0.4,0-0.8-0.1-1.1-0.5C120.2,37.8,120.2,34.8,120.2,34.8z M123,20.9c2.6,0,3.5-4.7,3.5-6.4s-0.8-3.9-2.8-3.9
|
|
||||||
c-0.5,0-0.9,0.3-0.9,0.9c0,3.1-0.3,5.8-0.3,9C122.6,20.8,122.8,20.9,123,20.9z"/>
|
|
||||||
<path d="M132.2,11.7c0-0.6,0.6-1.3,1.3-1.3h5.7c0.2,0,0.9,0.5,1,0.7c0,0.1,0,0.1,0,0.2c0,0.7-1,1-1.5,1h-4.3l0.2,12l3.9-0.6h0.2
|
|
||||||
c1.7,0,1,1.7-0.4,1.9l-3.6,0.5l-0.1,9.4c0.3,0,1.5,0,1.9,0c2.4,0,4.2-0.8,4.3,0.8c0.1,1.2-8,1.1-8,0.4L132.2,11.7z"/>
|
|
||||||
<path d="M152.1,30.7c0-3.1,0-17.5,0-20.6V10c0-0.8,0.3-1.6,1-1.9h0.3c1.4,0,3,0.3,4,1.3c3.9,3.5,4.6,9.6,4.4,14.5
|
|
||||||
c-0.3,6.9-1.9,13.6-7.8,14.3c-1.2,0.1-1.9,0-1.9-1.4V30.7z M154.1,23.8c0,3.2-0.1,8.7,0,12.3c4.5-0.7,5.7-7.8,5.7-11.8
|
|
||||||
c0-2.8-0.2-14-5.2-14h-0.3C154.3,12.4,154.1,21.8,154.1,23.8z"/>
|
|
||||||
<path d="M165.5,10c0-0.6,0.3-0.8,0.9-0.8c0.3,0,1.3,0.2,1.3,0.7v12.2c0,0.4-0.4,1.1-0.9,1.1c-0.4,0-0.6-0.1-0.9-0.5
|
|
||||||
C165.6,18.6,165.5,14.2,165.5,10z"/>
|
|
||||||
<path d="M177.3,35.8c-0.3,0-0.5,0-0.9-0.1c-4.4-0.5-4.8-11.5-5.1-24.1l-0.1-1.8V9.7c0-0.8,1.9-0.8,2.2,0c0.6,1-1,24.5,4,24.5
|
|
||||||
c1.3,0,1.7-2.1,1.7-3c0.1-4.5,0-14.5-0.1-21.5c0.2-0.6,0.4-0.6,1-0.6s1.1,0.1,1.1,0.7c0.2,6.3-0.1,12.7,0.1,19.4
|
|
||||||
C181.1,32.2,181.1,35.8,177.3,35.8z"/>
|
|
||||||
<path d="M185.2,11.5c-0.1-1.4,1.9-2.3,2.7-0.2l7.3,19.9c0-1.6,0.3-10.4,0.5-14c0.1-2.2,0-4.4,0.4-6.4c0-0.4,0.4-0.4,0.9-0.4
|
|
||||||
c0.9,0,0.9,0.1,0.9,0.9c-0.1,3.7-0.6,7.5-0.8,11.2c-0.1,2.1-0.4,12.1-0.4,14.1c-0.3,0.8-1.4,0.3-1.7-0.3c-0.4-0.8-0.6-1.5-8.3-21.9
|
|
||||||
l-0.3,22.1c0,1.1-1.8,1-1.8,0.2L185.2,11.5z"/>
|
|
||||||
<path d="M209.5,29.1c0-2.9,0.2-16.3,0.3-19.2c0.2-0.5,1.1-0.4,1.5-0.4c3.7,0,6.4,3.3,6.4,6.9c0,3.9-2.7,8.2-6.2,9.9
|
|
||||||
c0,0.6-0.2,3.4-0.2,4c0,1.2,0,6.8,0,8c-0.2,0.4-0.8,0.5-1.1,0.5s-0.4,0-0.7-0.2V29.1z M211.4,23.9c0.3,0,0.6-0.1,0.8-0.3
|
|
||||||
c2.1-1.9,3.3-4.1,3.3-7c0-1.9-1.3-5.3-3.8-5.3L211.4,23.9z"/>
|
|
||||||
<path d="M220.3,10.6c0.3-0.7,0.4-0.8,1.2-0.8c1,0,1,0.5,1,1.5c0,0.1,0,0.6,0,0.6l-1.1,24.6c-0.1,1.6-2.1,1.7-2.1,0.7L220.3,10.6z"
|
|
||||||
/>
|
|
||||||
<path d="M226.1,11.7c0-0.6,0.6-1.3,1.3-1.3h5.7c0.2,0,0.9,0.5,1,0.7c0,0.1,0,0.1,0,0.2c0,0.7-1,1-1.5,1h-4.3l0.2,12l3.9-0.6h0.2
|
|
||||||
c1.7,0,1,1.7-0.4,1.9l-3.6,0.5l-0.1,9.4c0.3,0,1.5,0,1.9,0c2.4,0,4.2-0.8,4.3,0.8c0.1,1.2-8,1.1-8,0.4L226.1,11.7z"/>
|
|
||||||
<path d="M236.7,30.7c0-3.1,0-17.5,0-20.6V10c0-0.8,0.3-1.6,1-1.9h0.3c1.4,0,3,0.3,4,1.3c3.9,3.5,4.6,9.6,4.4,14.5
|
|
||||||
c-0.3,6.9-1.9,13.6-7.8,14.3c-1.2,0.1-1.9,0-1.9-1.4V30.7z M238.8,23.8c0,3.2-0.1,8.7,0,12.3c4.5-0.7,5.7-7.8,5.7-11.8
|
|
||||||
c0-2.8-0.2-14-5.2-14H239C239,12.4,238.8,21.8,238.8,23.8z"/>
|
|
||||||
</g>
|
|
||||||
<path class="st0" d="M23.4,0c-0.4,0-0.8,0-1.2,0C22.1,0.7,22,1.3,22,1.8c-0.4,4.6-0.2,9.2-0.1,13.8c0.1,3.1-0.7,8.7,3.9,8.7
|
|
||||||
c1.7,0,2.3,0.2,3.4-0.3c1.2-0.5,2.2-1.6,3.4-1.8c2-0.2,1,1.9,0.2,2.7c0.7,0.1,1.6-0.6,2.1,0c0.7,1-1.7,2.7,0,2.1
|
|
||||||
c1.7-1,3.4-0.4,1.3,1.4c0.5-0.1,2-0.2,1.5,0.6c-0.3,0.5-1.5,1.2,0,0.8c1.2-0.3,0.4,0.9,0.4,0.9c-2.1,2.8-10,3.8-13.5,3.1
|
|
||||||
c-2.3-0.3-4.6-1.1-6.6-2.3c-1.2-0.7-1.3-1.4-2.3-1.6c-4,0.6-4.5-0.6-2.7-3.9c0.5-2.9,1.5-5.7,1.9-8.6C15,10.9,15.2,8.5,14.5,2
|
|
||||||
c0-0.1,0-0.2,0-0.3C6,5.2,0,13.6,0,23.4c0,12.9,10.5,23.4,23.4,23.4s23.4-10.5,23.4-23.4C46.7,10.5,36.3,0,23.4,0z"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 3.6 KiB |
Loading…
Reference in New Issue