Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[web][photos] Update empty album state

AswinAsokf32a280d11ea
diff --git a/web/apps/photos/public/images/empty-album/background.svg b/web/apps/photos/public/images/empty-album/background.svg
new file mode 100644
index 0000000000..6a50b39d8e
--- /dev/null
+++ b/web/apps/photos/public/images/empty-album/background.svg
@@ -0,0 +1,16 @@
+<svg preserveAspectRatio="none" overflow="visible" style="display: block;" width="275.979" height="204.628" viewBox="0 0 275.979 204.628" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g id="Vector" filter="url(#filter0_g_0_80)">
+<path d="M270.547 126.845C270.547 133.167 270.184 138.954 269.417 144.242C269.243 145.469 269.047 146.664 268.824 147.838C268.658 148.735 268.476 149.61 268.283 150.47C268.197 150.857 268.11 151.24 268.015 151.617C265.566 161.786 261.243 169.853 254.687 176.232C245.64 185.044 232.341 190.642 213.816 194.101C199.702 196.743 182.553 198.148 161.946 198.787C161.681 198.798 161.42 198.803 161.156 198.814C160.85 198.824 160.544 198.829 160.238 198.84C159.879 198.85 159.512 198.861 159.149 198.871C149.641 199.133 139.411 199.243 128.426 199.243C125.762 199.243 123.154 199.233 120.6 199.217C119.553 199.207 118.514 199.201 117.486 199.191H117.44C117.009 199.191 116.582 199.18 116.155 199.175C115.728 199.17 115.305 199.165 114.882 199.159C61.5789 198.452 33.6142 193.121 19.3371 175.656C18.9743 175.21 18.6191 174.759 18.2752 174.298C18.0295 173.973 17.7915 173.643 17.5534 173.308C17.2737 172.909 16.9979 172.506 16.7296 172.097C7.73928 158.421 5.38496 138.262 5.38496 108.845C5.38496 32.3744 55.0866 5.38496 122.516 5.38496C161.685 5.38496 190.508 9.17469 211.715 15.8421C214.474 16.707 217.1 17.6243 219.606 18.5888C224.81 20.5806 229.484 22.7821 233.679 25.1618C236.596 26.813 239.283 28.5584 241.759 30.3825C273.037 53.4355 270.547 89.6398 270.547 126.845Z" fill="#08C225"/>
+</g>
+<defs>
+<filter id="filter0_g_0_80" x="0" y="0" width="275.979" height="204.628" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feTurbulence type="fractalNoise" baseFrequency="0.99900001287460327 0.99900001287460327" numOctaves="3" seed="226" />
+<feDisplacementMap in="shape" scale="10.76991081237793" xChannelSelector="R" yChannelSelector="G" result="displacedImage" width="100%" height="100%" />
+<feMerge result="effect1_texture_0_80">
+<feMergeNode in="displacedImage"/>
+</feMerge>
+</filter>
+</defs>
+</svg>
diff --git a/web/apps/photos/public/images/empty-album/duck.svg b/web/apps/photos/public/images/empty-album/duck.svg
new file mode 100644
index 0000000000..20aad886e1
--- /dev/null
+++ b/web/apps/photos/public/images/empty-album/duck.svg
@@ -0,0 +1,118 @@
+<svg preserveAspectRatio="none" overflow="visible" style="display: block;" width="215.775" height="187.569" viewBox="0 0 215.775 187.569" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<g id="Group">
+<path id="Vector" d="M107.888 187.569C167.472 187.569 215.775 184.983 215.775 181.793C215.775 178.604 167.472 176.018 107.888 176.018C48.3029 176.018 0 178.604 0 181.793C0 184.983 48.3029 187.569 107.888 187.569Z" fill="black"/>
+<g id="Group_2">
+<path id="Vector_2" d="M76.196 66.9767C73.1266 69.5884 70.8919 71.8096 67.7013 70.6788C64.3357 69.4807 63.8914 65.6035 58.8026 61.8206C56.2582 59.9358 52.031 58.5627 49.5674 60.0974C44.0075 63.5572 45.8922 76.5349 46.3768 78.0293C51.9099 95.3015 68.3071 109.356 70.1918 110.77C94.8818 129.429 136.79 127.705 159.528 106.26C173.408 93.1745 176.868 62.6822 176.679 62.3725C170.5 51.6026 156.163 76.9254 149.768 72.3481C133.734 60.8647 90.2777 54.9682 76.2095 66.9632L76.196 66.9767Z" fill="#F4D93B"/>
+<g id="Group_3">
+<path id="Vector_3" d="M65.6049 72.0718L69.5225 59.6191C74.7324 45.0528 79.2289 31.6981 94.5625 24.5496C108.213 18.0607 125.486 23.7418 135.529 33.7444C143 40.9468 146.056 50.9897 148.681 60.4807L152.585 74.2931" fill="#F4D93B"/>
+<path id="Vector_4" d="M111.823 26.5949C127.399 30.0009 131.626 28.2238 126.806 27.8469C126.443 27.82 123.171 24.6563 120.062 25.2217" fill="black"/>
+<path id="Vector_5" d="M69.7237 71.2803C69.8314 69.4629 70.3025 67.2819 71.0295 64.576C74.0316 53.4426 75.5394 49.6866 78.7973 43.6151C80.4936 40.4514 81.9341 37.1127 86.3228 33.2356C88.7326 31.1085 91.7885 28.0256 97.8331 25.6832C101.993 24.0677 101.046 24.9472 101.636 24.3579C101.595 23.6847 103.568 21.2406 96.8369 23.4215C95.6253 23.8119 87.8575 27.6217 83.7515 31.822C81.8398 33.7741 80.5878 34.4337 74.2201 46.9807C72.2007 50.9521 70.7199 55.3677 68.7544 61.1027C67.0447 66.0703 66.1023 69.4494 66.8427 72.5188C67.5832 75.5882 68.6467 76.5575 69.6294 79.1827C69.8179 79.6673 69.414 80.9732 70.2083 80.5693C71.2449 80.0308 69.441 76.4094 69.7371 71.3072L69.7237 71.2803Z" fill="white"/>
+<g id="Vector_6">
+<use xlink:href="#stroke0_0_4" fill="black"/>
+<mask id="stroke1_0_4" maskUnits="userSpaceOnUse" x="63.9745" y="20.099" width="90" height="55" fill="black">
+<rect fill="white" x="63.9745" y="20.099" width="90" height="55"/>
+<use xlink:href="#stroke0_0_4"/>
+</mask>
+<path d="M151.955 74.4954L148.051 60.683C145.278 50.6669 142.195 41.1087 135.087 34.2428C125.555 24.7519 108.687 18.5995 94.8744 25.1692C80.1062 32.0485 75.6502 44.5281 70.4941 58.9732L70.171 59.8618L66.2534 72.2875L64.9745 71.8837L69.2151 58.529C74.2501 44.4069 79.0157 31.0792 94.2956 23.9576C108.673 17.1187 126.174 23.4729 136.029 33.287C143.379 40.3817 146.53 50.115 149.357 60.3195L153.261 74.1319L151.968 74.4954H151.955Z" stroke-width="0.471483" stroke="black" mask="url(#stroke1_0_4)"/>
+</g>
+</g>
+<g id="Group_4">
+<path id="Vector_7" d="M99.0874 25.479C101.699 10.9665 111.446 7.4663 113.223 16.3245C113.223 16.3245 116.831 9.24333 126.847 10.9127C136.863 12.582 128.678 26.6502 111.23 25.9367" fill="#F4D93B"/>
+<path id="Vector_8" d="M113.045 18.3806C113.584 17.9229 113.759 17.6133 115.603 16.0113C116.68 15.0689 119.898 13.4938 122.752 12.9553C123.035 12.9014 125.7 12.4303 127.921 13.5746C128.42 13.8303 129.308 14.3015 129.51 15.1631C129.658 15.7824 129.887 17.2229 130.022 17.2902C130.25 17.4113 131.65 15.2708 131.166 13.9919C130.452 12.1072 128.756 11.1244 128.42 11.0302C125.121 10.0878 120.773 9.46853 116.25 12.8745C113.005 15.3247 112.278 19.0268 113.032 18.3806H113.045Z" fill="white"/>
+<path id="Vector_9" d="M99.8704 24.9441C100.247 24.9711 100.234 23.6703 102.307 20.049C103.29 18.3392 105.539 15.4987 107.544 14.4621C108.513 13.964 109.416 13.6543 110.681 14.7313C111.462 15.4044 112.148 16.4814 112.566 17.8815C113.064 19.5374 113.522 17.1276 113.495 16.9122C113.414 16.3872 113.333 15.8083 112.566 13.9909C111.408 11.2176 107.921 11.7561 105.283 12.9004C102.82 14.9251 101.493 17.9736 101.049 19.0506C99.9581 23.0019 99.4262 24.9172 99.8704 24.9441Z" fill="white"/>
+<path id="Vector_10" d="M112.539 26.6209C112.316 26.6209 112.094 26.6209 111.872 26.6175C111.502 26.6119 111.218 26.298 111.232 25.928C111.247 25.5524 111.567 25.2611 111.943 25.2679C122.792 25.4647 130.036 19.7048 130.497 15.3529C130.699 13.3604 129.367 12.0142 126.741 11.57C117.372 10.0083 113.966 16.3491 113.831 16.6183L112.956 18.3281L112.579 16.4433C112.027 13.697 110.6 12.1488 108.796 12.1623C105.639 12.1887 101.483 16.7393 99.8532 25.1018C99.8084 25.3317 99.5469 25.4499 99.348 25.3262C99.2327 25.2544 99.1731 25.1174 99.1978 24.9838C100.931 15.6401 104.963 10.8561 108.783 10.8161C110.896 10.7891 112.619 12.2296 113.508 14.7336C115.164 12.6739 119.297 8.94478 126.97 10.2372C130.309 10.7891 132.126 12.7546 131.844 15.4875C131.359 20.1724 124.251 26.6209 112.552 26.6209H112.539Z" fill="black"/>
+</g>
+<path id="Vector_11" d="M100.011 54.726C108.277 50.2296 112.289 50.1084 120.191 55.8434C122.036 57.1762 121.336 59.0475 119.653 59.6263C115.614 61.0399 104.4 60.6226 100.038 58.8994C98.0187 58.0782 97.7494 55.9511 100.011 54.726Z" fill="#FF814A" stroke-width="1.34624" stroke-miterlimit="10" stroke="black"/>
+<path id="Vector_12" d="M79.928 87.9257C79.928 87.9257 80.0088 88.2354 80.0626 88.4777C80.2511 89.2989 83.8994 96.3936 78.5817 99.3149C76.4412 100.486 69.6831 101.119 68.5523 99.8265C66.0752 96.9725 77.9221 85.0448 79.1876 85.7314C79.376 85.8391 79.5645 86.5257 79.9145 87.9257H79.928Z" fill="#F2BE3D"/>
+<path id="Vector_13" d="M140.132 88.7871C140.132 88.7871 140.051 89.0967 139.997 89.339C139.809 90.1602 139.122 96.9588 144.44 99.8801C146.58 101.051 150.377 101.98 151.508 100.688C153.985 97.8338 142.138 85.9061 140.872 86.5927C140.684 86.7004 140.495 87.387 140.145 88.7871H140.132Z" fill="#F2BE3D"/>
+<g id="Group_5">
+<path id="Vector_14" d="M49.9051 54.1607C44.197 51.4278 35.1907 56.2474 32.6463 59.2226C31.3135 60.7842 30.7481 63.0863 31.2058 64.9306C32.4848 70.0598 41.9623 73.1696 54.6439 73.0215" fill="#F4D93B"/>
+<path id="Vector_15" d="M49.6255 54.7492C43.4731 51.6529 25.9451 59.8784 33.7398 67.4712C39.569 72.1292 47.5253 71.8868 54.6469 72.8157V73.2331C47.7407 74.0408 33.9014 72.9504 30.6704 65.7211C27.5202 56.9974 43.6212 50.2797 50.1774 53.578L49.612 54.7492H49.6255Z" fill="black"/>
+</g>
+<g id="Group_6">
+<path id="Vector_16" d="M44.3124 72.7319C44.3124 75.6398 45.5644 79.9074 46.9241 84.3635C48.0684 88.106 50.6397 97.1123 55.1631 98.8355C61.1943 101.124 69.2986 102.686 79.0588 85.6693" fill="#F4D93B"/>
+<path id="Vector_17" d="M53.7071 74.0632C50.6646 75.4498 49.7761 78.3038 49.8703 79.3943C49.9511 80.3905 50.2607 85.3581 51.3242 88.8583C52.2801 91.9816 53.909 95.0106 52.6032 95.6164C50.6242 96.5319 45.522 81.7906 44.3911 73.767C44.27 72.8785 44.7008 72.6765 44.9835 72.7438C49.3318 73.6189 55.5111 72.8919 55.5111 73.2285C55.5111 73.2285 54.0437 73.9016 53.6936 74.0632H53.7071Z" fill="#F2BE3D"/>
+<path id="Vector_18" d="M44.9839 72.7319C45.0243 75.0609 45.6705 77.4707 46.3167 79.8401C47.7437 84.4846 48.9284 89.3849 51.1901 93.6929C52.3344 95.793 53.7614 97.8124 55.9962 98.472C60.533 100.37 65.6083 99.8721 69.4451 96.7354C73.255 93.7602 76.1494 89.6811 78.9361 85.6154L79.1515 85.7366C75.8397 92.2793 70.9394 99.4817 63.1312 100.72C59.3079 101.03 54.973 100.289 52.2267 97.5027C48.1072 92.6024 46.8014 86.1674 44.957 80.217C44.3243 77.8073 43.6646 75.3706 43.6242 72.7319H44.9705H44.9839Z" fill="black"/>
+</g>
+<g id="Group_7">
+<path id="Vector_19" d="M44.7114 53.4312C48.2117 53.3101 51.8465 54.4678 54.1755 55.491C58.0796 57.2007 64.0165 62.3837 70.0073 80.7868" fill="#F4D93B"/>
+<g id="Vector_20">
+<use xlink:href="#stroke2_0_4" fill="black"/>
+<mask id="stroke3_0_4" fill="white">
+<use xlink:href="#stroke2_0_4"/>
+</mask>
+<path d="M44.6835 52.7602C49.8799 52.7198 55.3726 54.2949 59.0478 58.0375C64.877 64.284 68.1215 72.5634 70.2081 80.7081L69.7908 80.8427C64.6347 68.9824 60.2729 53.9314 44.7238 54.1064L44.67 52.7602H44.6835Z" stroke-width="4.71483" stroke="black" mask="url(#stroke3_0_4)"/>
+</g>
+</g>
+<g id="Group_8">
+<path id="Vector_21" d="M170.25 54.9003C175.958 52.1674 184.964 56.987 187.508 59.9622C188.841 61.5238 189.407 63.8124 188.949 65.6702C187.67 70.7994 178.192 73.9092 165.511 73.7611" fill="#F4D93B"/>
+<path id="Vector_22" d="M169.97 54.3256C177.737 50.435 196.746 60.2625 187.43 69.3362C184.886 71.544 181.574 72.5672 178.397 73.2941C174.17 74.1961 169.822 74.5461 165.527 73.9807V73.5634C172.649 72.6345 180.605 72.8768 186.434 68.2188C192.856 61.8242 182.072 55.995 176.418 55.0257C174.412 54.6353 172.339 54.7295 170.549 55.4969L169.983 54.3256H169.97Z" fill="black"/>
+</g>
+<g id="Group_9">
+<path id="Vector_23" d="M175.837 73.4657C175.837 76.3736 174.585 80.6411 173.225 85.0972C172.081 88.8397 169.509 97.8461 164.986 99.5693C158.955 101.858 150.851 103.42 141.09 86.403" fill="#F4D93B"/>
+<path id="Vector_24" d="M167.004 75.5625C170.046 76.9626 170.948 79.1974 170.854 80.3147C170.773 81.3244 170.464 86.3728 169.387 89.9269C168.431 93.0905 166.802 96.1734 168.108 96.7792C170.087 97.7081 175.203 82.7514 176.32 74.6067C176.441 73.7047 176.01 73.5028 175.728 73.5566C171.379 74.4451 164.5 73.3277 164.392 74.0816C164.392 74.0816 166.64 75.3875 166.991 75.549L167.004 75.5625Z" fill="#F2BE3D"/>
+<path id="Vector_25" d="M176.511 73.4657C176.282 78.6083 174.465 83.2528 173.024 88.0993C171.799 91.6534 170.48 95.3555 167.909 98.2365C167.047 99.2058 165.782 100.04 164.57 100.39C159.818 102.383 153.989 101.737 150.004 98.3576C145.992 95.2344 143.205 90.9533 140.97 86.4569L141.186 86.3357C145.292 92.1111 149.694 99.1115 157.139 100.256C159.481 100.552 161.864 100.04 164.139 99.1923C168.649 97.5095 170.143 91.8418 171.678 87.655C172.997 83.0374 174.936 78.2448 175.151 73.4657H176.498H176.511Z" fill="black"/>
+</g>
+<g id="Group_10">
+<path id="Vector_26" d="M175.448 54.1769C171.948 54.0558 168.313 55.2135 165.984 56.2367C162.08 57.9464 156.143 63.1294 150.152 81.5325" fill="#F4D93B"/>
+<path id="Vector_27" d="M175.419 54.8521C159.91 54.6502 155.481 69.7685 150.352 81.5884L149.935 81.4538C152.021 73.2956 155.252 65.0297 161.095 58.7832C164.784 55.0406 170.263 53.4655 175.459 53.5059L175.406 54.8521H175.419Z" fill="black"/>
+</g>
+<path id="Vector_28" d="M98.6122 51.4971C100.285 51.4971 101.641 50.141 101.641 48.4681C101.641 46.7952 100.285 45.4391 98.6122 45.4391C96.9393 45.4391 95.5831 46.7952 95.5831 48.4681C95.5831 50.141 96.9393 51.4971 98.6122 51.4971Z" fill="black"/>
+<path id="Vector_29" d="M121.498 51.4971C123.171 51.4971 124.527 50.141 124.527 48.4681C124.527 46.7952 123.171 45.4391 121.498 45.4391C119.825 45.4391 118.469 46.7952 118.469 48.4681C118.469 50.141 119.825 51.4971 121.498 51.4971Z" fill="black"/>
+<path id="Vector_30" opacity="0.32" d="M141.123 96.0082C136.51 78.5757 116.757 74.3688 114.301 74.0663C106.758 73.1589 88.131 74.3688 81.0085 96.2557" fill="#FFF4C5"/>
+</g>
+<g id="Group_11">
+<path id="Vector_31" d="M28.7752 95.8489H195.291V185.145H30.3772L28.7752 95.8489Z" fill="#EAB763" stroke-width="1.34624" stroke-miterlimit="10" stroke="black"/>
+<g id="Group_12">
+<path id="Vector_32" d="M28.5442 95.5148L10.1546 128.605L28.6789 128.982" fill="black"/>
+<path id="Vector_33" d="M28.7357 129.777L9.0402 129.252L27.9683 95.1922L29.1395 95.8518L11.2884 127.96L28.7357 128.377V129.777Z" fill="black"/>
+</g>
+<g id="Group_13">
+<path id="Vector_34" d="M195.675 95.6349L212.207 117.727L195.985 119.302" fill="black"/>
+<path id="Vector_35" d="M195.812 120L195.678 118.667L211.038 117.2L194.897 96.0772L195.974 95.256L213.583 118.304L195.812 120Z" fill="black"/>
+</g>
+</g>
+<g id="Group_14">
+<path id="Vector_36" d="M173.398 4.17938C162.769 -0.455157 161.758 11.3782 160.23 19.3844C158.703 27.3906 159.507 29.8922 162.447 31.1744C165.388 32.4565 167.962 32.5035 172.376 24.3387C176.783 16.1883 182.435 8.11967 173.398 4.17938Z" fill="white"/>
+<path id="Vector_37" d="M157.721 46.3162C160.715 47.6219 164.201 46.2528 165.507 43.2583C166.813 40.2637 165.444 36.7776 162.449 35.4719C159.455 34.1662 155.969 35.5353 154.663 38.5299C153.357 41.5245 154.726 45.0105 157.721 46.3162Z" fill="white"/>
+</g>
+<g id="Group_15" opacity="0.3">
+<path id="Vector_38" d="M35.2189 96.3912L37.2383 184.435" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_39" d="M45.0474 96.4208L52.2228 184.451" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_40" d="M60.1681 96.4622L62.2817 184.533" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_41" d="M75.7817 96.6161L75.849 184.472" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_42" d="M88.7047 96.107L90.6972 184.407" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_43" d="M105.331 96.6161L103.729 184.485" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_44" d="M118.686 96.4711L120.665 184.327" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_45" d="M128.514 96.4977L135.69 184.542" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_46" d="M143.632 96.5392L145.598 184.57" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_47" d="M159.246 96.699L159.299 184.487" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_48" d="M172.173 96.184L174.179 184.497" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_49" d="M188.799 96.7108L187.13 184.526" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_50" d="M30.9803 182.778L194.629 175.696" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_51" d="M30.6977 172.194L194.723 161.936" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_52" d="M30.4816 157.619L194.629 152.745" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_53" d="M30.1012 142.001L194.571 139.269" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_54" d="M29.9444 128.861L194.67 121.255" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+<path id="Vector_55" d="M29.9296 112.145L194.615 108.456" stroke-width="0.33656" stroke-miterlimit="10" stroke="white"/>
+</g>
+<g id="Group_16">
+<path id="Vector_56" d="M131.54 124.627H96.4432C94.4581 124.627 92.8488 126.236 92.8488 128.222V147.15C92.8488 149.135 94.4581 150.744 96.4432 150.744H131.54C133.525 150.744 135.134 149.135 135.134 147.15V128.222C135.134 126.236 133.525 124.627 131.54 124.627Z" fill="white" stroke-width="1.34624" stroke-linecap="round" stroke-linejoin="round" stroke="black"/>
+<g id="Group_17">
+<g id="Vector_57">
+<path d="M99.6194 143.13C107.298 131.28 112.632 138.34 118.107 145.477Z" fill="white"/>
+<path d="M99.6194 143.13C107.298 131.28 112.632 138.34 118.107 145.477" stroke-width="1.34624" stroke-linecap="round" stroke-linejoin="round" stroke="black"/>
+</g>
+<g id="Vector_58">
+<path d="M117.015 143.304C122.124 137.485 126.063 140.804 127.89 142.92Z" fill="white"/>
+<path d="M117.015 143.304C122.124 137.485 126.063 140.804 127.89 142.92" stroke-width="1.34624" stroke-linecap="round" stroke-linejoin="round" stroke="black"/>
+</g>
+<path id="Vector_59" d="M116.445 138.136C118.489 138.059 120.08 136.262 119.999 134.122C119.917 131.982 118.195 130.311 116.151 130.388C114.107 130.466 112.516 132.263 112.597 134.403C112.678 136.542 114.401 138.214 116.445 138.136Z" fill="black"/>
+</g>
+</g>
+</g>
+<defs>
+<path id="stroke0_0_4" d="M151.955 74.4954L148.051 60.683C145.278 50.6669 142.195 41.1087 135.087 34.2428C125.555 24.7519 108.687 18.5995 94.8744 25.1692C80.1062 32.0485 75.6502 44.5281 70.4941 58.9732L70.171 59.8618L66.2534 72.2875L64.9745 71.8837L69.2151 58.529C74.2501 44.4069 79.0157 31.0792 94.2956 23.9576C108.673 17.1187 126.174 23.4729 136.029 33.287C143.379 40.3817 146.53 50.115 149.357 60.3195L153.261 74.1319L151.968 74.4954H151.955Z"/>
+<path id="stroke2_0_4" d="M44.6835 52.7602C49.8799 52.7198 55.3726 54.2949 59.0478 58.0375C64.877 64.284 68.1215 72.5634 70.2081 80.7081L69.7908 80.8427C64.6347 68.9824 60.2729 53.9314 44.7238 54.1064L44.67 52.7602H44.6835Z"/>
+</defs>
+</svg>
diff --git a/web/apps/photos/src/components/FileList.tsx b/web/apps/photos/src/components/FileList.tsx
index e7c1349586..d9a7f22be9 100644
--- a/web/apps/photos/src/components/FileList.tsx
+++ b/web/apps/photos/src/components/FileList.tsx
@@ -3,6 +3,7 @@ import {
FileContextMenu,
type ContextMenuPosition,
} from "@/components/FileContextMenu";
+import { AlbumEmptyState } from "@/components/gallery/AlbumEmptyState";
import type { GalleryBarMode } from "@/components/gallery/reducer";
import {
selectedFavoriteCount as countSelectedFavorites,
@@ -289,14 +290,27 @@ export const FileList: React.FC<FileListProps> = ({
}
if (!annotatedFiles.length) {
+ const isAlbumEmptyState =
+ mode !== "people" && modePlus !== "search";
items.push({
- height: height - 48,
+ height: isAlbumEmptyState
+ ? Math.max(
+ 340,
+ height -
+ (header?.height ?? 0) -
+ (footer?.height ?? 0),
+ )
+ : height - 48,
type: "span",
component: (
<NoFilesListItem>
- <Typography sx={{ color: "text.faint" }}>
- {t("nothing_here")}
- </Typography>
+ {isAlbumEmptyState ? (
+ <AlbumEmptyState />
+ ) : (
+ <Typography sx={{ color: "text.faint" }}>
+ {t("nothing_here")}
+ </Typography>
+ )}
</NoFilesListItem>
),
});
@@ -326,6 +340,8 @@ export const FileList: React.FC<FileListProps> = ({
annotatedFiles,
disableGrouping,
layoutParams,
+ mode,
+ modePlus,
]);
useEffect(() => {
diff --git a/web/apps/photos/src/components/gallery/AlbumEmptyState.tsx b/web/apps/photos/src/components/gallery/AlbumEmptyState.tsx
new file mode 100644
index 0000000000..e2600de968
--- /dev/null
+++ b/web/apps/photos/src/components/gallery/AlbumEmptyState.tsx
@@ -0,0 +1,39 @@
+import { Box, Stack, Typography } from "@mui/material";
+import { t } from "i18next";
+
+/** The empty state shared by regular, hidden, and archived album views. */
+export function AlbumEmptyState() {
+ return (
+ <Stack sx={{ alignItems: "center", gap: "30.31px", px: 3, py: 3 }}>
+ <Box
+ aria-hidden
+ sx={{ position: "relative", width: 265.209, height: 215.196 }}
+ >
+ <Box
+ component="img"
+ src="/images/empty-album/background.svg"
+ alt=""
+ sx={{ position: "absolute", left: -5.385, top: 10.765 }}
+ />
+ <Box
+ component="img"
+ src="/images/empty-album/duck.svg"
+ alt=""
+ sx={{ position: "absolute", left: 21.54, top: 23.22 }}
+ />
+ </Box>
+ <Typography
+ sx={{
+ fontFamily: "'Outfit Variable', sans-serif",
+ fontWeight: 600,
+ fontSize: { xs: 28, sm: "36.372px" },
+ lineHeight: "1.333333",
+ color: "text.base",
+ textAlign: "center",
+ }}
+ >
+ {t("nothing_to_see_here")}
+ </Typography>
+ </Stack>
+ );
+}
diff --git a/web/packages/base/locales/en-US/translation.json b/web/packages/base/locales/en-US/translation.json
index 48512b7320..e2ece4511a 100644
--- a/web/packages/base/locales/en-US/translation.json
+++ b/web/packages/base/locales/en-US/translation.json
@@ -68,6 +68,7 @@
"yes": "Yes",
"no": "No",
"nothing_here": "Nothing here yet",
+ "nothing_to_see_here": "Nothing to see here",
"upload": "Upload",
"import": "Import",
"add_photos": "Add photos",