peridot/common/ui/RESFLogo.tsx

77 lines
28 KiB
TypeScript
Raw Permalink Normal View History

2022-10-30 01:59:25 +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';
import classnames from 'classnames';
export interface RESFLogoProps {
className?: string;
}
export const RESFLogo = (props: RESFLogoProps) => {
return (
<svg
width="1224"
height="256"
viewBox="0 0 1224 256"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={classnames('h-8 w-auto sm:h-10', props.className)}
>
<path
d="M275.048 110V42.8H307.88C311.272 42.8 314.376 43.312 317.192 44.336C320.072 45.36 322.536 46.8 324.584 48.656C326.632 50.448 328.232 52.624 329.384 55.184C330.536 57.744 331.112 60.56 331.112 63.632C331.112 67.856 329.896 71.632 327.464 74.96C325.096 78.288 321.928 80.752 317.96 82.352L332.84 110H317.288L304.136 84.272H288.968V110H275.048ZM306.632 54.8H288.968V72.848H306.632C309.768 72.848 312.264 72.016 314.12 70.352C316.04 68.688 317 66.512 317 63.824C317 61.136 316.04 58.96 314.12 57.296C312.264 55.632 309.768 54.8 306.632 54.8ZM334.13 85.04C334.13 81.392 334.802 78 336.146 74.864C337.554 71.664 339.442 68.912 341.81 66.608C344.242 64.24 347.09 62.384 350.354 61.04C353.618 59.696 357.106 59.024 360.818 59.024C364.53 59.024 368.018 59.696 371.282 61.04C374.546 62.384 377.362 64.24 379.73 66.608C382.162 68.912 384.05 71.664 385.394 74.864C386.802 78 387.506 81.392 387.506 85.04C387.506 88.688 386.802 92.112 385.394 95.312C384.05 98.448 382.162 101.168 379.73 103.472C377.362 105.776 374.546 107.6 371.282 108.944C368.018 110.288 364.53 110.96 360.818 110.96C357.106 110.96 353.618 110.288 350.354 108.944C347.09 107.6 344.242 105.776 341.81 103.472C339.442 101.168 337.554 98.448 336.146 95.312C334.802 92.112 334.13 88.688 334.13 85.04ZM360.818 99.536C364.658 99.536 367.922 98.128 370.61 95.312C373.298 92.496 374.642 89.072 374.642 85.04C374.642 80.944 373.298 77.488 370.61 74.672C367.922 71.856 364.658 70.448 360.818 70.448C356.978 70.448 353.714 71.856 351.026 74.672C348.338 77.488 346.994 80.944 346.994 85.04C346.994 89.072 348.338 92.496 351.026 95.312C353.714 98.128 356.978 99.536 360.818 99.536ZM420.445 99.44C422.685 99.44 424.765 98.992 426.685 98.096C428.669 97.2 430.557 95.792 432.349 93.872L440.221 102.032C437.661 104.848 434.589 107.056 431.005 108.656C427.421 110.192 423.709 110.96 419.869 110.96C416.221 110.96 412.765 110.288 409.501 108.944C406.301 107.6 403.517 105.776 401.149 103.472C398.845 101.168 397.021 98.448 395.677 95.312C394.333 92.112 393.661 88.688 393.661 85.04C393.661 81.392 394.333 78 395.677 74.864C397.021 71.664 398.845 68.912 401.149 66.608C403.517 64.24 406.301 62.384 409.501 61.04C412.765 59.696 416.221 59.024 419.869 59.024C423.837 59.024 427.645 59.824 431.293 61.424C434.941 62.96 438.045 65.136 440.605 67.952L432.541 76.496C430.749 74.512 428.829 73.008 426.781 71.984C424.733 70.96 422.525 70.448 420.157 70.448C416.381 70.448 413.181 71.856 410.557 74.672C407.997 77.488 406.717 80.944 406.717 85.04C406.717 89.136 408.029 92.56 410.653 95.312C413.341 98.064 416.605 99.44 420.445 99.44ZM447.059 110V42.8L460.211 39.92V81.104L481.811 59.984H496.691L473.267 82.928L498.131 110H481.331L460.211 87.152V110H447.059ZM516.095 112.304L516.863 110.48L497.375 59.984H511.871L524.255 94.064L538.463 59.984H552.671L529.631 113.936C527.071 119.952 524.095 124.24 520.703 126.8C517.311 129.36 512.895 130.64 507.455 130.64C506.303 130.64 505.183 130.576 504.095 130.448C503.071 130.384 502.239 130.256 501.599 130.064V118.736C502.239 118.864 502.911 118.96 503.615 119.024C504.319 119.088 505.183 119.12 506.207 119.12C508.575 119.12 510.559 118.544 512.159 117.392C513.823 116.24 515.135 114.544 516.095 112.304ZM577.486 110V42.8H629.134V54.896H591.406V70.256H616.27V81.968H591.406V97.904H629.518V110H577.486ZM638.497 110V59.984H651.649V63.92C653.569 62.32 655.681 61.104 657.984 60.272C660.352 59.44 662.913 59.024 665.665 59.024C671.425 59.024 676.161 60.88 679.873 64.592C683.585 68.304 685.441 73.072 685.441 78.896V110H672.289V80.816C672.289 77.68 671.329 75.152 669.409 73.232C667.553 71.312 665.057 70.352 661.921 70.352C659.745 70.352 657.761 70.8 655.969 71.696C654.241 72.528 652.801 73.744 651.649 75.344V110H638.497ZM700.344 95.888V71.024H690.072V59.984H700.344V47.216L713.496 44.24V59.984H727.704V71.024H713.496V93.2C713.496 95.568 714.008 97.232 715.032 98.192C716.056 99.152 717.848 99.632 720.408 99.632C721.624 99.632 722.776 99.568 723.864 99.44C724.952 99.248 726.136 98.928 727.416 98.48V109.232C726.008 109.68 724.312 110.032 722.328 110.288C720.344 110.608 718.648 110.768 717.24 110.768C711.672 110
fill="white"
/>
<path
d="M1159.5 158.968V147.232H1155.61V144.964H1159.5V140.392L1162.13 139.708V144.964H1167.56V147.232H1162.13V158.284C1162.13 159.244 1162.34 159.94 1162.78 160.372C1163.21 160.78 1163.92 160.984 1164.9 160.984C1165.4 160.984 1165.85 160.948 1166.23 160.876C1166.64 160.804 1167.07 160.684 1167.53 160.516V162.856C1167.07 163.024 1166.56 163.144 1165.98 163.216C1165.43 163.288 1164.89 163.324 1164.36 163.324C1162.8 163.324 1161.6 162.952 1160.76 162.208C1159.92 161.464 1159.5 160.384 1159.5 158.968ZM1170.42 163V144.964H1173.08V146.944C1173.75 146.176 1174.53 145.6 1175.42 145.216C1176.31 144.808 1177.29 144.604 1178.37 144.604C1179.62 144.604 1180.74 144.904 1181.72 145.504C1182.73 146.08 1183.51 146.872 1184.06 147.88C1184.8 146.776 1185.69 145.96 1186.72 145.432C1187.78 144.88 1188.96 144.604 1190.25 144.604C1192.2 144.604 1193.78 145.252 1195 146.548C1196.25 147.844 1196.88 149.524 1196.88 151.588V163H1194.25V152.128C1194.25 150.544 1193.83 149.284 1192.99 148.348C1192.15 147.412 1191.01 146.944 1189.57 146.944C1188.58 146.944 1187.68 147.196 1186.87 147.7C1186.05 148.204 1185.36 148.936 1184.78 149.896C1184.83 150.16 1184.86 150.436 1184.89 150.724C1184.94 150.988 1184.96 151.276 1184.96 151.588V163H1182.33V152.128C1182.33 150.544 1181.91 149.284 1181.07 148.348C1180.23 147.412 1179.1 146.944 1177.69 146.944C1176.73 146.944 1175.85 147.172 1175.06 147.628C1174.29 148.06 1173.63 148.708 1173.08 149.572V163H1170.42Z"
fill="white"
/>
<path
d="M46 43H214V147.009L188.011 121.02L168.601 140.43L129.781 101.61L110.371 121.019L71.5511 82.1993L46 107.75V43Z"
fill="white"
/>
<path
d="M188.011 150.135L127.146 211H214V176.124L188.011 150.135Z"
fill="white"
/>
<path
d="M129.781 130.725L154.043 154.988L98.0312 211H49.5058L129.781 130.725Z"
fill="white"
/>
<path
d="M71.5511 111.314L46 136.866V185.391L95.8137 135.577L71.5511 111.314Z"
fill="white"
/>
</svg>
);
};