replace/remove some old images
|
@ -19,7 +19,7 @@ object widget {
|
||||||
c.coach.picturePath.map { path =>
|
c.coach.picturePath.map { path =>
|
||||||
img(width := size, height := size, cls := "picture", src := dbImageUrl(path.value), alt := s"${c.user.titleUsername} lichess coach")
|
img(width := size, height := size, cls := "picture", src := dbImageUrl(path.value), alt := s"${c.user.titleUsername} lichess coach")
|
||||||
}.getOrElse {
|
}.getOrElse {
|
||||||
img(width := size, height := size, cls := "default picture", src := staticUrl("images/coach-nopic.svg"))
|
img(width := size, height := size, cls := "default picture", src := staticUrl("images/placeholder.png"))
|
||||||
}
|
}
|
||||||
|
|
||||||
def apply(c: lila.coach.Coach.WithUser, link: Boolean)(implicit ctx: Context) = {
|
def apply(c: lila.coach.Coach.WithUser, link: Boolean)(implicit ctx: Context) = {
|
||||||
|
|
|
@ -37,7 +37,7 @@ object bits {
|
||||||
width := size,
|
width := size,
|
||||||
height := size,
|
height := size,
|
||||||
cls := "default picture",
|
cls := "default picture",
|
||||||
src := staticUrl("images/streamer-nopic.svg"),
|
src := staticUrl("images/placeholder.png"),
|
||||||
alt := "Default streamer picture"
|
alt := "Default streamer picture"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Before Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 284 KiB |
BIN
public/75x75.png
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 8.1 KiB |
Before Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 101 KiB |
Before Width: | Height: | Size: 674 B |
|
@ -1,14 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
||||||
<svg width="50mm" height="50mm" version="1.1" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
|
||||||
<metadata>
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
|
||||||
<dc:title/>
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<path d="m38.956 0.49996c-3.5298 0.41803-6.452 0.90223-9.2864 2.9838-24.136-1.6977-30.362 15.049-28.99 25.881 2.8129 20.848 31.238 26.42 40.649 12.335-7.4439 7.6963-19.276 8.7525-28.323 3.0844-9.0468-5.6679-13.512-17.392-8.3227-27.217 5.1893-9.825 14.313-13.032 24.348-11.162 2.4304-1.4179 5.2251-3.2198 7.6555-3.1874l-1.6949 4.8593 12.752 21.371c-0.4384 5.6537-5.4583 6.112-5.4583 6.112-0.5746-1.4709-1.6344-2.9416-4.8419-6.0361-3.2076-3.0944-17.465-10.177-15.788-16.207-2.0017 6.9673 10.311 14.152 14.04 17.663 3.7288 3.5109 5.4255 6.0393 5.7947 6.7564 0 0 9.3924-2.504 7.8379-8.9274l-11.927-21.638z" stroke="#000" stroke-linejoin="round" style="paint-order:normal"/>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1.2 KiB |
|
@ -1 +0,0 @@
|
||||||
<svg height="33.504" width="33.529" xmlns="http://www.w3.org/2000/svg"><g style="fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;opacity:.1;stroke:#fff"><path d="m16.75 3.754c10.5 1 16.5 8 16 29h-23c0-9 10-6.5 8-21"/><path d="m18.75 11.754c.38 2.91-5.55 7.37-8 9-3 2-2.82 4.34-5 4-1.042-.94 1.41-3.04 0-3-1 0 .19 1.23-1 2-1 0-4.003 1-4-4 0-2 6-12 6-12s1.89-1.9 2-3.5c-.73-.994-.5-2-.5-3 1-1 3 2.5 3 2.5h2s .78-1.992 2.5-3c1 0 1 3 1 3"/><path d="m4.25 19.254a.5.5 0 1 1 -1 0 .5.5 0 1 1 1 0zm5.433-9.75a.5 1.5 30 1 1 -.866-.5.5 1.5 30 1 1 .866.5z" fill="#fff"/></g></svg>
|
|
Before Width: | Height: | Size: 592 B |
Before Width: | Height: | Size: 7.6 KiB |
|
@ -1 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" ><path d="M0 0h512v512H0z" fill="#888888" stroke="transparent" stroke-width="0"></path>id="defs4976" /><path d="M60.81 476.91h300v-60h-300v60zm233.79-347.3l13.94 7.39c31.88-43.62 61.34-31.85 61.34-31.85l-21.62 53 35.64 19 2.87 33 64.42 108.75-43.55 29.37s-26.82-36.39-39.65-43.66c-10.66-6-41.22-10.25-56.17-12l-67.54-76.91-12 10.56 37.15 42.31c-.13.18-.25.37-.38.57-35.78 58.17 23 105.69 68.49 131.78H84.14C93 85 294.6 129.61 294.6 129.61z" fill="#ffffff" transform="translate(51.2, 51.2) scale(0.8, 0.8) rotate(0, 256, 256)"></path></svg>
|
|
Before Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 46 KiB |
|
@ -1 +0,0 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" ><path d="M0 0h512v512H0z" fill="#888888" stroke="transparent" stroke-width="0"></path>id="defs4976" /><path d="M60.81 476.91h300v-60h-300v60zm233.79-347.3l13.94 7.39c31.88-43.62 61.34-31.85 61.34-31.85l-21.62 53 35.64 19 2.87 33 64.42 108.75-43.55 29.37s-26.82-36.39-39.65-43.66c-10.66-6-41.22-10.25-56.17-12l-67.54-76.91-12 10.56 37.15 42.31c-.13.18-.25.37-.38.57-35.78 58.17 23 105.69 68.49 131.78H84.14C93 85 294.6 129.61 294.6 129.61z" fill="#ffffff" transform="translate(51.2, 51.2) scale(0.8, 0.8) rotate(0, 256, 256)"></path></svg>
|
|
Before Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 5.2 KiB |
Before Width: | Height: | Size: 60 KiB |
|
@ -1 +0,0 @@
|
||||||
<svg height="33.504" width="33.529" xmlns="http://www.w3.org/2000/svg"><g style="fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;opacity:.1;stroke:#000"><path d="m16.75 3.754c10.5 1 16.5 8 16 29h-23c0-9 10-6.5 8-21" fill="#fff"/><path d="m18.75 11.754c.38 2.91-5.55 7.37-8 9-3 2-2.82 4.34-5 4-1.042-.94 1.41-3.04 0-3-1 0 .19 1.23-1 2-1 0-4.003 1-4-4 0-2 6-12 6-12s1.89-1.9 2-3.5c-.73-.994-.5-2-.5-3 1-1 3 2.5 3 2.5h2s .78-1.992 2.5-3c1 0 1 3 1 3" fill="#fff"/><path d="m4.25 19.254a.5.5 0 1 1 -1 0 .5.5 0 1 1 1 0zm5.433-9.75a.5 1.5 30 1 1 -.866-.5.5 1.5 30 1 1 .866.5z"/></g></svg>
|
|
Before Width: | Height: | Size: 604 B |
Before Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 52 KiB |