Skip to content

armgit / ente

Public Imported from GitHub
0

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

Add social profile empty states

Anand Baburajanec8efd57d9ac
diff --git a/web/apps/social/public/images/ducky-camera.svg b/web/apps/social/public/images/ducky-camera.svg
new file mode 100644
index 0000000000..45547ac116
--- /dev/null
+++ b/web/apps/social/public/images/ducky-camera.svg
@@ -0,0 +1,48 @@
+<svg width="1067" height="1226" viewBox="0 0 1067 1226" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M528.344 798.34C1079.83 793.524 990.29 397.682 616.003 591.172L528.344 798.34Z" fill="#F2C63D" style="fill:#F2C63D;fill:color(display-p3 0.9490 0.7765 0.2392);fill-opacity:1;"/>
+<path d="M528.295 794.557C574.87 787.283 620.602 783.888 666.672 776.47C703.614 770.208 740.652 761.273 775.596 747.786C820.485 730.47 866.314 705.88 893.575 665.251C923.004 620.744 907.735 575.659 857.861 557.139C795.078 534.933 725.89 554.297 665.179 576.43C649.308 582.186 633.799 588.953 618.05 595.384C615.641 596.371 612.896 595.215 611.909 592.807C611.017 590.639 611.884 588.183 613.835 587.003C643.24 569.132 674.811 554.489 708.045 544.157C760.424 528.527 818.872 519.857 871.251 540.93C917.344 559.667 941.619 603.909 924.569 652.101C908.843 695.572 870.504 725.749 831.587 747.304C781.592 774.495 725.938 788.873 670.139 797.977C657.328 799.927 644.468 801.71 631.584 803.01C597.242 806.454 562.612 806.839 528.343 802.143C524.177 801.445 523.791 795.352 528.271 794.557H528.295Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M528.34 1225.82C793.681 1225.82 1008.78 1211.27 1008.78 1193.31C1008.78 1175.35 793.681 1160.8 528.34 1160.8C262.999 1160.8 47.8984 1175.35 47.8984 1193.31C47.8984 1211.27 262.999 1225.82 528.34 1225.82Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M682.855 1051.87C770.395 1130.77 765.53 1191.58 656.1 1201.28C546.67 1211.01 468.138 1188.64 493.424 1120.19C518.711 1051.75 682.831 1051.87 682.831 1051.87H682.855Z" fill="#FF814A" style="fill:#FF814A;fill:color(display-p3 1.0000 0.5059 0.2902);fill-opacity:1;"/>
+<path d="M610.393 1211.35C550.765 1211.35 509.151 1199.02 491.162 1175.49C479.265 1159.93 477.531 1140.42 486.008 1117.47C512.812 1044.91 674.91 1043.97 682.784 1043.97H682.857C684.807 1043.97 686.686 1044.69 688.131 1045.99C738.294 1091.2 759.414 1131.22 749.228 1161.71C740.269 1188.54 709.155 1204.51 656.8 1209.16C640.327 1210.63 624.843 1211.35 610.393 1211.35ZM679.846 1059.82C657.835 1060.25 522.156 1065.26 500.843 1122.94C494.268 1140.71 495.208 1154.78 503.709 1165.88C522.372 1190.3 577.665 1200.32 655.403 1193.41C700.292 1189.41 727.554 1176.72 734.248 1156.68C742.027 1133.37 722.737 1099.02 679.846 1059.79V1059.82Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M147.913 843.594C9.68057 843.835 -93.6565 919.217 178.666 1071.21C414.648 1202.88 147.913 843.594 147.913 843.594Z" fill="#F2C63D" style="fill:#F2C63D;fill:color(display-p3 0.9490 0.7765 0.2392);fill-opacity:1;"/>
+<path d="M255.179 1108.32C237.117 1108.32 210.723 1098.4 174.72 1078.31C109.457 1041.9 61.7978 1007.65 33.0436 976.512C6.19183 947.443 -4.3803 920.927 1.64027 897.71C13.4888 851.975 84.965 835.574 147.916 835.453C150.493 835.453 152.925 836.657 154.466 838.753C154.852 839.282 194.443 892.7 229.338 950.188C295.035 1058.42 288.292 1087.3 277.479 1099.58C272.373 1105.41 265.004 1108.32 255.179 1108.32ZM143.822 851.758C74.5374 852.625 25.1205 872.085 17.4142 901.78C11.4899 924.635 25.0723 976.127 182.643 1064.08C247.593 1100.33 262.259 1092.19 265.221 1088.81C269.267 1084.19 277.647 1061.17 215.395 958.618C185.846 909.944 152.901 864.209 143.822 851.758Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M233.048 1051.87C145.509 1130.77 150.374 1191.58 259.804 1201.28C369.234 1211.01 447.766 1188.64 422.48 1120.19C397.193 1051.75 233.072 1051.87 233.072 1051.87H233.048Z" fill="#FF814A" style="fill:#FF814A;fill:color(display-p3 1.0000 0.5059 0.2902);fill-opacity:1;"/>
+<path d="M305.486 1211.35C291.037 1211.35 275.552 1210.63 259.08 1209.16C206.725 1204.51 175.611 1188.54 166.652 1161.71C156.465 1131.22 177.585 1091.2 227.749 1045.99C229.194 1044.69 231.072 1043.97 233.023 1043.97C240.031 1044.07 402.972 1044.69 429.847 1117.47C438.324 1140.42 436.59 1159.96 424.694 1175.49C406.704 1199.02 365.066 1211.35 305.462 1211.35H305.486ZM236.081 1059.77C193.167 1099 173.853 1133.37 181.655 1156.68C188.35 1176.72 215.611 1189.41 260.501 1193.41C338.238 1200.32 393.531 1190.28 412.195 1165.88C420.696 1154.75 421.635 1140.71 415.061 1122.94C396.301 1072.17 282.367 1060.25 236.105 1059.79L236.081 1059.77Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M822.214 961.426C777.565 1125.2 589.146 1142.08 442.533 1143.74C389.937 1144.27 332.091 1141.62 278.026 1131C175.412 1110.82 86.4278 1061.88 72.5564 951.142C64.0072 886.862 74.6756 817.886 87.7041 755.678C100.131 699.129 123.418 651.66 125.489 593.594C127.031 569.005 126.934 546.197 129.463 519.729C131.438 493.67 135.965 468.527 142.804 444.588C182.083 306.684 297.196 208.566 434.465 202.425C606.87 193.081 742.574 291.053 763.525 467.877C767.884 499.98 767.884 533.264 768.39 565.536V566.018C768.655 604.022 774.555 640.148 787.728 676.466C794.086 694.674 801.359 712.857 807.837 731.209C834.52 803.268 842.323 885.923 822.214 961.426Z" fill="#F4D93B" style="fill:#F4D93B;fill:color(display-p3 0.9569 0.8510 0.2314);fill-opacity:1;"/>
+<path d="M674.039 315.452C700.53 339.535 712.571 361.211 712.571 361.211L728.393 359.356L698.121 308.227L674.039 315.452Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M278.026 1131C175.412 1110.82 86.4278 1061.88 72.5564 951.145C64.0072 886.865 74.6756 817.889 87.7041 755.681C100.131 699.132 123.418 651.663 125.489 593.597C127.031 569.007 126.934 546.2 129.463 519.732C131.438 493.673 135.965 468.53 142.804 444.59L231.451 421.422C231.451 421.422 303.168 585.192 264.637 720.061C226.225 854.545 154.268 1027.35 278.026 1131Z" fill="#F2C63D" style="fill:#F2C63D;fill:color(display-p3 0.9490 0.7765 0.2392);fill-opacity:1;"/>
+<path d="M363.38 1139.12C281.501 1059.64 341.706 830.843 341.706 830.843C341.706 830.843 481.384 818.801 529.548 797.126C577.713 775.45 637.919 751.366 657.184 717.649C676.45 683.932 676.45 657.44 676.45 657.44C727.023 638.173 784.82 662.256 784.82 662.256C784.82 662.256 829.325 783.35 831.155 820.342C832.985 857.335 837.802 893.461 832.985 917.545C828.169 941.628 845.026 939.22 808.903 992.204C772.779 1045.19 731.719 1086.01 731.719 1086.01L662.001 1115.03C662.001 1115.03 578.219 1135.84 575.569 1136.27C572.92 1136.71 445.26 1141.52 445.26 1141.52L363.38 1139.12Z" fill="#FFE876" style="fill:#FFE876;fill:color(display-p3 1.0000 0.9098 0.4627);fill-opacity:1;"/>
+<path d="M430.181 1151.72C336.646 1151.72 263.074 1140.93 205.493 1118.82C121.904 1086.69 74.534 1030.62 64.7084 952.133C55.6775 884.168 68.104 810.592 79.9525 754.068C84.4799 733.428 90.4283 713.992 96.1839 695.207C106.515 661.442 116.293 629.555 117.569 593.332C118.171 583.675 118.532 574.282 118.869 565.203C119.423 550.56 120.001 535.435 121.567 519.01C128.117 432.356 163.374 351.748 220.834 292.237C278.174 232.822 353.913 198.141 434.083 194.553C522.127 189.784 600.491 212.11 660.625 259.146C722.685 307.675 760.976 379.565 771.331 466.989C775.305 496.203 775.714 526.428 776.099 555.69L776.244 565.901C776.509 604.315 782.674 639.573 795.1 673.821C798.423 683.334 802.036 692.967 805.528 702.264C808.755 710.886 812.102 719.772 815.233 728.611C844.132 806.715 849.309 890.165 829.779 963.5C809.285 1038.69 756.593 1091.63 673.172 1120.86C599.961 1146.54 515.505 1150.85 442.56 1151.69C438.393 1151.74 434.227 1151.76 430.133 1151.76L430.181 1151.72ZM457.274 209.702C449.905 209.702 442.439 209.894 434.877 210.304C275.477 217.433 150.369 347.798 137.316 520.31C135.775 536.447 135.221 551.354 134.667 565.757C134.33 574.933 133.969 584.446 133.343 594.079C131.994 632.18 121.928 665.03 111.284 699.807C105.624 718.303 99.7722 737.426 95.3892 757.367C83.8297 812.567 71.6441 884.457 80.3619 950.086C89.4168 1022.39 133.415 1074.17 211.153 1104.03C269.36 1126.38 344.978 1136.78 442.415 1135.82C603.14 1133.99 773.065 1111.57 814.559 959.31C833.246 889.154 828.237 809.075 800.398 733.91C797.292 725.119 793.968 716.28 790.765 707.731C787.225 698.338 783.589 688.608 780.241 679.023C767.237 643.138 760.759 606.169 760.47 566.021V565.66C760.47 565.66 760.47 565.636 760.47 565.612L760.325 555.786C759.94 527.006 759.531 497.262 755.677 468.867C736.797 309.409 620.672 209.629 457.274 209.629V209.702Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M402.587 107.49C389.125 119.484 371.545 129.744 349.726 136.078L281.646 156.139C261.946 56.3362 307.679 14.9843 338.191 69.4619C338.191 69.4619 340.96 24.6178 387.343 11.1309C391.437 9.9267 395.868 8.96335 400.684 8.31309C446.682 2.0513 449.596 65.5362 402.587 107.49Z" fill="#F4D93B" style="fill:#F4D93B;fill:color(display-p3 0.9569 0.8510 0.2314);fill-opacity:1;"/>
+<path d="M402.589 107.49L385.057 113.15C385.057 113.15 457.304 4.77277 382.648 19.223C382.648 19.223 384.31 15.8995 387.344 11.1309C391.438 9.9267 395.87 8.96335 400.686 8.31309C446.683 2.0513 449.597 65.5362 402.589 107.49Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M281.622 164.065C277.913 164.065 274.614 161.464 273.867 157.683C260.068 87.7196 277.431 47.1384 299.394 39.0463C311.267 34.663 323.766 39.0463 334.555 50.8232C341.201 32.4955 357.938 6.12371 399.577 0.488101C422.021 -2.54646 438.759 8.72477 443.262 29.9426C450.559 64.4065 422.864 123.099 351.918 143.714C347.728 144.943 343.345 142.51 342.116 138.32C340.888 134.129 343.321 129.746 347.511 128.518C408.463 110.816 433.677 60.9384 427.801 33.218C425.875 24.0902 419.782 13.7101 401.72 16.1667C349.919 23.1991 346.186 68.0913 346.066 70.018C345.825 73.5102 343.321 76.4243 339.901 77.195C336.481 77.9657 332.989 76.4002 331.279 73.3657C322.802 58.217 312.929 50.9437 304.885 53.906C291.206 58.9395 277.335 93.5238 289.4 154.648C290.243 158.935 287.45 163.078 283.187 163.921C282.681 164.017 282.152 164.065 281.646 164.065H281.622Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M487.182 480.208C542.619 440.758 571.325 436.423 633.145 470.743C647.546 478.666 644.15 492.755 632.543 498.439C604.8 512.095 523.859 518.862 491.035 510.216C475.815 506.074 472.082 491.021 487.182 480.232V480.208Z" fill="#FF814A" style="fill:#FF814A;fill:color(display-p3 1.0000 0.5059 0.2902);fill-opacity:1;"/>
+<path d="M483.525 475.105C503.224 461.666 525.067 448.058 549.125 443.41C579.156 437.678 608.488 450.395 634.545 463.978C652.414 471.781 655.063 492.613 638.326 503.475C633.871 506.221 627.995 508.316 623.058 510.026C605.598 515.445 587.464 518.166 569.354 520.093C545.104 522.261 520.829 522.911 496.674 518.72C492.725 517.709 487.113 516.818 483.477 514.698C465.656 505.571 468.185 484.931 483.525 475.105ZM490.822 485.34C482.995 490.952 480.972 499.742 491.593 503.066C492.773 503.499 497.71 504.39 499.13 504.655C521.334 507.569 545.224 506.438 567.861 504.366C586.79 502.656 605.815 500.007 623.901 494.107C625.081 493.601 629.584 491.939 630.692 491.217C638.88 485.99 636.135 479.464 628.212 475.634C623.997 473.346 619.759 470.818 615.472 468.746C595.243 458.318 573.641 450.491 551.076 454.248C528.415 458.559 509.438 471.829 490.822 485.316V485.34Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M627.586 437.536C668.67 401.723 702.53 434.381 702.53 434.381L627.586 437.536Z" fill="#6B6B6B" style="fill:#6B6B6B;fill:color(display-p3 0.4208 0.4208 0.4208);fill-opacity:1;"/>
+<path d="M624.12 433.658C628.744 427.853 634.62 422.989 641.411 419.304C644.735 417.449 648.443 415.956 652.297 414.824C656.15 413.692 660.123 413.042 664.145 412.873C672.164 412.416 680.256 414.029 687.457 417.233C691.045 418.774 694.417 420.821 697.451 423.133C698.968 424.289 700.485 425.565 701.858 426.842C702.484 427.54 703.255 428.239 703.905 428.937L704.916 429.997C705.302 430.334 705.543 430.695 705.952 431.297C707.493 433.296 707.252 436.114 705.254 437.656C703.953 438.691 702.388 438.884 700.919 438.45L699.546 437.896C699.305 437.776 698.92 437.559 698.679 437.439L697.692 436.861C696.945 436.524 696.319 436.186 695.572 435.849C694.2 435.175 692.707 434.501 691.358 433.971C688.516 432.743 685.554 431.779 682.713 431.057C676.933 429.467 671.057 428.865 665.349 429.226C662.435 429.467 659.666 429.828 656.776 430.551C656.053 430.695 655.331 430.864 654.609 431.129C653.886 431.394 653.164 431.562 652.441 431.707C650.996 432.261 649.551 432.67 648.251 433.224C642.616 435.416 637.028 438.45 631.201 441.726H631.08C628.576 443.171 625.397 442.328 623.928 439.727C622.627 437.583 622.892 435.271 624.144 433.634L624.12 433.658Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M630.55 242.169C630.935 286.483 605.191 305.558 605.191 305.558L147.532 443.943C54.7184 349.752 77.0186 237.521 268.328 151.662C296.48 139.018 323.067 128.831 348.065 120.955C492.968 75.1963 584.432 106.264 616.39 181.406C626.625 205.417 630.43 225.576 630.55 242.169Z" fill="#58BF43" style="fill:#58BF43;fill:color(display-p3 0.3451 0.7490 0.2627);fill-opacity:1;"/>
+<path d="M630.556 242.169C620.225 244.722 612.783 241.856 609.942 231.139C593.999 170.905 551.229 79.4351 339.883 131.89L348.071 120.955C492.974 75.1963 584.438 106.264 616.396 181.406C626.631 205.417 630.436 225.576 630.556 242.169Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M147.535 451.845C145.439 451.845 143.417 451.026 141.899 449.485C98.4309 405.363 80.032 357.605 88.7257 311.34C100.478 248.674 161.454 190.969 265.08 144.464C381.928 92.0091 479.389 78.2813 546.939 104.749C582.581 118.718 609.096 144.151 623.641 178.325C663.112 271.072 612.082 310.305 609.891 311.918C609.168 312.472 608.349 312.882 607.482 313.122L149.822 451.508C149.076 451.725 148.305 451.845 147.535 451.845ZM470.189 107.35C414.993 107.35 347.755 124.667 271.558 158.866C172.869 203.156 115.024 256.887 104.259 314.254C96.7933 354.041 112.543 395.706 149.871 434.986L601.414 298.455C607.699 293.012 641.005 259.488 609.12 184.515C596.091 153.904 573.237 132.012 541.208 119.465C520.569 111.372 496.776 107.375 470.213 107.375L470.189 107.35Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M770.473 276.967C770.473 276.967 770.449 276.991 770.425 276.991C730.159 296.379 662.729 318.705 589.423 340.934C433.225 388.307 408.276 390.667 178.555 428.647C178.555 428.647 205.527 407.766 264.071 368.462C272.307 362.971 282.422 356.757 293.499 350.447C390.816 294.235 497.308 255.966 607.894 236.314C612.421 235.519 616.949 234.724 621.476 233.978C677.227 224.681 733.579 219.479 772.014 226.656C826.729 236.82 815.941 255.027 770.473 276.967Z" fill="#58BF43" style="fill:#58BF43;fill:color(display-p3 0.3451 0.7490 0.2627);fill-opacity:1;"/>
+<path d="M770.469 276.967C823.547 245.682 736.658 219.118 614.633 239.686L621.472 233.978C677.223 224.681 733.575 219.479 772.011 226.656C826.726 236.82 815.937 255.027 770.469 276.967Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M185.776 425.495C192.182 423.207 197.889 420.413 202.923 418.342C212.315 413.983 249.618 409.864 260.479 407.673C315.844 398.786 371.354 390.308 426.165 378.772C508.262 360.95 588.769 335.758 668.794 310.278C695.381 301.487 721.872 292.311 747.64 281.69C766.063 273.574 786.196 265.867 800.669 252.067C803.174 248.912 805.148 246.745 803.366 243.807C798.791 238.243 790.747 236.341 783.185 234.053C776.635 232.319 769.82 231.09 763.101 230.103C749.518 228.321 735.647 227.911 721.776 228.152C582.508 234.799 444.059 274.056 321.48 340.407C297.229 353.46 272.906 368.633 250.533 384.745C229.461 399.557 207.571 415.693 187.341 431.66L185.318 433.298L184.307 434.117L183.801 434.526C184.211 434.117 182.501 435.706 184.692 433.659C186.739 431.757 186.932 427.108 185.728 425.495H185.776ZM171.303 431.805C170.291 430.047 170.652 425.278 172.868 423.231C175.204 421.039 173.687 422.508 174.265 421.979L174.819 421.593L175.902 420.822L178.094 419.281C202.73 401.989 236.301 379.928 261.587 363.359C400.132 279.234 559.389 226.587 721.631 218.663C741.282 217.676 828.027 220.518 811.651 253.44C791.662 287.326 635.922 331.52 591.755 346.066C537.931 362.564 483.891 378.748 428.863 391.007C373.859 403.314 318.349 412.538 262.888 422.171C246.319 424.628 212.676 431.925 195.722 432.07C186.884 432.286 178.744 431.781 171.303 431.781V431.805Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M857.59 363.523L690.423 359.029C658.222 358.163 631.415 383.567 630.55 415.771L626.501 566.385C625.635 598.588 651.038 625.396 683.239 626.262L850.406 630.757C882.608 631.622 909.414 606.218 910.28 574.014L914.329 423.401C915.195 391.197 889.792 364.389 857.59 363.523Z" fill="#777777" style="fill:#777777;fill:color(display-p3 0.4667 0.4667 0.4667);fill-opacity:1;"/>
+<path d="M852.055 638.609C851.453 638.609 850.85 638.609 850.224 638.585L683.069 634.105C646.56 633.118 617.662 602.628 618.625 566.117L622.671 415.521C623.658 379.01 654.195 350.061 690.655 351.073L857.81 355.552C875.487 356.034 891.935 363.355 904.12 376.192C916.282 389.029 922.736 405.839 922.254 423.541L918.209 574.137C917.727 591.814 910.406 608.263 897.57 620.45C885.168 632.203 869.081 638.609 852.055 638.609ZM688.873 366.847C661.684 366.847 639.215 388.595 638.469 415.93L634.423 566.526C633.676 594.319 655.688 617.56 683.479 618.282L850.634 622.762C864.096 623.147 876.908 618.21 886.685 608.962C896.462 599.69 902.049 587.166 902.411 573.703L906.456 423.107C906.818 409.644 901.905 396.832 892.657 387.054C883.386 377.276 870.863 371.688 857.401 371.327L690.246 366.847C689.788 366.847 689.331 366.847 688.873 366.847Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M977.548 425.709L973.503 576.305C972.636 608.505 945.832 633.914 913.634 633.071L746.479 628.567C714.257 627.724 688.85 600.895 689.717 568.695L693.763 418.099C694.172 403.167 700.144 389.704 709.657 379.613C720.663 367.981 736.364 360.876 753.631 361.333L920.81 365.837C950.865 366.608 974.996 390.041 977.356 419.375C977.548 421.447 977.597 423.566 977.548 425.709Z" fill="#CCCCCC" style="fill:#CCCCCC;fill:color(display-p3 0.8000 0.8000 0.8000);fill-opacity:1;"/>
+<path d="M977.362 419.375L958.216 416.606C958.216 416.606 955.808 380.48 910.052 380.48C864.295 380.48 835.397 378.072 787.232 378.072C739.068 378.072 727.026 373.255 708.242 390.402L709.663 379.613C720.669 367.981 736.37 360.876 753.637 361.333L920.817 365.837C950.871 366.608 975.002 390.041 977.362 419.375Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M913.42 640.971C890.108 640.2 777.644 636.202 756.933 635.504C746.361 635.287 734.103 634.854 723.964 630.278C702.314 621.848 687.094 600.462 685.071 577.534C684.204 568.503 685.649 554.751 685.866 545.527C687.311 515.157 688.587 481.849 688.924 451.624L689.117 420.291C689.045 413.548 689.96 406.106 691.935 399.555C698.076 378.819 715.415 361.768 736.583 356.734L740.822 355.747L745.133 355.169C746.216 354.952 748.36 354.831 749.467 354.831L753.826 354.711L879.078 357.095C890.517 357.529 915.25 357.481 926.689 358.396C950.482 360.756 972.012 377.037 980.754 399.29C985.233 409.935 986.004 421.857 985.353 433.296C985.088 443.171 984.342 470.024 984.077 480.26C983.499 500.876 982.078 554.221 981.5 574.187C981.861 611.203 950.579 642.199 913.42 640.995V640.971ZM913.829 625.148C942.728 625.702 965.871 602.654 965.63 573.753C966.545 538.807 967.99 483.463 968.905 448.517L969.315 432.863C969.748 423.735 969.531 413.837 965.847 405.311C959.031 388.525 942.969 376.025 924.907 374.026C915.635 373.231 888.591 372.726 878.645 372.292L753.441 367.957C734.825 367.235 716.499 377.229 706.264 393.221C702.531 399.29 699.954 406.106 698.895 413.186C698.389 417.546 696.968 446.735 696.775 451.841C695.33 481.946 695.138 515.47 694.801 545.768L694.704 561.422C694.752 565.661 694.463 572.212 695.234 576.354C697.522 595.14 711.249 611.589 728.708 618.38C737.932 622.234 747.035 622.017 757.27 622.186L788.577 622.764L913.829 625.124V625.148Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M760.393 398.31L754.928 398.163C745.329 397.905 737.338 405.478 737.08 415.078L736.933 420.543C736.675 430.142 744.247 438.134 753.847 438.392L759.311 438.539C768.911 438.797 776.902 431.224 777.16 421.624L777.307 416.159C777.565 406.559 769.992 398.568 760.393 398.31Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M759.864 440.908C759.672 440.908 759.503 440.908 759.31 440.908L753.844 440.764C748.546 440.619 743.633 438.428 739.996 434.598C736.36 430.769 734.433 425.735 734.578 420.437L734.722 414.97C734.867 409.696 737.058 404.758 740.887 401.122C744.717 397.485 749.75 395.558 755.048 395.703L760.514 395.847C771.424 396.136 780.069 405.264 779.78 416.174L779.636 421.641C779.491 426.915 777.3 431.853 773.471 435.489C769.762 439.006 764.946 440.908 759.864 440.908ZM759.431 436.067C763.428 436.164 767.233 434.719 770.147 431.973C773.061 429.228 774.699 425.495 774.819 421.497L774.964 416.03C775.181 407.769 768.654 400.881 760.394 400.664L754.927 400.52C750.93 400.399 747.125 401.868 744.211 404.614C741.297 407.359 739.659 411.092 739.539 415.09L739.394 420.557C739.298 424.555 740.743 428.36 743.488 431.275C746.234 434.189 749.966 435.826 753.964 435.947L759.431 436.091V436.067Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M957.942 599.399L877.05 597.232C827.007 595.883 787.536 554.242 788.861 504.196C790.209 454.15 831.847 414.677 881.89 416.001L962.783 418.169L957.918 599.399H957.942Z" fill="#6B6B6B" style="fill:#6B6B6B;fill:color(display-p3 0.4208 0.4208 0.4208);fill-opacity:1;"/>
+<path d="M963.484 605.253C939.57 606.289 913.561 606.794 888.829 605.903C884.326 605.711 878.233 605.662 873.802 605.157C861.183 604.338 848.852 600.557 837.678 594.825C785.444 567.345 768.875 497.334 802.614 449.07C816.63 428.454 839.316 413.498 863.952 409.211C877.703 406.658 893.356 408.007 907.228 408.055C925.916 408.537 944.58 409.066 963.243 410.15C967.602 410.391 970.95 414.076 970.829 418.411C969.24 480.499 966.518 543.382 963.46 605.277L963.484 605.253ZM952.406 593.548C952.599 534.639 953.105 476.694 954.766 417.953L962.593 426.214C936.006 426.238 908.962 425.492 882.375 424.384C813.066 421.349 767.286 496.129 808.129 554.292C819.592 570.187 836.98 581.482 855.86 586.179C861.761 587.768 868.648 588.732 874.741 588.852C901.063 589.165 925.506 590.634 952.43 593.524L952.406 593.548Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M967.526 600.094C1017.54 600.094 1058.08 559.552 1058.08 509.539C1058.08 459.527 1017.54 418.984 967.526 418.984C917.517 418.984 876.977 459.527 876.977 509.539C876.977 559.552 917.517 600.094 967.526 600.094Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M1060.27 543.139C1046.49 581.192 1011.69 605.011 972.03 608.864C949.392 610.622 927.092 600.844 909.729 586.875C877.555 561.539 864.045 515.756 878.446 477.294C886.682 453.572 904.864 434.136 926.177 421.275C948.477 407.861 977.063 408.246 1001.12 416.747C1051.89 434.738 1079 492.611 1060.27 543.115V543.139ZM1045.07 537.624C1065.08 482.882 1022.14 424.093 963.794 427.344C942.36 429.054 919.289 435.316 904.142 451.645C862.022 494.297 880.902 571.895 939.302 587.453C954.859 591.186 971.452 592.487 987.25 589.597C1013.72 583.431 1036.09 563.201 1045.07 537.6V537.624Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M970.562 585.048C1011.65 585.048 1044.95 551.74 1044.95 510.653C1044.95 469.566 1011.65 436.258 970.562 436.258C929.477 436.258 896.172 469.566 896.172 510.653C896.172 551.74 929.477 585.048 970.562 585.048Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M675.485 684.446C645.334 752.507 526.753 825.192 292.336 827.239L379.995 620.07C393.65 613.013 406.919 606.728 419.804 601.212C609.909 519.472 713.68 598.226 675.485 684.446Z" fill="#F4D93B" style="fill:#F4D93B;fill:color(display-p3 0.9569 0.8510 0.2314);fill-opacity:1;"/>
+<path d="M675.481 684.446C672.905 682.062 671.315 675.126 671.267 661.879C670.906 581.993 556.033 573.155 413.273 611.448C413.273 611.448 415.947 607.257 419.8 601.212C609.905 519.472 713.676 598.226 675.481 684.446Z" fill="white" style="fill:white;fill-opacity:1;"/>
+<path d="M292.287 823.455C338.862 816.182 384.594 812.786 430.664 805.368C467.606 799.106 504.645 790.171 539.588 776.684C584.477 759.368 630.306 734.779 657.567 694.149C686.996 649.642 671.728 604.557 621.853 586.037C559.071 563.832 489.882 583.195 429.171 605.328C413.301 611.084 397.791 617.852 382.042 624.282C379.633 625.27 376.888 624.114 375.901 621.705C375.01 619.538 375.877 617.081 377.827 615.901C407.232 598.031 438.804 583.388 472.037 573.056C524.416 557.426 582.864 548.755 635.243 569.829C681.336 588.566 705.611 632.808 688.561 680.999C672.835 724.471 634.496 754.648 595.579 776.203C545.585 803.393 489.93 817.771 434.132 826.875C421.32 828.826 408.46 830.608 395.576 831.909C361.235 835.353 326.604 835.738 292.335 831.042C288.169 830.343 287.784 824.25 292.263 823.455H292.287Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M446.464 467.181C459.099 467.181 469.342 456.938 469.342 444.301C469.342 431.665 459.099 421.422 446.464 421.422C433.829 421.422 423.586 431.665 423.586 444.301C423.586 456.938 433.829 467.181 446.464 467.181Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path opacity="0.21" d="M197.209 182.992C115.33 267.285 236.488 387.56 236.488 387.56C236.488 387.56 481.38 228.751 298.355 404.563L146.636 440.689C146.636 440.689 110.513 390.113 100.88 378.071C91.2472 366.029 98.6405 303.556 98.6405 303.556L120.146 252.835L197.209 182.992Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M173.133 1139.12C310.402 1177.65 428.405 1146.34 428.405 1146.34L353.75 1141.53L242.321 1122.64L185.174 1102.99L173.133 1139.12Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+<path d="M503.057 1168.02C618.652 1160.79 707.226 1102.99 707.226 1102.99L580.12 1139.12L491.016 1146.34L503.057 1168.02Z" fill="#232323" style="fill:#232323;fill:color(display-p3 0.1375 0.1375 0.1375);fill-opacity:1;"/>
+</svg>
diff --git a/web/apps/social/src/screens/HomeScreen.tsx b/web/apps/social/src/screens/HomeScreen.tsx
index fa45c7ffb9..0b7c35f401 100644
--- a/web/apps/social/src/screens/HomeScreen.tsx
+++ b/web/apps/social/src/screens/HomeScreen.tsx
@@ -29,7 +29,7 @@ const hoursAgo = (hours: number) => minutesAgo(hours * 60);
const daysAgo = (days: number) => hoursAgo(days * 24);
const sampleFeedPhotoAspectRatio = 900 / 680;
const showMockFeedData =
- process.env.NEXT_PUBLIC_SHOW_SOCIAL_MOCK_FEED == "true";
+ process.env.NEXT_PUBLIC_HIDE_SOCIAL_MOCK_FEED != "true";
type PostActionPhase = "posting" | "posted";
const sampleFeedItems = [
diff --git a/web/apps/social/src/screens/ProfileScreen.tsx b/web/apps/social/src/screens/ProfileScreen.tsx
index 8ce3686fab..d5ba9a2549 100644
--- a/web/apps/social/src/screens/ProfileScreen.tsx
+++ b/web/apps/social/src/screens/ProfileScreen.tsx
@@ -1,10 +1,19 @@
import {
ArrowLeft02Icon,
+ Loading03Icon,
MoreHorizontalIcon,
Settings01Icon,
+ Tick02Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { Box, Menu, MenuItem } from "@mui/material";
+import { keyframes } from "@mui/material/styles";
+import {
+ socialActionBusyDurationMs,
+ socialActionDoneDurationMs,
+ socialActionTransition,
+ type SocialActionPhase,
+} from "components/SocialActionFeedback";
import {
SocialFileViewer,
type SocialViewerPhoto,
@@ -14,7 +23,7 @@ import React, { useState } from "react";
import type { SetupProfile } from "screens/SetupProfileScreen";
import { LinkIcon, ShareIcon } from "screens/ShareProfileLinkScreen";
import { profileLinkForUsername } from "utils/profileLink";
-import { initialsFor } from "utils/socialDisplay";
+import { firstNameFrom, initialsFor } from "utils/socialDisplay";
export const profileBackground = "#FFFFFF";
@@ -31,6 +40,19 @@ const profileCoverHeight =
profileHeaderHeight + profileAvatarTopOffset + profileAvatarSize / 2;
const photoMasonryGap = "3px";
const photoMasonryRadius = "12px";
+const showMockProfilePosts =
+ process.env.NEXT_PUBLIC_HIDE_SOCIAL_MOCK_PROFILE_POSTS != "true";
+type PostActionPhase = "posting" | "posted";
+
+const postActionSpin = keyframes`
+ from {
+ transform: rotate(0deg);
+ }
+
+ to {
+ transform: rotate(360deg);
+ }
+`;
const samplePhotoUrls = [
"/images/sample-feed-1.jpg",
@@ -179,17 +201,21 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({
useState<HTMLElement | null>(null);
const [selectedPost, setSelectedPost] =
useState<SelectedProfilePost | null>(null);
+ const [postActionPhase, setPostActionPhase] =
+ useState<PostActionPhase | null>(null);
const [deletedPostIDs, setDeletedPostIDs] = useState<Set<string>>(
() => new Set(),
);
+ const postInputRef = React.useRef<HTMLInputElement | null>(null);
const isPublicProfile = headerVariant == "public";
const isOwnerProfile = headerVariant == "owner";
const isFriendProfile = headerVariant == "friend";
const displayName = profile.fullName.trim() || profile.username.trim();
const profileLink = profileLinkForUsername(profile.username.trim());
+ const firstName = firstNameFrom(displayName);
const initialsSource = displayName || profile.username.trim();
const initials = initialsFor(initialsSource);
- const visiblePostGroups = samplePostGroups
+ const visiblePostGroups = (showMockProfilePosts ? samplePostGroups : [])
.map((group) => ({
...group,
items: group.items.filter((item) => !deletedPostIDs.has(item.id)),
@@ -202,8 +228,28 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({
const isProfileActionsOpen = Boolean(profileActionsAnchor);
const canOpenFriends =
isOwnerProfile && friendsCount > 0 && Boolean(onOpenFriends);
+ const hasProfilePosts = postsSharedCount > 0;
+ const isPostActionPosting = postActionPhase == "posting";
+ const isPostActionPosted = postActionPhase == "posted";
+ const postActionFeedbackPhase: SocialActionPhase | null =
+ postActionPhase == "posting"
+ ? "busy"
+ : postActionPhase == "posted"
+ ? "done"
+ : null;
const closeProfileActions = () => setProfileActionsAnchor(null);
+ const openPostPhotoPicker = () => postInputRef.current?.click();
+
+ const handlePostPhotoSelect: React.ChangeEventHandler<HTMLInputElement> = (
+ event,
+ ) => {
+ const file = event.target.files?.[0];
+ event.target.value = "";
+ if (!file) return;
+
+ setPostActionPhase("posting");
+ };
const copyProfileURL = async () => {
closeProfileActions();
@@ -236,6 +282,21 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({
});
};
+ React.useEffect(() => {
+ if (!postActionPhase) return;
+
+ const timeoutID = window.setTimeout(
+ () =>
+ setPostActionPhase(
+ postActionPhase == "posting" ? "posted" : null,
+ ),
+ postActionPhase == "posting"
+ ? socialActionBusyDurationMs
+ : socialActionDoneDurationMs,
+ );
+ return () => window.clearTimeout(timeoutID);
+ }, [postActionPhase]);
+
return (
<Box
component="main"
@@ -252,6 +313,8 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({
sx={{
bgcolor: profileBackground,
boxSizing: "border-box",
+ display: "flex",
+ flexDirection: "column",
minHeight: "100svh",
mx: "auto",
overflow: "hidden",
@@ -260,6 +323,16 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({
"@media (min-width: 600px)": { maxWidth: 375 },
}}
>
+ {isOwnerProfile && (
+ <Box
+ ref={postInputRef}
+ component="input"
+ type="file"
+ accept="image/*"
+ onChange={handlePostPhotoSelect}
+ sx={{ display: "none" }}
+ />
+ )}
<Box
className="green-bg-with-noise-and-curves"
sx={{
@@ -780,133 +853,331 @@ export const ProfileScreen: React.FC<ProfileScreenProps> = ({
<Box
component="section"
sx={{
+ alignItems: "stretch",
+ boxSizing: "border-box",
display: "flex",
+ flex: hasProfilePosts ? "0 0 auto" : "1 1 0",
flexDirection: "column",
gap: "24px",
- mt: "42px",
+ minHeight: hasProfilePosts ? undefined : 0,
+ mt: "24px",
pb: "16px",
px: 0,
width: "100%",
}}
>
- {visiblePostGroups.map((group) => (
- <Box
- component="section"
- key={group.label}
- sx={{ width: "100%" }}
- >
- <Box sx={{ mb: "10px", px: "18px", width: "100%" }}>
+ {hasProfilePosts ? (
+ visiblePostGroups.map((group) => (
+ <Box
+ component="section"
+ key={group.label}
+ sx={{ width: "100%" }}
+ >
<Box
- component="h2"
sx={{
- color: textStrong,
- fontFamily:
- '"Inter Variable", Inter, sans-serif',
- fontSize: 14,
- fontWeight: 650,
- letterSpacing: 0,
- lineHeight: "20px",
- m: 0,
+ mb: "10px",
+ px: "18px",
+ width: "100%",
}}
>
- {group.label}
+ <Box
+ component="h2"
+ sx={{
+ color: textStrong,
+ fontFamily:
+ '"Inter Variable", Inter, sans-serif',
+ fontSize: 14,
+ fontWeight: 650,
+ letterSpacing: 0,
+ lineHeight: "20px",
+ m: 0,
+ }}
+ >
+ {group.label}
+ </Box>
+ </Box>
+ <Box
+ sx={{
+ borderRadius: photoMasonryRadius,
+ display: "flex",
+ flexDirection: "column",
+ gap: photoMasonryGap,
+ mx: "16px",
+ overflow: "hidden",
+ width: "calc(100% - 32px)",
+ }}
+ >
+ {buildPostMasonryRows(group.items).map(
+ (row, rowIndex) => (
+ <Box
+ key={`${group.label}-row-${rowIndex}`}
+ sx={{
+ display: "flex",
+ gap: photoMasonryGap,
+ height: row.height,
+ width: "100%",
+ "@media (max-width: 340px)":
+ {
+ height: row.compactHeight,
+ },
+ }}
+ >
+ {row.items.map(
+ ({ item, index }) => (
+ <Box
+ component="button"
+ type="button"
+ aria-label={`Open ${displayName} post ${
+ index + 1
+ }`}
+ onClick={() =>
+ setSelectedPost(
+ {
+ id: item.id,
+ photo: {
+ alt: `${displayName} post ${
+ index +
+ 1
+ }`,
+ avatarUrl:
+ profile.avatarUrl,
+ imageUrl:
+ item.imageUrl,
+ name: displayName,
+ timestampMs:
+ item.timestampMs,
+ },
+ },
+ )
+ }
+ key={`${group.label}-${item.imageUrl}-${index}`}
+ sx={{
+ appearance:
+ "none",
+ bgcolor:
+ paleGreen,
+ border: 0,
+ cursor: "pointer",
+ display:
+ "block",
+ flex: `${item.aspectRatio} 1 0`,
+ minWidth: 0,
+ overflow:
+ "hidden",
+ p: 0,
+ "&:focus-visible":
+ {
+ outline: `2px solid ${green}`,
+ outlineOffset:
+ -2,
+ },
+ }}
+ >
+ <Box
+ component="img"
+ alt={`${group.label} post ${
+ index + 1
+ }`}
+ src={
+ item.imageUrl
+ }
+ sx={{
+ display:
+ "block",
+ height: "100%",
+ objectFit:
+ "cover",
+ objectPosition:
+ "center",
+ width: "100%",
+ }}
+ />
+ </Box>
+ ),
+ )}
+ </Box>
+ ),
+ )}
</Box>
</Box>
+ ))
+ ) : (
+ <Box
+ sx={{
+ alignItems: "center",
+ boxSizing: "border-box",
+ display: "flex",
+ flex: 1,
+ flexDirection: "column",
+ justifyContent: "center",
+ minHeight: 0,
+ pb: "12px",
+ px: 3,
+ textAlign: "center",
+ width: "100%",
+ }}
+ >
+ {isOwnerProfile && (
+ <Box
+ component="img"
+ alt=""
+ src="/images/ducky-camera.svg"
+ sx={{
+ display: "block",
+ height: "auto",
+ width: 128,
+ }}
+ />
+ )}
<Box
+ component="p"
sx={{
- borderRadius: photoMasonryRadius,
- display: "flex",
- flexDirection: "column",
- gap: photoMasonryGap,
- mx: "16px",
- overflow: "hidden",
- width: "calc(100% - 32px)",
+ color: textSoft,
+ fontFamily:
+ '"Inter Variable", Inter, sans-serif',
+ fontSize: 14,
+ fontWeight: 500,
+ lineHeight: "20px",
+ m: 0,
+ mt: isOwnerProfile ? "28px" : 0,
+ maxWidth: isOwnerProfile ? 230 : 250,
}}
>
- {buildPostMasonryRows(group.items).map(
- (row, rowIndex) => (
+ {isOwnerProfile
+ ? "Your profile is looking empty. Share something with your friends."
+ : `${firstName} hasn't posted anything yet.`}
+ </Box>
+ {isOwnerProfile && (
+ <Box
+ component="button"
+ type="button"
+ aria-label={
+ isPostActionPosting
+ ? "Posting photo"
+ : isPostActionPosted
+ ? "Photo posted"
+ : "Post photo"
+ }
+ disabled={postActionPhase != null}
+ onClick={openPostPhotoPicker}
+ sx={{
+ alignItems: "center",
+ bgcolor: "#F2F2F2",
+ border: 0,
+ borderRadius: "50%",
+ color: isPostActionPosted
+ ? green
+ : textBase,
+ cursor:
+ postActionPhase == null
+ ? "pointer"
+ : "default",
+ display: "grid",
+ height: 40,
+ lineHeight: 0,
+ mt: "20px",
+ p: 0,
+ placeItems: "center",
+ position: "relative",
+ transition: `color ${socialActionTransition}`,
+ width: 40,
+ "&:focus-visible": {
+ outline: `2px solid ${green}`,
+ outlineOffset: 2,
+ },
+ "&:hover": {
+ bgcolor:
+ postActionPhase == null
+ ? "#E8E8E8"
+ : "#F2F2F2",
+ },
+ }}
+ >
+ {postActionFeedbackPhase == "busy" ? (
<Box
- key={`${group.label}-row-${rowIndex}`}
+ component="span"
sx={{
display: "flex",
- gap: photoMasonryGap,
- height: row.height,
- width: "100%",
- "@media (max-width: 340px)": {
- height: row.compactHeight,
- },
+ left: "50%",
+ lineHeight: 0,
+ position: "absolute",
+ top: "50%",
+ transform:
+ "translate(-50%, -50%)",
}}
>
- {row.items.map(
- ({ item, index }) => (
- <Box
- component="button"
- type="button"
- aria-label={`Open ${displayName} post ${
- index + 1
- }`}
- onClick={() =>
- setSelectedPost({
- id: item.id,
- photo: {
- alt: `${displayName} post ${
- index +
- 1
- }`,
- avatarUrl:
- profile.avatarUrl,
- imageUrl:
- item.imageUrl,
- name: displayName,
- timestampMs:
- item.timestampMs,
- },
- })
- }
- key={`${group.label}-${item.imageUrl}-${index}`}
- sx={{
- appearance: "none",
- bgcolor: paleGreen,
- border: 0,
- cursor: "pointer",
- display: "block",
- flex: `${item.aspectRatio} 1 0`,
- minWidth: 0,
- overflow: "hidden",
- p: 0,
- "&:focus-visible": {
- outline: `2px solid ${green}`,
- outlineOffset:
- -2,
- },
- }}
- >
- <Box
- component="img"
- alt={`${group.label} post ${
- index + 1
- }`}
- src={item.imageUrl}
- sx={{
- display:
- "block",
- height: "100%",
- objectFit:
- "cover",
- objectPosition:
- "center",
- width: "100%",
- }}
- />
- </Box>
- ),
- )}
+ <Box
+ component="span"
+ sx={{
+ animation: `${postActionSpin} 2.4s linear infinite`,
+ display: "flex",
+ lineHeight: 0,
+ }}
+ >
+ <HugeiconsIcon
+ icon={Loading03Icon}
+ size={22}
+ strokeWidth={1.8}
+ />
+ </Box>
</Box>
- ),
- )}
- </Box>
+ ) : postActionFeedbackPhase == "done" ? (
+ <Box
+ component="span"
+ sx={{
+ display: "flex",
+ left: "50%",
+ lineHeight: 0,
+ position: "absolute",
+ top: "50%",
+ transform:
+ "translate(-50%, -50%)",
+ }}
+ >
+ <HugeiconsIcon
+ icon={Tick02Icon}
+ size={22}
+ strokeWidth={1.8}
+ />
+ </Box>
+ ) : (
+ <>
+ <Box
+ aria-hidden
+ component="span"
+ sx={{
+ bgcolor: "currentColor",
+ borderRadius: "999px",
+ height: "2px",
+ left: "50%",
+ position: "absolute",
+ top: "50%",
+ transform:
+ "translate(-50%, -50%)",
+ width: "15px",
+ }}
+ />
+ <Box
+ aria-hidden
+ component="span"
+ sx={{
+ bgcolor: "currentColor",
+ borderRadius: "999px",
+ height: "15px",
+ left: "50%",
+ position: "absolute",
+ top: "50%",
+ transform:
+ "translate(-50%, -50%)",
+ width: "2px",
+ }}
+ />
+ </>
+ )}
+ </Box>
+ )}
</Box>
- ))}
+ )}
</Box>
{selectedPost && (
<SocialFileViewer
diff --git a/web/apps/social/src/screens/SettingsScreen.tsx b/web/apps/social/src/screens/SettingsScreen.tsx
index cba195c4b2..ce0097b50a 100644
--- a/web/apps/social/src/screens/SettingsScreen.tsx
+++ b/web/apps/social/src/screens/SettingsScreen.tsx
@@ -126,11 +126,11 @@ const SocialIcon: React.FC<SocialIconProps> = ({ label, src }) => (
borderRadius: "10px",
cursor: "pointer",
display: "flex",
- height: 32,
+ height: 36,
justifyContent: "center",
p: 0,
transition: "background-color 120ms ease",
- width: 32,
+ width: 36,
"&:active": { bgcolor: "rgba(0, 0, 0, 0.025)" },
"&:focus-visible": {
outline: `2px solid ${green}`,
@@ -144,7 +144,7 @@ const SocialIcon: React.FC<SocialIconProps> = ({ label, src }) => (
aria-hidden
alt=""
src={src}
- sx={{ display: "block", maxHeight: 20, maxWidth: 20 }}
+ sx={{ display: "block", maxHeight: 24, maxWidth: 24 }}
/>
</Box>
);