[web] sponsors: hardcode Kombai logo for banner ad
This commit is contained in:
parent
f7c8f5c452
commit
5ccd8acfd9
|
|
@ -17,6 +17,7 @@ import useUserProfileWithProjectsProfile from '~/components/projects/common/useU
|
|||
import SponsorsAdFormatGlobalBanner from '~/components/sponsors/ads/SponsorsAdFormatGlobalBanner';
|
||||
import Text from '~/components/ui/Text';
|
||||
|
||||
import KombaiLogo from '../logos/KombaiLogo';
|
||||
import SwagOverflowLogo from '../logos/SwagOverflowLogo';
|
||||
import { useUserPreferences } from '../UserPreferencesProvider';
|
||||
import GlobalBannerShell from './GlobalBannerShell';
|
||||
|
|
@ -135,11 +136,26 @@ function MarketingMessageImpl({
|
|||
<SponsorsAdFormatGlobalBanner
|
||||
adId={data.adId}
|
||||
isLoading={isLoading}
|
||||
text={data.text}
|
||||
url={data.url}
|
||||
onHide={hideBanner}
|
||||
/>
|
||||
variant="neutral"
|
||||
onHide={hideBanner}>
|
||||
<KombaiLogo
|
||||
className="-mt-0.5 mr-2 hidden sm:inline"
|
||||
height={16}
|
||||
width={59}
|
||||
/>
|
||||
{data.text}
|
||||
</SponsorsAdFormatGlobalBanner>
|
||||
);
|
||||
// Return (
|
||||
// <SponsorsAdFormatGlobalBanner
|
||||
// adId={data.adId}
|
||||
// isLoading={isLoading}
|
||||
// text={data.text}
|
||||
// url={data.url}
|
||||
// onHide={hideBanner}
|
||||
// />
|
||||
// );
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,47 @@
|
|||
type Props = Readonly<{
|
||||
className?: string;
|
||||
height?: number;
|
||||
width?: number;
|
||||
}>;
|
||||
|
||||
export default function KombaiLogo({
|
||||
className,
|
||||
height = 550,
|
||||
width = 2013,
|
||||
}: Props) {
|
||||
return (
|
||||
<svg
|
||||
className={className}
|
||||
fill="none"
|
||||
height={height}
|
||||
viewBox="0 0 2013 550"
|
||||
width={width}
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<path
|
||||
d="M275 15c143.599 0 260 116.365 260 259.896 0 143.532-116.401 259.898-260 259.898S15 418.428 15 274.896C15 131.365 131.401 15 275 15Z"
|
||||
stroke="currentColor"
|
||||
strokeWidth="30"
|
||||
/>
|
||||
<path
|
||||
d="M394.767 457.437c25.305-.195 47.373.514 63.965 1.783-41.664 41.151-124.243 91.124-231.24 71.273-27.916-5.73-75.681-18.324-122.996-59.629a562 562 0 0 0 26.185 1.908c35.542 1.784 80.258.963 126.809-5.726 44.612-6.41 94.621-9.281 137.277-9.609Z"
|
||||
fill="currentColor"
|
||||
stroke="currentColor"
|
||||
strokeWidth="30"
|
||||
/>
|
||||
<path
|
||||
d="M125.934 235.109c4.579-11.916 18.238-12.325 30.528-9.553 6.584 1.485 11.227-3.894 5.472-7.421-15.369-9.418-41.119-9.276-51.001 9.476-12.302 23.343-1.48 39.99 6.751 51.301l29.055 32.488 1.768 8.98 21.182-20.288-32.984-28.703c-6.595-6.718-17.757-18.095-10.771-36.28"
|
||||
fill="currentColor"
|
||||
/>
|
||||
<path
|
||||
clipRule="evenodd"
|
||||
d="m314.986 183.938.772.541q.87.612 1.745 1.232h.001c3.859 2.728 7.803 5.518 11.758 7.633 2.4 1.285 5.218 2.617 8.513 3.97 7.665 3.149 13.009 3.556 16.633 2.287 3.779-1.322 5.322-4.327 5.55-6.879.069-.767-.124-1.453-.365-1.982-6.356-13.936-11.16-27.485-13.698-42.697-2.888 15.005 4.144 30.783 10.286 44.251a.5.5 0 0 1 .04.113c-.123 1.315-.88 2.896-3.052 3.656-2.338.818-6.624.802-13.97-2.216-3.191-1.311-5.892-2.589-8.169-3.808-3.732-1.996-7.464-4.634-11.344-7.376q-.88-.624-1.772-1.25c-4.46-3.136-9.119-6.285-13.936-8.343l-.708-.303q.02-.195.075-.39c7.87-27.473 44.908-55.777 75.159-47.732 1.902.505 3.673 1.498 6.606 3.142l5.599 3.136 8.316-2.312c4.573-1.27 11.091-3.283 14.482-4.47 5.477-1.918 9.641-2.17 10.425-.706 2.347 2.084 4.96 7.568 6.439 11.222q.07.164.146.364.196.496.361.931a.3.3 0 0 0-.058-.037c.301.96.662 2.291 1.137 4.063 4.116 15.362-.322 23.42-20.16 36.608-9.743 6.477-18.697 16.868-22.609 26.24-6.142 14.718-6.208 15.865-3.259 56.974-.013 3.609.035 7.149.082 10.628v.001c.275 20.292.523 38.53-11.659 56.541l1.902 13.895c.33 2.162.769 5.369 1.264 9.226l1.913 13.975-.163.437c3.973 33.487 7.808 60.72 8.85 62.718.542 1.039 3.069 2.167 5.833 2.604 5.989.949 10.008 4.682 12.916 11.996 1.18 2.964 2.179 5.785 2.222 6.272.043.485-7.869 1.585-17.583 2.445l-17.661 1.564-4.849-4.188c-2.668-2.303-5.738-5.617-6.823-7.364-1.123-1.808-2.826-8.025-4.802-17.256l-.073.198-20.944-61.919-1.872-13.559c-.389-1.661-.894-4.438-1.344-7.48-.696-4.719-1.679-8.545-2.183-8.5-1.477.131-3.454 5.901-4.235 12.368-1.018 8.41 4.256 80.103 6.259 85.103 1.309 3.265 2.466 4.124 8.135 6.039 5.611 1.893 7.011 2.919 9.26 6.786 1.457 2.504 3.074 6.104 3.593 8.001l.945 3.448-35.646 3.156-4.161-3.464c-8.323-6.928-9.644-10.654-16.059-45.27-1.743-9.407-4.102-23.989-5.241-32.404l-2.071-15.3-8.233.721c-12.01 1.051-21.284.099-32.079-3.294a1230 1230 0 0 0-3.451-1.08c-.328 2.854-.87 5.6-1.525 8.15-.521 4.179-4.643 14.051-8.076 19.002-1.668 2.406-6.612 7.618-10.986 11.583-13.827 12.532-15.933 18.386-10.212 28.382 4.102 7.169 11.934 14.32 18.621 17 6.3 2.526 10.774 6.395 13.544 11.705 1.153 2.212 2.113 4.205 2.133 4.429.019.224-7.918 1.112-17.638 1.972l-17.674 1.565-3.681-3.205c-8.234-7.169-17.781-23.703-24.144-41.815l-.912-2.591-.018-.051c-3.32-9.411-4.543-12.878-3.729-15.777.475-1.691 1.642-3.188 3.491-5.559l.005-.006.004-.004q.417-.535.881-1.134c2.989-3.871 6.462-9.584 7.716-12.698l.049-.122.062-.15-.031-.002c3.51-9.361 8.871-20.22 14.432-27.635-11.219 1.048-15.106 3.741-20.61 13.62-12.505 22.44-25.407 34.569-49.183 46.235-19.754 9.693-23.401 17.311-17.486 36.525 1.607 5.222 2.491 6.392 6.72 8.899 5.454 3.231 9.875 9.39 10.317 14.37l.293 3.307-30.948 2.137-2.886-4.69c-5.084-8.264-7.406-17.894-10.253-42.529l-2.677-23.155 3.476-3.623c1.911-1.993 7.125-6.311 11.587-9.599 4.461-3.286 9.808-7.874 11.881-10.195 6.78-7.588 10.153-20.594 12.358-47.651 1.25-15.333 7.473-33.589 7.473-33.589s6.016-16.253 40.976-27.085c4.766-1.477 11.222-3.477 20.558-5.509 12.252-2.667 22.906-4.792 32.332-6.672 30.847-6.151 48.529-9.677 65.917-20.999.951-.62 1.885-1.206 2.794-1.777l.001-.001c9.853-6.187 16.961-10.65 14.285-36.962-.05-.988-.312-2.479-.642-4.357v-.001h-.001c-.572-3.254-1.348-7.669-1.579-12.644m113.506-48.78-1.577 2.438-5.017-1.93c-2.758-1.061-5.608-2.732-6.332-3.715-2.033-2.756.054-5.651 4.651-6.453a16 16 0 0 0 1.725-.399c1.543 2.613 4.724 7.78 6.55 10.059m-52.161 4.915c-2.931-.177-3.977-.801-4.406-2.627-1.193-5.093-4.613-.527-4.084 5.451.206 2.316.814 3.259 2.035 3.151 1.109-.098 1.461-.726.969-1.729-.601-1.223-.186-1.482 1.863-1.159 1.451.228 3.724-.321 5.053-1.22 2.391-1.619 2.378-1.637-1.43-1.867m53.135 11.626c2.066-.283 2.435-2.062 1.026-4.951-1.868-3.835-3.037-3.228-4.648 2.41-3.548 12.422-10.197 18.393-23.012 20.668-10.873 1.93-11.825 2.357-11.198 5.028.681 2.901 4.686 3.347 7.859.875 1.233-.96 4.846-2.86 8.03-4.223 8.128-3.48 12.875-7.362 17.052-13.948 1.983-3.126 4.184-5.763 4.891-5.859"
|
||||
fill="currentColor"
|
||||
fillRule="evenodd"
|
||||
/>
|
||||
<path
|
||||
d="m760.845 287.8-39.6 44V425h-33.6V145.8h33.6v148.4h1.2l40-48.4 84.4-100h41.2l-104 119.6 111.2 159.6h-41.6zm244.955 142q-20.794 0-37.995-7.6t-29.6-21.6q-12-14.4-18.8-34-6.8-20-6.8-44.8 0-24.4 6.8-44.4t18.8-34q12.4-14.4 29.6-22t37.995-7.6c13.87 0 26.4 2.533 37.6 7.6 11.47 5.067 21.34 12.4 29.6 22q12.405 14 19.2 34c4.54 13.333 6.8 28.133 6.8 44.4 0 16.533-2.26 31.467-6.8 44.8q-6.795 19.6-19.2 34c-8.26 9.333-18.13 16.533-29.6 21.6-11.2 5.067-23.73 7.6-37.6 7.6m0-28.4c17.34 0 31.47-5.333 42.4-16 10.94-10.667 16.4-26.933 16.4-48.8V307c0-21.867-5.46-38.133-16.4-48.8-10.93-10.667-25.06-16-42.4-16q-25.994 0-42.395 16-16.4 16-16.4 48.8v29.6q0 32.8 16.4 48.8t42.395 16m145.83 23.6V218.6h32v33.6h1.6c2.4-5.333 5.07-10.267 8-14.8 3.2-4.8 6.94-8.933 11.2-12.4q6.81-5.2 15.6-8c5.87-2.133 12.8-3.2 20.8-3.2 13.6 0 26.14 3.333 37.6 10 11.47 6.4 20 17.067 25.6 32h.8c3.74-11.2 10.67-20.933 20.8-29.2q15.6-12.8 42-12.8 31.605 0 49.2 20.8 18 20.4 18 58V425h-32V298.2q0-27.6-10.8-41.6c-7.2-9.333-18.66-14-34.4-14-6.4 0-12.53.8-18.4 2.4-5.6 1.6-10.66 4-15.2 7.2q-6.795 4.8-10.8 12.4c-2.66 4.8-4 10.533-4 17.2V425h-32V298.2q0-27.6-10.8-41.6t-33.6-14c-6.4 0-12.53.8-18.4 2.4q-8.79 2.4-15.6 7.2c-4.53 3.2-8.26 7.333-11.2 12.4-2.66 4.8-4 10.533-4 17.2V425zm349.22-296h32v123.2h1.6c5.33-13.067 13.07-22.667 23.2-28.8q15.6-9.6 37.2-9.6 19.2 0 34.8 7.6t26.4 21.6q11.205 14 16.8 34 6 20 6 44.8t-6 44.8q-5.595 20-16.8 34-10.8 14-26.4 21.6t-34.8 7.6c-28 0-48.13-12.8-60.4-38.4h-1.6V425h-32zm85.2 272c18.13 0 32.4-5.6 42.8-16.8q15.6-17.2 15.6-44.8v-35.2q0-27.6-15.6-44.4c-10.4-11.467-24.67-17.2-42.8-17.2-7.2 0-14.13 1.067-20.8 3.2q-9.6 2.8-16.8 8c-4.8 3.467-8.67 7.733-11.6 12.8-2.67 4.8-4 10-4 15.6V359c0 6.667 1.33 12.667 4 18 2.93 5.067 6.8 9.467 11.6 13.2q7.2 5.2 16.8 8c6.67 1.867 13.6 2.8 20.8 2.8m296.83 24c-12 0-20.66-3.2-26-9.6q-7.59-9.6-9.6-24h-2c-4.53 12.8-12 22.4-22.4 28.8q-15.6 9.6-37.2 9.6c-21.86 0-38.93-5.6-51.2-16.8q-18-16.8-18-45.6c0-19.467 7.07-34.4 21.2-44.8 14.4-10.4 36.67-15.6 66.8-15.6h40.8v-20.4q0-22-12-33.6c-8-7.733-20.26-11.6-36.8-11.6-12.53 0-23.06 2.8-31.6 8.4-8.26 5.6-15.2 13.067-20.8 22.4l-19.2-18c5.6-11.2 14.54-20.667 26.8-28.4 12.27-8 27.74-12 46.4-12 25.07 0 44.54 6.133 58.4 18.4 13.87 12.267 20.8 29.333 20.8 51.2V397h23.6v28zm-92-22.4c8 0 15.34-.933 22-2.8 6.67-1.867 12.4-4.533 17.2-8s8.54-7.467 11.2-12c2.67-4.533 4-9.467 4-14.8v-34h-42.4c-18.4 0-31.86 2.667-40.4 8-8.26 5.333-12.4 13.067-12.4 23.2v8.4q0 15.2 10.8 23.6 11.205 8.4 30 8.4m171.67-232.4c-6.93 0-12-1.6-15.2-4.8-2.93-3.467-4.4-7.867-4.4-13.2V147c0-5.333 1.47-9.6 4.4-12.8 3.2-3.467 8.27-5.2 15.2-5.2 6.94 0 11.87 1.733 14.8 5.2q4.8 4.8 4.8 12.8v5.2q0 8-4.8 13.2c-2.93 3.2-7.86 4.8-14.8 4.8m-16 48.4h32V425h-32z"
|
||||
fill="currentColor"
|
||||
/>
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
Loading…
Reference in New Issue