1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-09 05:57:40 +02:00
bitwarden-browser/apps/web/src/app/admin-console/icons/provider-portal-logo.ts
Oscar Hinton 38d8fbdb5a
Vertical Vault Navigation (#6957)
* WIP admin console layout

* Update icons

* Migrate more things

* Migrate the last pages

* Move header to web

* Fix story not working

* Convert header component to standalone

* Migrate org layout to standalone

* Enable org switcher

* Add AC to product switcher

* Migrate provider portal to vertical nav

* Migrate PM

* Prettier fixes

* Change AC and PP to use secondary variant layout & update logos

* Remove full width setting

* Remove commented code

* Add header to report pages

* Add provider portal banner

* Fix banner for billing pages

* Move vault title to header

* Prevent scrollbar jumping

* Move send button to header

* Replace search input with bit-search

* Remove unused files and css

* Add banner

* Tweak storage option

* Fix duplicate nav item after merge

* Migrate banner state to state provider framework

* [AC-2078] Fix device approvals header

* [PM-5861] Hide AC from product switcher for users that do not have access

* [PM-5860] Fix Vault and Send page headers

* [AC-2075] Fix missing link on reporting nav group

* [AC-2079] Hide Payment Method and Billing History pages for self-hosted instances

* [AC-2090] Hide reports/event log nav items for users that do not have permission

* [AC-2092] Fix missing provider portal option in product switcher on page load

* Add null check for organization in org layout component

* [AC-2094] Fix missing page header for new client orgs page

* [AC-2093] Update New client button styling

* Fix failing test after merge

* [PM-2087] Use disk-local for web layout banner

* [PM-6041] Update banner copy to read "web app"

* [PM-6094] Update banner link to marketing URL

* [PM-6114] add CL container component to VVR pages (#7802)

* create bit-container component

* add container to all page components

* Fix linting errors after merge with main

* Fix product switcher stories

* Fix web-header stories

* mock org state properly in product switcher stories (#7956)

* refactor: move web layout migration banner logic into a service (#7958)

* make CL codeowner of web header files

* move migration banner logic to service; update stories

* [PM-5862] Ensure a sync has run before hiding navigation links

* Remove leftover banner global state

* Re-add dropped selfHosted ngIf

* Add rel noreferrer

* Remove comment

---------

Co-authored-by: Shane Melton <smelton@bitwarden.com>
Co-authored-by: Will Martin <contact@willmartian.com>
2024-02-23 09:22:45 -08:00

6 lines
12 KiB
TypeScript

import { svgIcon } from "@bitwarden/components";
export const ProviderPortalLogo = svgIcon`
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 580 104" fill="none"><path class="tw-fill-text-alt2" fill-rule="evenodd" d="M126.29 19.592c4.87 0 8.658 1.904 11.441 5.87 2.783 3.887 4.174 9.202 4.174 15.945 0 6.981-1.391 12.375-4.251 16.183-2.86 3.887-6.726 5.712-11.596 5.712s-8.58-1.745-11.363-5.395h-.773l-1.469 3.729a1.427 1.427 0 0 1-1.314.872h-6.184c-.773 0-1.391-.634-1.391-1.427V5.313c0-.793.618-1.428 1.391-1.428h8.349c.773 0 1.391.635 1.391 1.428v12.216c0 1.746-.155 4.522-.464 8.33h.464c2.551-4.125 6.493-6.267 11.595-6.267Zm-3.556 9.281c-2.705 0-4.792.873-6.106 2.618-1.237 1.745-1.933 4.68-1.933 8.647v1.27c0 4.52.618 7.773 1.933 9.677 1.314 1.904 3.401 2.935 6.261 2.935 2.242 0 4.174-1.11 5.488-3.331 1.315-2.142 2.01-5.395 2.01-9.44 0-4.126-.695-7.22-2.01-9.282-1.391-2.062-3.324-3.094-5.643-3.094Zm37.569 33.715h-8.348c-.773 0-1.392-.635-1.392-1.428V21.893c0-.794.619-1.428 1.392-1.428h8.348c.773 0 1.392.634 1.392 1.428V61.08c.077.713-.619 1.507-1.392 1.507Zm30.534-8.488c1.624 0 3.556-.318 5.875-.952.619-.159 1.16.317 1.16.952v6.584a.978.978 0 0 1-.541.873c-2.628 1.11-5.952 1.665-9.663 1.665-4.483 0-7.73-1.11-9.74-3.49-2.01-2.3-3.092-5.79-3.092-10.392V29.111h-4.406c-.541 0-.928-.396-.928-.951v-3.73c0-.08.077-.159.077-.238l6.107-3.728 3.015-8.25c.155-.397.464-.635.85-.635h5.566c.541 0 .928.397.928.952v8.012h11.054c.232 0 .464.238.464.476v7.14c0 .555-.387.951-.928.951h-10.513v20.15c0 1.586.464 2.855 1.314 3.57.773.872 2.01 1.269 3.401 1.269Zm52.025 8.488c-1.083 0-1.933-.714-2.397-1.745l-8.194-25.623c-.541-1.825-1.237-4.601-2.164-8.171h-.232l-.773 2.856-1.623 5.394-8.426 25.623c-.31 1.031-1.237 1.666-2.319 1.666-1.083 0-2.01-.714-2.319-1.825l-10.282-36.887c-.309-1.11.541-2.3 1.778-2.3h.232c.773 0 1.469.555 1.701 1.348l6.029 22.45c1.469 5.87 2.474 10.154 2.938 13.01h.232c1.391-5.87 2.473-9.758 3.169-11.741l7.808-23.481c.309-.952 1.159-1.587 2.241-1.587 1.005 0 1.856.635 2.165 1.587l7.266 23.322c1.778 5.95 2.86 9.758 3.247 11.74h.232c.232-1.586 1.159-6.028 2.937-13.168l5.798-22.132c.232-.793.928-1.349 1.701-1.349 1.159 0 2.009 1.11 1.7 2.3l-9.74 36.888c-.309 1.11-1.237 1.825-2.396 1.825h-.309Zm45.917 0c-.696 0-1.314-.556-1.391-1.27l-.696-5.235h-.387c-2.009 2.618-4.019 4.522-6.184 5.632-2.087 1.11-4.638 1.587-7.498 1.587-3.942 0-6.957-1.032-9.122-3.094-1.932-1.825-3.015-4.284-3.169-7.377-.309-4.126 1.391-8.092 4.638-10.393 3.324-2.22 7.962-3.57 14.224-3.57l7.575-.237v-2.697c0-3.967-.773-6.823-2.396-8.806-1.624-1.983-4.02-2.935-7.421-2.935-3.247 0-6.494.793-9.895 2.46-.85.396-1.855 0-2.242-.873-.386-.873 0-1.904.851-2.222 3.865-1.586 7.653-2.459 11.518-2.459 4.406 0 7.653 1.19 9.894 3.57 2.165 2.3 3.247 6.029 3.247 10.868v25.782c-.077.475-.773 1.269-1.546 1.269Zm-16.001-2.697c4.328 0 7.652-1.27 10.049-3.729 2.473-2.459 3.71-6.029 3.71-10.392v-3.966l-6.957.317c-5.643.238-9.585 1.19-12.059 2.697-2.396 1.508-3.633 3.967-3.633 7.14 0 2.538.773 4.6 2.242 6.029 1.7 1.19 3.865 1.904 6.648 1.904Zm45.762-39.109c1.16 0 2.319.08 3.633.238 1.005.159 1.624 1.11 1.469 2.063-.154.951-1.082 1.507-2.01 1.348-1.159-.159-2.319-.317-3.478-.317-3.402 0-6.184 1.507-8.349 4.442-2.164 2.935-3.247 6.743-3.247 11.185v20.784c0 1.032-.773 1.825-1.777 1.825-1.005 0-1.778-.794-1.778-1.825V23.241c0-.872.695-1.586 1.546-1.586.85 0 1.546.634 1.546 1.507l.309 5.87h.232c1.623-3.014 3.401-5.156 5.256-6.346 1.778-1.27 4.02-1.904 6.648-1.904Zm27.211 0c2.86 0 5.411.555 7.498 1.587 2.164 1.03 4.02 2.935 5.643 5.553h.232a192.783 192.783 0 0 1-.232-9.282V5.71c0-1.032.773-1.825 1.778-1.825s1.778.793 1.778 1.825v55.45c0 .714-.541 1.27-1.237 1.27-.618 0-1.16-.477-1.237-1.19l-.773-5.157h-.309c-3.015 4.68-7.421 6.98-13.064 6.98-5.566 0-9.663-1.745-12.678-5.314-2.86-3.57-4.406-8.647-4.406-15.39 0-7.06 1.392-12.454 4.329-16.262 2.938-3.411 7.112-5.315 12.678-5.315Zm0 3.411c-4.407 0-7.653 1.587-9.895 4.76-2.165 3.094-3.247 7.615-3.247 13.644 0 11.582 4.406 17.373 13.219 17.373 4.561 0 7.807-1.349 9.895-4.046 2.164-2.697 3.169-7.14 3.169-13.327v-.635c0-6.346-1.005-10.867-3.169-13.565-2.01-2.855-5.334-4.204-9.972-4.204Zm46.303 39.109c-5.797 0-10.281-1.825-13.605-5.553-3.246-3.65-4.87-8.806-4.87-15.39 0-6.584 1.546-11.82 4.716-15.707 3.169-3.966 7.343-5.95 12.677-5.95 4.638 0 8.426 1.666 11.054 4.998 2.783 3.332 4.097 7.933 4.097 13.724v3.014h-28.756c.077 5.633 1.314 9.916 3.865 12.931 2.551 3.014 6.107 4.363 10.822 4.363 2.242 0 4.329-.159 6.03-.476 1.237-.238 2.706-.635 4.484-1.27 1.004-.396 2.087.397 2.087 1.508 0 .635-.387 1.27-1.005 1.507-1.856.794-3.633 1.27-5.257 1.587-1.932.555-4.019.714-6.339.714Zm-1.082-39.188c-3.865 0-6.957 1.269-9.276 3.887-2.319 2.538-3.633 6.346-4.097 11.185h24.737c0-4.68-1.005-8.488-3.015-11.106-2.01-2.618-4.793-3.966-8.349-3.966Zm55.967 38.474c-1.005 0-1.778-.794-1.778-1.825v-24.83c0-4.124-.85-7.139-2.474-8.963-1.778-1.825-4.329-2.856-7.885-2.856-4.792 0-8.271 1.19-10.435 3.728-2.165 2.46-3.402 6.505-3.402 11.979v20.784c0 1.03-.773 1.824-1.778 1.824-1.004 0-1.777-.793-1.777-1.824V23.24c0-.952.695-1.666 1.623-1.666.85 0 1.469.635 1.623 1.428l.464 4.125h.232c2.628-4.284 7.189-6.425 13.837-6.425 9.044 0 13.605 4.997 13.605 14.993v24.909c-.077 1.11-.928 1.983-1.855 1.983ZM156.206 3.25c-3.633 0-6.571 2.855-6.571 6.425v.635c0 3.49 3.015 6.425 6.571 6.425 3.556 0 6.571-2.935 6.571-6.425v-.556c0-3.649-3.015-6.504-6.571-6.504Z" clip-rule="evenodd"/><path class="tw-fill-text-alt2" d="M70.99 40.692V12.327H51.669V62.72c3.422-1.861 6.484-3.885 9.187-6.071C67.612 51.21 70.99 45.893 70.99 40.692Zm8.282-34.038v34.038c0 2.541-.482 5.06-1.445 7.557-.963 2.497-2.156 4.713-3.58 6.648-1.423 1.935-3.12 3.819-5.09 5.65-1.969 1.833-3.788 3.354-5.455 4.566a68.51 68.51 0 0 1-5.22 3.435c-1.81 1.078-3.098 1.81-3.86 2.193a48.29 48.29 0 0 1-1.833.887 2.418 2.418 0 0 1-1.121.266c-.403 0-.776-.089-1.121-.266a48.298 48.298 0 0 1-1.833-.887c-.762-.384-2.05-1.115-3.86-2.193a68.51 68.51 0 0 1-5.22-3.435c-1.667-1.212-3.486-2.733-5.456-4.565-1.97-1.832-3.666-3.716-5.09-5.651-1.423-1.935-2.616-4.151-3.58-6.648-.962-2.497-1.444-5.016-1.444-7.557V6.654c0-.768.273-1.433.82-1.994.546-.561 1.193-.842 1.94-.842h49.688c.747 0 1.394.28 1.94.842a2.76 2.76 0 0 1 .82 1.994ZM233.406 99.94V77.025h7.529c1.79 0 3.263.295 4.419.884 1.157.59 2.008 1.386 2.554 2.39.567 1.004.851 2.138.851 3.404 0 1.244-.273 2.368-.818 3.372-.546 1.004-1.397 1.811-2.554 2.423-1.156.589-2.641.883-4.452.883h-4.779v9.56h-2.75Zm2.75-11.883h4.714c1.833 0 3.131-.382 3.895-1.145.786-.786 1.179-1.856 1.179-3.209 0-1.375-.393-2.444-1.179-3.208-.764-.785-2.062-1.178-3.895-1.178h-4.714v8.74ZM252.2 99.94V83.703h2.488l.229 3.11a5.89 5.89 0 0 1 2.291-2.553c1.026-.633 2.292-.95 3.798-.95v2.881h-.753c-.961 0-1.844.175-2.652.524-.807.327-1.451.895-1.931 1.702-.48.808-.721 1.92-.721 3.34v8.183H252.2Zm18.683.393c-1.528 0-2.903-.349-4.125-1.047-1.222-.699-2.193-1.68-2.913-2.947-.699-1.287-1.048-2.793-1.048-4.517 0-1.724.36-3.22 1.08-4.485.721-1.288 1.692-2.28 2.914-2.979 1.244-.698 2.63-1.047 4.157-1.047 1.528 0 2.903.349 4.125 1.047s2.183 1.691 2.881 2.979c.72 1.266 1.08 2.76 1.08 4.485 0 1.724-.36 3.23-1.08 4.517a7.643 7.643 0 0 1-2.946 2.947c-1.222.698-2.597 1.047-4.125 1.047Zm0-2.357a5.22 5.22 0 0 0 2.619-.687c.807-.459 1.462-1.146 1.964-2.063.502-.916.753-2.051.753-3.404 0-1.353-.251-2.488-.753-3.405-.48-.916-1.124-1.604-1.931-2.062a5.16 5.16 0 0 0-2.587-.688c-.938 0-1.811.23-2.618.688-.808.458-1.463 1.146-1.965 2.062-.502.917-.753 2.052-.753 3.405 0 1.353.251 2.488.753 3.404.502.917 1.146 1.605 1.932 2.063a5.154 5.154 0 0 0 2.586.687Zm15.825 1.964-6.155-16.237h2.881l4.878 13.586 4.91-13.586h2.816l-6.155 16.237h-3.175Zm14.059-19.838c-.545 0-1.003-.174-1.374-.523-.35-.371-.524-.83-.524-1.375 0-.524.174-.96.524-1.31.371-.349.829-.524 1.374-.524.524 0 .972.175 1.343.524.371.35.556.786.556 1.31 0 .545-.185 1.004-.556 1.375a1.89 1.89 0 0 1-1.343.523Zm-1.374 19.838V83.703h2.749V99.94h-2.749Zm14.903.393c-1.615 0-3.034-.37-4.256-1.113-1.2-.742-2.139-1.757-2.815-3.044-.655-1.288-.982-2.75-.982-4.387 0-1.637.338-3.088 1.015-4.354.676-1.287 1.615-2.291 2.815-3.011 1.2-.743 2.619-1.114 4.256-1.114 1.331 0 2.509.273 3.535.819a5.9 5.9 0 0 1 2.39 2.291V76.37h2.75v23.57h-2.488l-.262-2.684c-.524.786-1.277 1.495-2.259 2.128s-2.215.949-3.699.949Zm.295-2.39c1.091 0 2.051-.25 2.88-.752a5.233 5.233 0 0 0 1.965-2.161c.48-.917.72-1.986.72-3.208 0-1.222-.24-2.292-.72-3.208a5.018 5.018 0 0 0-1.965-2.128c-.829-.524-1.789-.786-2.88-.786-1.07 0-2.03.262-2.881.786-.83.502-1.484 1.211-1.964 2.128-.459.916-.688 1.986-.688 3.208 0 1.222.229 2.291.688 3.208.48.917 1.134 1.637 1.964 2.16.851.502 1.811.754 2.881.754Zm20.195 2.39c-1.549 0-2.924-.349-4.124-1.047-1.201-.72-2.15-1.713-2.848-2.98-.677-1.265-1.015-2.76-1.015-4.484 0-1.702.338-3.186 1.015-4.452.676-1.288 1.615-2.28 2.815-2.98 1.222-.72 2.63-1.08 4.223-1.08 1.571 0 2.924.36 4.059 1.08 1.157.7 2.041 1.627 2.652 2.783a7.87 7.87 0 0 1 .916 3.732c0 .24-.01.48-.032.72v.819h-12.931c.065 1.244.349 2.28.851 3.11.524.807 1.168 1.418 1.932 1.833a5.25 5.25 0 0 0 2.487.622c1.135 0 2.085-.262 2.848-.786a4.493 4.493 0 0 0 1.67-2.127h2.717c-.436 1.505-1.277 2.76-2.521 3.764-1.222.982-2.793 1.473-4.714 1.473Zm0-14.698a5.508 5.508 0 0 0-3.502 1.211c-1.004.786-1.583 1.942-1.735 3.47h10.213c-.065-1.462-.567-2.608-1.506-3.437-.938-.83-2.095-1.244-3.47-1.244Zm11.338 14.305V83.703h2.488l.229 3.11a5.886 5.886 0 0 1 2.292-2.553c1.025-.633 2.291-.95 3.797-.95v2.881h-.753c-.96 0-1.844.175-2.651.524-.808.327-1.452.895-1.932 1.702-.48.808-.72 1.92-.72 3.34v8.183h-2.75Zm20.72 0V77.025h7.529c1.79 0 3.263.295 4.419.884 1.157.59 2.008 1.386 2.554 2.39.567 1.004.851 2.138.851 3.404 0 1.244-.273 2.368-.818 3.372-.546 1.004-1.397 1.811-2.554 2.423-1.156.589-2.64.883-4.452.883h-4.779v9.56h-2.75Zm2.75-11.883h4.714c1.833 0 3.131-.382 3.895-1.145.786-.786 1.179-1.856 1.179-3.209 0-1.375-.393-2.444-1.179-3.208-.764-.785-2.062-1.178-3.895-1.178h-4.714v8.74Zm22.483 12.276c-1.528 0-2.903-.349-4.125-1.047-1.222-.699-2.193-1.68-2.913-2.947-.699-1.287-1.048-2.793-1.048-4.517 0-1.724.36-3.22 1.08-4.485.721-1.288 1.692-2.28 2.914-2.979 1.244-.698 2.63-1.047 4.157-1.047 1.528 0 2.903.349 4.125 1.047s2.183 1.691 2.881 2.979c.72 1.266 1.08 2.76 1.08 4.485 0 1.724-.36 3.23-1.08 4.517a7.643 7.643 0 0 1-2.946 2.947c-1.222.698-2.597 1.047-4.125 1.047Zm0-2.357a5.22 5.22 0 0 0 2.619-.687c.807-.459 1.462-1.146 1.964-2.063.502-.916.753-2.051.753-3.404 0-1.353-.251-2.488-.753-3.405-.48-.916-1.124-1.604-1.931-2.062a5.16 5.16 0 0 0-2.587-.688c-.938 0-1.811.23-2.618.688-.808.458-1.463 1.146-1.965 2.062-.502.917-.753 2.052-.753 3.405 0 1.353.251 2.488.753 3.404.502.917 1.146 1.605 1.932 2.063a5.154 5.154 0 0 0 2.586.687Zm11.975 1.964V83.703h2.488l.229 3.11a5.89 5.89 0 0 1 2.291-2.553c1.026-.633 2.292-.95 3.798-.95v2.881h-.753c-.96 0-1.844.175-2.652.524-.807.327-1.451.895-1.931 1.702-.48.808-.72 1.92-.72 3.34v8.183h-2.75Zm18.308 0c-1.484 0-2.651-.36-3.502-1.08-.851-.72-1.277-2.019-1.277-3.895v-8.937h-2.815v-2.325h2.815l.36-3.895h2.39v3.895h4.779v2.325h-4.779v8.936c0 1.026.207 1.725.622 2.096.414.349 1.146.523 2.193.523h1.702v2.357h-2.488Zm11.645.393c-1.353 0-2.477-.229-3.372-.687-.894-.459-1.56-1.07-1.996-1.833a4.925 4.925 0 0 1-.655-2.488c0-1.659.633-2.936 1.899-3.83 1.265-.895 2.989-1.343 5.172-1.343h4.386v-.196c0-1.419-.371-2.488-1.113-3.208-.742-.742-1.735-1.113-2.979-1.113-1.069 0-1.996.272-2.782.818-.764.524-1.244 1.299-1.441 2.324h-2.815c.109-1.178.502-2.171 1.179-2.979a6.66 6.66 0 0 1 2.586-1.833 8.273 8.273 0 0 1 3.273-.654c2.27 0 3.972.61 5.107 1.833 1.157 1.2 1.735 2.804 1.735 4.812v9.984h-2.455l-.164-2.913c-.458.916-1.134 1.702-2.029 2.357-.873.633-2.052.949-3.536.949Zm.426-2.324c1.047 0 1.942-.273 2.684-.818a5.175 5.175 0 0 0 1.735-2.128c.393-.873.589-1.79.589-2.75v-.033h-4.157c-1.615 0-2.761.284-3.437.851-.655.546-.982 1.233-.982 2.063 0 .85.305 1.538.916 2.062.633.502 1.517.753 2.652.753Zm11.884 1.931V76.37h2.749v23.57h-2.749Z"/></svg>
`;