fix: fixed caldav app icon and text (#12016)

Co-authored-by: Peer Richelsen <peer@cal.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
This commit is contained in:
Abhinav-Developer-23 2023-10-20 20:02:07 +05:30 committed by GitHub
parent cbd0e2d287
commit 6f017a7972
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 21 additions and 6 deletions

View File

@ -3,7 +3,7 @@ items:
- 1.jpg
---
> 🚨 A slow Caldav server can cause a slow booking page for you
> 🚨 <span class="text-red-500">A slow Caldav server can cause a slow booking page for you</span>
Caldav is a protocol that allows different clients/servers to access scheduling information on remote servers as well as schedule meetings with other users on the same server or other servers. It extends WebDAV specification and uses iCalendar format for the data.

View File

@ -1,3 +1,19 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" />
</svg>
<svg xmlns="http://www.w3.org/2000/svg" width="3004" height="3004" fill="none">
<path fill="#DFE4E4" stroke="#fff" stroke-width="100" d="m2809.88 802.052 12.75 14.238v1801.24c0 168.34-136.45 304.8-304.8 304.8H485.801c-168.343 0-304.801-136.46-304.801-304.8V825.541l3.742-9.121 28.646-69.814 12.728-31.02H2732.48l14.91 16.652 62.49 69.814Z"/>
<path fill="#CD2E47" stroke="#fff" stroke-width="100" d="M2822.63 835.4v50H181V585.507c0-168.345 136.457-304.814 304.801-304.814H2517.83c168.35 0 304.8 136.47 304.8 304.814V835.4Z"/>
<path fill="#1C202E" stroke="#fff" stroke-width="70" d="M593.032 611.307h-3.084c-53.065 0-96.079-43.018-96.079-96.08V192.08c0-53.062 43.015-96.08 96.079-96.08h3.084c53.064 0 96.078 43.018 96.078 96.08v323.147c0 53.062-43.014 96.08-96.078 96.08ZM1050.09 611.307h-3.08c-53.065 0-96.081-43.018-96.081-96.08V192.08c0-53.063 43.016-96.08 96.081-96.08h3.08c53.07 0 96.08 43.017 96.08 96.08v323.147c0 53.062-43.01 96.08-96.08 96.08ZM1507.15 611.307h-3.08c-53.06 0-96.08-43.017-96.08-96.08V192.08c0-53.063 43.02-96.08 96.08-96.08h3.08c53.06 0 96.08 43.017 96.08 96.08v323.147c0 53.063-43.02 96.08-96.08 96.08ZM1964.22 611.307h-3.08c-53.07 0-96.08-43.017-96.08-96.08V192.08c0-53.063 43.01-96.08 96.08-96.08h3.08c53.06 0 96.08 43.017 96.08 96.08v323.147c0 53.063-43.02 96.08-96.08 96.08ZM2421.27 611.307h-3.08c-53.06 0-96.08-43.017-96.08-96.08V192.08c0-53.064 43.02-96.08 96.08-96.08h3.08c53.06 0 96.08 43.017 96.08 96.08v323.147c0 53.063-43.02 96.08-96.08 96.08Z"/>
<path fill="#DFE4E4" d="M2772.63 835.4v1782.13c0 140.72-114.07 254.8-254.8 254.8H485.801c-140.728 0-254.801-114.08-254.801-254.8V835.4l28.645-69.813H2710.14l62.49 69.813Z"/>
<path fill="#CD2E47" d="M2772.63 585.507V835.4H231V585.507c0-140.734 114.073-254.814 254.801-254.814H2517.83c140.73 0 254.8 114.08 254.8 254.814Z"/>
<path fill="#9B213B" d="M684.276 632.147H491.114c-21.767 0-39.414-17.64-39.414-39.414V510.72c0-21.773 17.647-39.413 39.414-39.413h193.162c21.768 0 39.414 17.64 39.414 39.413v82.013c0 21.774-17.646 39.414-39.414 39.414Z"/>
<path fill="#1C202E" d="M593.032 576.307h-3.084c-33.733 0-61.079-27.347-61.079-61.08V192.08c0-33.733 27.346-61.08 61.079-61.08h3.084c33.733 0 61.078 27.347 61.078 61.08v323.147c0 33.733-27.345 61.08-61.078 61.08Z"/>
<path fill="#9B213B" d="M1141.34 632.147H948.174c-21.768 0-39.414-17.64-39.414-39.414V510.72c0-21.773 17.646-39.413 39.414-39.413h193.166c21.76 0 39.41 17.64 39.41 39.413v82.013c0 21.774-17.65 39.414-39.41 39.414Z"/>
<path fill="#1C202E" d="M1050.09 576.307h-3.08c-33.73 0-61.081-27.347-61.081-61.08V192.08c0-33.733 27.351-61.08 61.081-61.08h3.08c33.74 0 61.08 27.347 61.08 61.08v323.147c0 33.733-27.34 61.08-61.08 61.08Z"/>
<path fill="#9B213B" d="M1598.4 632.147h-193.17c-21.76 0-39.41-17.64-39.41-39.414V510.72c0-21.773 17.65-39.413 39.41-39.413h193.17c21.76 0 39.42 17.64 39.42 39.413v82.013c0 21.774-17.66 39.414-39.42 39.414Z"/>
<path fill="#1C202E" d="M1507.15 576.307h-3.08c-33.73 0-61.08-27.347-61.08-61.08V192.08c0-33.733 27.35-61.08 61.08-61.08h3.08c33.73 0 61.08 27.347 61.08 61.08v323.147c0 33.733-27.35 61.08-61.08 61.08Z"/>
<path fill="#9B213B" d="M2055.46 632.147H1862.3c-21.78 0-39.42-17.64-39.42-39.414V510.72c0-21.773 17.64-39.413 39.42-39.413h193.16c21.77 0 39.41 17.64 39.41 39.413v82.013c0 21.774-17.64 39.414-39.41 39.414Z"/>
<path fill="#1C202E" d="M1964.22 576.307h-3.08c-33.74 0-61.08-27.347-61.08-61.08V192.08c0-33.733 27.34-61.08 61.08-61.08h3.08c33.73 0 61.08 27.347 61.08 61.08v323.147c0 33.733-27.35 61.08-61.08 61.08Z"/>
<path fill="#9B213B" d="M2512.52 632.147h-193.16c-21.77 0-39.42-17.64-39.42-39.414V510.72c0-21.773 17.65-39.413 39.42-39.413h193.16c21.76 0 39.42 17.64 39.42 39.413v82.013c0 21.774-17.66 39.414-39.42 39.414Z"/>
<path fill="#1C202E" d="M2421.27 576.307h-3.08c-33.73 0-61.08-27.347-61.08-61.08V192.08c0-33.733 27.35-61.08 61.08-61.08h3.08c33.73 0 61.08 27.347 61.08 61.08v323.147c0 33.733-27.35 61.08-61.08 61.08Z"/>
<path fill="#B9C3C4" d="M842.32 959.6h154.945c21.575 0 39.065 17.48 39.065 39.053v154.957c0 21.56-17.49 39.06-39.065 39.06H842.32c-21.573 0-39.063-17.5-39.063-39.06V998.653c0-21.573 17.49-39.053 39.063-39.053ZM1618.35 959.6h154.95c21.57 0 39.06 17.48 39.06 39.053v154.957c0 21.56-17.49 39.06-39.06 39.06h-154.95c-21.57 0-39.07-17.5-39.07-39.06V998.653c0-21.573 17.5-39.053 39.07-39.053ZM2588.39 998.653v154.957c0 21.56-17.49 39.06-39.07 39.06h-154.94c-21.58 0-39.06-17.5-39.06-39.06V998.653c0-21.573 17.48-39.053 39.06-39.053h154.94c21.58 0 39.07 17.48 39.07 39.053ZM454.304 959.6h154.945c21.574 0 39.063 17.48 39.063 39.053v154.957c0 21.56-17.489 39.06-39.063 39.06H454.304c-21.573 0-39.063-17.5-39.063-39.06V998.653c0-21.573 17.49-39.053 39.063-39.053ZM2006.36 959.6h154.95c21.57 0 39.07 17.48 39.07 39.053v154.957c0 21.56-17.5 39.06-39.07 39.06h-154.95c-21.57 0-39.05-17.5-39.05-39.06V998.653c0-21.573 17.48-39.053 39.05-39.053ZM1230.33 959.6h154.95c21.58 0 39.07 17.48 39.07 39.053v154.957c0 21.56-17.49 39.06-39.07 39.06h-154.95c-21.57 0-39.06-17.5-39.06-39.06V998.653c0-21.573 17.49-39.053 39.06-39.053ZM1618.35 2092.4h154.95c21.57 0 39.06 17.48 39.06 39.05v154.95c0 21.57-17.49 39.07-39.06 39.07h-154.95c-21.57 0-39.07-17.5-39.07-39.07v-154.95c0-21.57 17.5-39.05 39.07-39.05ZM2588.39 2131.45v154.95c0 21.57-17.49 39.07-39.07 39.07h-154.94c-21.58 0-39.06-17.5-39.06-39.07v-154.95c0-21.57 17.48-39.05 39.06-39.05h154.94c21.58 0 39.07 17.48 39.07 39.05ZM2006.36 2092.4h154.95c21.57 0 39.07 17.48 39.07 39.05v154.95c0 21.57-17.5 39.07-39.07 39.07h-154.95c-21.57 0-39.05-17.5-39.05-39.07v-154.95c0-21.57 17.48-39.05 39.05-39.05ZM1230.33 2092.4h154.95c21.58 0 39.07 17.48 39.07 39.05v154.95c0 21.57-17.49 39.07-39.07 39.07h-154.95c-21.57 0-39.06-17.5-39.06-39.07v-154.95c0-21.57 17.49-39.05 39.06-39.05ZM842.32 2092.4h154.945c21.575 0 39.065 17.48 39.065 39.05v154.95c0 21.57-17.49 39.07-39.065 39.07H842.32c-21.573 0-39.063-17.5-39.063-39.07v-154.95c0-21.57 17.49-39.05 39.063-39.05ZM454.304 2092.4h154.945c21.574 0 39.063 17.48 39.063 39.05v154.95c0 21.57-17.489 39.07-39.063 39.07H454.304c-21.573 0-39.063-17.5-39.063-39.07v-154.95c0-21.57 17.49-39.05 39.063-39.05ZM454.304 2470h154.945c21.574 0 39.063 17.48 39.063 39.05V2664c0 21.57-17.489 39.07-39.063 39.07H454.304c-21.573 0-39.063-17.5-39.063-39.07v-154.95c0-21.57 17.49-39.05 39.063-39.05ZM842.32 2470h154.945c21.575 0 39.065 17.48 39.065 39.05V2664c0 21.57-17.49 39.07-39.065 39.07H842.32c-21.573 0-39.063-17.5-39.063-39.07v-154.95c0-21.57 17.49-39.05 39.063-39.05ZM1424.35 2509.05V2664c0 21.57-17.49 39.07-39.07 39.07h-154.95c-21.57 0-39.06-17.5-39.06-39.07v-154.95c0-21.57 17.49-39.05 39.06-39.05h154.95c21.58 0 39.07 17.48 39.07 39.05Z"/>
<path fill="#1C202E" d="M2178.1 1401.28h114.89l113.48 315.59c8.03 23.17 13.94 43.97 17.73 62.41 3.78-19.38 9.69-40.19 17.73-62.41l113.47-315.59h112.76l-196.45 496.44h-95.74l-197.87-496.44ZM1994.44 1401.28h85.81l202.13 496.44h-107.8l-34.04-94.33h-207.09l-34.04 94.33h-107.8l202.83-496.44Zm113.47 316.3-53.19-135.46c-8.03-20.8-13.94-39.71-17.73-56.73-6.14 23.64-12.05 42.55-17.73 56.73l-53.19 135.46h141.84ZM1391.06 1401.28h177.3c55.79 0 102.6 10.63 140.42 31.91 38.3 21.28 66.9 50.59 85.81 87.94 18.92 37.35 28.37 80.38 28.37 129.08 0 48.22-9.45 91.01-28.37 128.36-18.91 37.35-47.51 66.67-85.81 87.94-37.82 20.81-84.63 31.21-140.42 31.21h-177.3v-496.44Zm165.24 407.08c55.79 0 96.93-14.19 123.4-42.55 26.95-28.84 40.43-67.38 40.43-115.6 0-48.23-13.48-86.76-40.43-115.6-26.47-29.32-67.61-43.97-123.4-43.97h-65.95v317.72h65.95ZM1231.6 1380h95.74v517.72h-95.74V1380ZM962.661 1906.94c-33.096 0-63.592-8.51-91.487-25.53-27.895-17.5-50.117-40.9-66.665-70.21-16.075-29.32-24.113-61.47-24.113-96.46 0-34.98 8.038-67.13 24.113-96.45 16.548-29.78 38.77-53.42 66.665-70.92 27.895-17.49 58.391-26.24 91.487-26.24 30.26 0 54.609 5.67 73.049 17.02 18.91 11.35 33.57 27.66 43.97 48.94v-58.16h95.03v368.79h-92.9v-60.28c-10.88 22.22-25.77 39.47-44.68 51.77-18.44 11.82-43.264 17.73-74.469 17.73Zm-86.523-192.91c0 18.92 4.256 36.65 12.766 53.19 8.983 16.08 21.04 29.08 36.169 39.01 15.603 9.46 33.333 14.18 53.191 14.18 20.33 0 38.296-4.72 53.896-14.18 16.08-9.46 28.37-22.22 36.88-38.3 8.51-16.07 12.77-33.8 12.77-53.19 0-19.38-4.26-37.11-12.77-53.19-8.51-16.54-20.8-29.55-36.88-39-15.6-9.93-33.566-14.9-53.896-14.9-19.858 0-37.588 4.97-53.191 14.9-15.602 9.45-27.659 22.22-36.169 38.29-8.51 16.08-12.766 33.81-12.766 53.19ZM594.008 1906.94c-48.225 0-92.196-11.35-131.911-34.04-39.243-23.17-70.211-54.38-92.906-93.62-22.694-39.24-34.042-82.27-34.042-129.07 0-47.28 10.875-90.55 32.624-129.79 22.221-39.71 52.954-70.92 92.196-93.61 39.243-23.17 83.922-34.75 134.039-34.75 40.189 0 74.703 6.38 103.544 19.14 29.314 12.3 55.318 31.92 78.012 58.87l-70.211 60.99c-29.786-31.2-66.901-46.81-111.345-46.81-31.204 0-58.627 7.57-82.267 22.7-23.64 14.65-41.843 34.75-54.609 60.28-12.765 25.06-19.148 52.72-19.148 82.98 0 30.26 6.383 57.91 19.148 82.97 13.239 25.06 31.678 44.92 55.318 59.58 24.113 14.65 52.008 21.98 83.686 21.98 46.335 0 84.159-16.07 113.473-48.22l72.338 61.7c-19.857 24.11-45.862 43.26-78.012 57.44-31.678 14.19-68.32 21.28-109.927 21.28Z"/>
</svg>

Before

Width:  |  Height:  |  Size: 264 B

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

@ -58,8 +58,7 @@ export function AppCard({ app, credentials, searchText, userAdminTeams }: AppCar
alt={`${app.name} Logo`}
className={classNames(
app.logo.includes("-dark") && "dark:invert",
"mb-4 h-12 w-12 rounded-sm",
app.dirName == "caldavcalendar" && "dark:invert" // TODO: Maybe find a better way to handle this @Hariom?
"mb-4 h-12 w-12 rounded-sm" // TODO: Maybe find a better way to handle this @Hariom?
)}
/>
</div>