peridot/common/ui/PeridotLogo.tsx

55 lines
11 KiB
TypeScript
Raw Normal View History

2022-07-07 20:11:50 +00:00
/*
* Copyright (c) All respective contributors to the Peridot Project. All rights reserved.
* Copyright (c) 2021-2022 Rocky Enterprise Software Foundation, Inc. All rights reserved.
* Copyright (c) 2021-2022 Ctrl IQ, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its contributors
* may be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
import React from 'react';
export interface PeridotLogoProps {
className?: string;
}
export const PeridotLogo = (props: PeridotLogoProps) => {
return (
<svg
height="87"
viewBox="0 0 551 87"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={props.className}
>
<path
d="M15.4375 42.5938H18.5625C21.625 42.5938 23.8854 42.0833 25.3438 41.0625C26.8021 40.0417 27.5312 38.4375 27.5312 36.25C27.5312 34.0833 26.7812 32.5417 25.2812 31.625C23.8021 30.7083 21.5 30.25 18.375 30.25H15.4375V42.5938ZM15.4375 50.4688V68H5.75V22.3125H19.0625C25.2708 22.3125 29.8646 23.4479 32.8438 25.7188C35.8229 27.9688 37.3125 31.3958 37.3125 36C37.3125 38.6875 36.5729 41.0833 35.0938 43.1875C33.6146 45.2708 31.5208 46.9062 28.8125 48.0938C35.6875 58.3646 40.1667 65 42.25 68H31.5L20.5938 50.4688H15.4375ZM74.3125 68H48V22.3125H74.3125V30.25H57.6875V40.2812H73.1562V48.2188H57.6875V60H74.3125V68ZM110.844 55.3125C110.844 59.4375 109.354 62.6875 106.375 65.0625C103.417 67.4375 99.2917 68.625 94 68.625C89.125 68.625 84.8125 67.7083 81.0625 65.875V56.875C84.1458 58.25 86.75 59.2188 88.875 59.7812C91.0208 60.3438 92.9792 60.625 94.75 60.625C96.875 60.625 98.5 60.2188 99.625 59.4062C100.771 58.5938 101.344 57.3854 101.344 55.7812C101.344 54.8854 101.094 54.0938 100.594 53.4062C100.094 52.6979 99.3542 52.0208 98.375 51.375C97.4167 50.7292 95.4479 49.6979 92.4688 48.2812C89.6771 46.9688 87.5833 45.7083 86.1875 44.5C84.7917 43.2917 83.6771 41.8854 82.8438 40.2812C82.0104 38.6771 81.5938 36.8021 81.5938 34.6562C81.5938 30.6146 82.9583 27.4375 85.6875 25.125C88.4375 22.8125 92.2292 21.6562 97.0625 21.6562C99.4375 21.6562 101.698 21.9375 103.844 22.5C106.01 23.0625 108.271 23.8542 110.625 24.875L107.5 32.4062C105.062 31.4062 103.042 30.7083 101.438 30.3125C99.8542 29.9167 98.2917 29.7188 96.75 29.7188C94.9167 29.7188 93.5104 30.1458 92.5312 31C91.5521 31.8542 91.0625 32.9688 91.0625 34.3438C91.0625 35.1979 91.2604 35.9479 91.6562 36.5938C92.0521 37.2188 92.6771 37.8333 93.5312 38.4375C94.4062 39.0208 96.4583 40.0833 99.6875 41.625C103.958 43.6667 106.885 45.7188 108.469 47.7812C110.052 49.8229 110.844 52.3333 110.844 55.3125ZM128.656 68H119.125V22.3125H145.312V30.25H128.656V42.0312H144.156V49.9375H128.656V68ZM171.406 22.3125H184.312C190.375 22.3125 194.76 23.2188 197.469 25.0312C200.177 26.8438 201.531 29.7083 201.531 33.625C201.531 36.3333 200.771 38.5729 199.25 40.3438C197.75 42.0938 195.552 43.2292 192.656 43.75V44.0625C199.594 45.25 203.062 48.8958 203.062 55C203.062 59.0833 201.677 62.2708 198.906 64.5625C196.156 66.8542 192.302 68 187.344 68H171.406V22.3125ZM176.719 41.875H185.469C189.219 41.875 191.917 41.2917 193.562 40.125C195.208 38.9375 196.031 36.9479 196.031 34.1562C196.031 31.5938 195.115 29.75 193.281 28.625C191.448 27.4792 188.531 26.9062 184.531 26.9062H176.719V41.875ZM176.719 46.375V63.4688H186.25C189.938 63.4688 192.708 62.7604 194.562 61.3438C196.438 59.9062 197.375 57.6667 197.375 54.625C197.375 51.7917 196.417 49.7083 194.5 48.375C192.604 47.0417 189.708 46.375 185.812 46.375H176.719ZM217 33.75V55.9688C217 58.7604 217.635 60.8438 218.906 62.2188C220.177 63.5938 222.167 64.2812 224.875 64.2812C228.458 64.2812 231.073 63.3021 232.719 61.3438C234.385 59.3854 235.219 56.1875 235.219 51.75V33.75H240.406V68H236.125L235.375 63.4062H235.094C234.031 65.0938 232.552 66.3854 230.656 67.2812C228.781 68.1771 226.635 68.625 224.219 68.625C220.052 68.625 216.927 67.6354 214.844 65.6562C212.781 63.6771 211.75 60.5104 211.75 56.1562V33.75H217ZM256.625 68H251.438V33.75H256.625V68ZM251 24.4688C251 23.2812 251.292 22.4167 251.875 21.875C252.458 21.3125 253.188 21.0312 254.062 21.0312C254.896 21.0312 255.615 21.3125 256.219 21.875C256.823 22.4375 257.125 23.3021 257.125 24.4688C257.125 25.6354 256.823 26.5104 256.219 27.0938C255.615 27.6562 254.896 27.9375 254.062 27.9375C253.188 27.9375 252.458 27.6562 251.875 27.0938C251.292 26.5104 251 25.6354 251 24.4688ZM272.812 68H267.625V19.375H272.812V68ZM307.125 63.4062H306.844C304.448 66.8854 300.865 68.625 296.094 68.625C291.615 68.625 288.125 67.0938 285.625 64.0312C283.146 60.9688 281.906 56.6146 281.906 50.9688C281.906 45.3229 283.156 40.9375 285.656 37.8125C288.156 34.6875 291.635 33.125 296.094 33.125C300.74 33.125 304.302 34.8125 306.781 38.1875H307.188L306.969 35.7188L306.844 33.3125V19.375H312.031V68H307.812L307.125 63.4062ZM296.75 64.2812C300.292 64.2812 302.854 63
fill="white"
/>
</svg>
);
};