Add salem center logo & favicon

This commit is contained in:
James Grugett 2022-07-15 00:32:57 -05:00
parent d3b78eeb42
commit a6f4a5fc22
4 changed files with 45 additions and 10 deletions

View File

@ -17,7 +17,7 @@ export const SALEM_CENTER_CONFIG: EnvConfig = {
adminEmails: [...PROD_CONFIG.adminEmails, 'richardh0828@gmail.com'], adminEmails: [...PROD_CONFIG.adminEmails, 'richardh0828@gmail.com'],
moneyMoniker: 'S$', moneyMoniker: 'S$',
visibility: 'PRIVATE', visibility: 'PRIVATE',
faviconPath: '/theoremone/logo.ico', faviconPath: '/salem-center/logo.ico',
navbarLogoPath: '/theoremone/TheoremOne-Logo.svg', navbarLogoPath: '/salem-center/salem-center-logo.svg',
newQuestionPlaceholders: [], newQuestionPlaceholders: [],
} }

View File

@ -17,16 +17,14 @@ export function ManifoldLogo(props: {
return ( return (
<Link href={user ? '/home' : '/'}> <Link href={user ? '/home' : '/'}>
<a className={clsx('group flex flex-shrink-0 flex-row gap-4', className)}> <a className={clsx('group flex flex-shrink-0 flex-row gap-4', className)}>
<img
className="transition-all group-hover:rotate-12"
src={darkBackground ? '/logo-white.svg' : '/logo.svg'}
width={45}
height={45}
/>
{!hideText && {!hideText &&
(ENV_CONFIG.navbarLogoPath ? ( (ENV_CONFIG.navbarLogoPath ? (
<img src={ENV_CONFIG.navbarLogoPath} width={245} height={45} /> <img
src={ENV_CONFIG.navbarLogoPath}
width={245}
height={45}
className="rounded-full bg-gray-800 px-6 py-2"
/>
) : twoLine ? ( ) : twoLine ? (
<div <div
className={clsx( className={clsx(

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="198" height="55" viewBox="0 0 198 55" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M48.7317 19.1015V12.2723H46.2329V11H52.5954V12.2705H50.1003V19.0997L48.7317 19.1015Z" fill="#9CADB7"/>
<path d="M53.9879 19.1015V11H59.224V12.2705H55.3566V14.2872H58.1948V15.5027H55.3566V17.853H59.4423V19.1015H53.9879Z" fill="#9CADB7"/>
<path d="M60.5156 19.1015L63.2107 14.8005L60.8018 11H62.3668L64.0528 13.7152L65.6801 11H67.1038L64.7371 14.7987L67.4432 19.0997H65.937L63.9336 15.895L61.9503 19.1015H60.5156Z" fill="#9CADB7"/>
<path d="M68.3477 19.1014L71.217 10.9688H72.5637L75.433 19.1014H74.0314L73.3746 17.1746H70.296L69.6282 19.1014H68.3477ZM70.7125 15.9701H72.9691L71.8683 12.6884H71.8463L70.7125 15.9701Z" fill="#9CADB7"/>
<path d="M76.0918 17.1966L77.1761 16.6264C77.6567 17.5798 78.4016 18.0381 79.4088 18.0381C80.416 18.0381 81.06 17.7209 81.06 16.9876C81.06 16.2873 80.5555 15.9591 79.2254 15.5649C77.6586 15.1066 76.4 14.6794 76.4 13.1358C76.4 11.7571 77.5283 10.8496 79.1703 10.8496C80.7683 10.8496 81.7113 11.6361 82.203 12.5894L81.2068 13.2788C81.0094 12.9107 80.7128 12.6052 80.3506 12.3969C79.9884 12.1885 79.5751 12.0857 79.1575 12.0999C78.2585 12.0999 77.7448 12.4281 77.7448 13.0166C77.7448 13.7719 78.3246 14.0231 79.651 14.4173C81.1829 14.8646 82.403 15.3688 82.403 16.8904C82.403 18.2141 81.2747 19.2536 79.3464 19.2536C77.7448 19.2499 76.6055 18.4213 76.0918 17.1966Z" fill="#9CADB7"/>
<path d="M87.7454 19.1015V11H89.5525L91.721 17.4167H91.7412L93.8455 11H95.6802V19.0997H94.3556V13.0497H94.3335C94.2017 13.6077 94.0406 14.1585 93.851 14.6997L92.2824 19.1015H91.0661L89.5011 14.7125C89.3005 14.1546 89.1356 13.5845 89.0076 13.0057H88.9801V19.1015H87.7454Z" fill="#9CADB7"/>
<path d="M97.1425 16.2013C97.1425 13.9793 98.6432 13.1799 99.9348 13.1799C101.38 13.1799 101.993 13.9793 102.344 14.8758L101.204 15.2809C100.975 14.6246 100.559 14.3074 99.9201 14.3074C99.1532 14.3074 98.5074 14.8116 98.5074 16.2013C98.5074 17.4369 99.012 18.1153 99.8981 18.1153C100.511 18.1153 100.938 17.9319 101.256 17.1088L102.373 17.5139C101.957 18.4434 101.272 19.2208 99.8651 19.2208C98.5203 19.2208 97.1425 18.3334 97.1425 16.2013Z" fill="#9CADB7"/>
<path d="M103.635 15.0333C103.635 12.3199 105.158 10.8533 107.194 10.8533C109.079 10.8533 109.978 11.8928 110.339 13.3704L109.035 13.7371C108.728 12.6646 108.257 12.1164 107.185 12.1164C105.815 12.1164 105.017 13.1779 105.017 15.0168C105.017 16.9436 105.837 18.0051 107.205 18.0051C108.257 18.0051 108.857 17.4789 109.156 16.2634L110.458 16.5604C110.064 18.1683 109.068 19.2518 107.194 19.2518C105.114 19.2499 103.635 17.8199 103.635 15.0333Z" fill="#9CADB7"/>
<path d="M111.653 15.0516C111.653 12.3273 113.263 10.8496 115.322 10.8496C117.38 10.8496 118.969 12.3273 118.969 15.0516C118.969 17.7759 117.369 19.2499 115.322 19.2499C113.274 19.2499 111.653 17.7833 111.653 15.0516ZM117.589 15.0516C117.589 13.1468 116.672 12.1073 115.322 12.1073C113.972 12.1073 113.034 13.1468 113.034 15.0516C113.034 16.9564 113.942 18.0179 115.322 18.0179C116.702 18.0179 117.589 16.9564 117.589 15.0516Z" fill="#9CADB7"/>
<path d="M120.525 19.1015V11H122.332L124.501 17.4167H124.523L126.625 11H128.46V19.0997H127.141V13.0497H127.119C126.986 13.6075 126.825 14.1582 126.636 14.6997L125.058 19.0887H123.838L122.271 14.6997C122.072 14.1417 121.907 13.5716 121.78 12.9928H121.758V19.0887L120.525 19.1015Z" fill="#9CADB7"/>
<path d="M130.526 19.1015V11H133.591C135.211 11 136.417 11.5262 136.417 13.0167C136.417 14.1423 135.804 14.7125 134.982 14.8757V14.8977C135.978 15.081 136.657 15.642 136.657 16.8795C136.657 18.3682 135.442 19.1015 133.788 19.1015H130.526ZM131.872 14.3843H133.459C134.532 14.3843 135.11 14.0562 135.11 13.2843C135.11 12.5125 134.617 12.2118 133.488 12.2118H131.879L131.872 14.3843ZM131.872 17.919H133.646C134.808 17.919 135.31 17.5523 135.31 16.7365C135.31 15.873 134.654 15.5448 133.503 15.5448H131.872V17.919Z" fill="#9CADB7"/>
<path d="M137.897 17.1966L138.98 16.6264C139.462 17.5798 140.207 18.0381 141.214 18.0381C142.221 18.0381 142.865 17.7209 142.865 16.9876C142.865 16.2873 142.361 15.9591 141.031 15.5649C139.464 15.1066 138.205 14.6794 138.205 13.1358C138.205 11.7571 139.332 10.8496 140.976 10.8496C142.574 10.8496 143.517 11.6361 144.008 12.5894L143.012 13.2788C142.815 12.9108 142.518 12.6055 142.156 12.3971C141.794 12.1888 141.38 12.0859 140.963 12.0999C140.064 12.0999 139.55 12.4281 139.55 13.0166C139.55 13.7719 140.13 14.0231 141.454 14.4173C142.988 14.8646 144.216 15.3688 144.216 16.8904C144.216 18.2141 143.087 19.2536 141.159 19.2536C139.55 19.2499 138.411 18.4213 137.897 17.1966Z" fill="#9CADB7"/>
<path d="M46.0128 38.436H49.5353C49.5353 39.9998 50.8196 40.7533 52.2579 40.7533C53.5752 40.7533 54.865 40.0585 54.865 38.8521C54.865 37.5981 53.3972 37.2535 51.6342 36.8446C49.1941 36.2433 46.2311 35.5356 46.2311 32.0523C46.2311 28.9503 48.5171 27.2031 52.102 27.2031C55.8226 27.2031 57.9361 29.1868 57.9361 32.4098H54.4889C54.4889 31.0165 53.3385 30.3638 52.0286 30.3638C50.8948 30.3638 49.7445 30.8441 49.7445 31.9038C49.7445 33.0405 51.1516 33.3851 52.8634 33.7958C55.331 34.4191 58.4278 35.1873 58.4278 38.81C58.4278 42.3025 55.6447 43.9983 52.2946 43.9983C48.5721 44.0001 46.0128 41.912 46.0128 38.436Z" fill="white"/>
<path d="M73.314 31.1831V43.6497H70.6685L70.3786 42.5332C69.2579 43.5075 67.8186 44.0371 66.3332 44.0219C62.5777 44.0219 59.7836 41.1894 59.7836 37.4219C59.7836 33.6544 62.5777 30.8512 66.3332 30.8512C67.8421 30.8336 69.3036 31.3773 70.4337 32.3766L70.8006 31.1849L73.314 31.1831ZM70.0117 37.4164C70.0117 35.4566 68.5733 33.9972 66.6139 33.9972C64.6545 33.9972 63.2107 35.4639 63.2107 37.4164C63.2107 39.3689 64.6527 40.8356 66.6139 40.8356C68.5752 40.8356 70.0062 39.3799 70.0062 37.4201L70.0117 37.4164Z" fill="white"/>
<path d="M75.9303 27.2031H79.3042V43.6756H75.9303V27.2031Z" fill="white"/>
<path d="M94.0345 37.4C94.0335 37.7311 94.0115 38.0617 93.9685 38.39H84.5219C84.8155 40.0913 85.9346 41.03 87.5711 41.03C88.7453 41.03 89.7066 40.48 90.2203 39.5817H93.7667C93.3514 40.8912 92.5244 42.0319 91.4085 42.8342C90.2926 43.6365 88.9475 44.0576 87.5729 44.0348C83.8853 44.0348 81.0967 41.1822 81.0967 37.444C81.0967 33.7058 83.867 30.844 87.5729 30.844C91.4055 30.844 94.0345 33.7975 94.0345 37.3908V37.4ZM84.61 36.0855H90.6643C90.1873 34.5602 89.092 33.7333 87.5766 33.7333C86.0612 33.7333 85.0026 34.6042 84.61 36.08V36.0855Z" fill="white"/>
<path d="M114.408 35.8527V43.6755H111.034V36.4101C111.034 34.7454 110.379 33.8672 109.157 33.8672C107.649 33.8672 106.756 34.9764 106.756 36.9289V43.6755H103.474V36.4101C103.474 34.7454 102.839 33.8672 101.63 33.8672C100.103 33.8672 99.1917 34.9764 99.1917 36.9289V43.6755H95.8104V31.2089H98.1679L98.8009 32.7544C99.2437 32.1883 99.8081 31.7289 100.452 31.41C101.097 31.0911 101.804 30.9209 102.523 30.9119C104.112 30.9119 105.424 31.6544 106.149 32.9084C106.585 32.2904 107.164 31.7864 107.837 31.4389C108.509 31.0914 109.255 30.9107 110.012 30.9119C112.596 30.9046 114.408 32.9304 114.408 35.8527Z" fill="white"/>
<path d="M129.421 44.0257C124.669 44.0257 121.064 40.3866 121.064 35.6107C121.064 30.7964 124.669 27.1572 129.421 27.1572C133.36 27.1572 136.501 29.7606 137.251 33.5977H133.745C133.083 31.6892 131.465 30.4957 129.425 30.4957C126.686 30.4957 124.616 32.6957 124.616 35.6089C124.616 38.5221 126.686 40.6854 129.425 40.6854C131.553 40.6854 133.195 39.4021 133.777 37.3524H137.306C136.573 41.3509 133.432 44.0239 129.417 44.0239L129.421 44.0257Z" fill="white"/>
<path d="M151.332 37.4C151.332 37.731 151.31 38.0617 151.268 38.39H141.818C142.111 40.0913 143.231 41.03 144.869 41.03C146.041 41.03 147.004 40.48 147.516 39.5817H151.064C150.649 40.8912 149.821 42.0318 148.705 42.834C147.589 43.6363 146.244 44.0574 144.869 44.0348C141.183 44.0348 138.393 41.1822 138.393 37.444C138.393 33.7058 141.163 30.844 144.869 30.844C148.701 30.844 151.33 33.7975 151.33 37.3908L151.332 37.4ZM141.908 36.0855H147.962C147.485 34.5602 146.388 33.7333 144.874 33.7333C143.361 33.7333 142.3 34.6042 141.908 36.08V36.0855Z" fill="white"/>
<path d="M164.791 36.1166V43.6754H161.415V36.6666C161.415 34.7819 160.698 33.8726 159.238 33.8726C157.498 33.8726 156.436 35.1174 156.436 37.1249V43.6809H153.062V31.2142H155.378L156.034 32.7561C156.549 32.1678 157.185 31.6989 157.9 31.3823C158.615 31.0656 159.39 30.9088 160.171 30.9227C163.017 30.9044 164.791 32.9577 164.791 36.1166Z" fill="white"/>
<path d="M174.817 40.6725V43.6755H172.42C169.668 43.6755 167.985 41.9907 167.985 39.2224V33.9167H165.729V33.1834L170.658 27.9456H171.304V31.2016H174.748V33.9167H171.355V38.775C171.355 39.9795 172.049 40.6725 173.278 40.6725H174.817Z" fill="white"/>
<path d="M188.73 37.4C188.729 37.731 188.708 38.0617 188.665 38.39H179.217C179.51 40.0913 180.63 41.03 182.268 41.03C183.44 41.03 184.403 40.48 184.915 39.5817H188.464C188.048 40.8912 187.22 42.0318 186.104 42.834C184.988 43.6363 183.643 44.0574 182.268 44.0348C178.582 44.0348 175.792 41.1822 175.792 37.444C175.792 33.7058 178.562 30.844 182.268 30.844C186.1 30.844 188.73 33.7975 188.73 37.3908V37.4ZM179.305 36.0855H185.359C184.882 34.5602 183.785 33.7333 182.272 33.7333C180.758 33.7333 179.698 34.6042 179.305 36.08V36.0855Z" fill="white"/>
<path d="M198 31.1318V34.3145H196.532C194.63 34.3145 193.878 35.156 193.878 37.1947V43.6755H190.504V31.2088H192.669L193.267 32.7378C194.156 31.6378 195.285 31.1392 196.888 31.1392L198 31.1318Z" fill="white"/>
<path d="M11.0078 11H0L11.0078 0V11Z" fill="white"/>
<path d="M33.0236 0H22.0157V11H33.0236V0Z" fill="#F8971F"/>
<path d="M11.0078 11L22.0157 0V11H11.0078Z" fill="#87581C"/>
<path d="M11.0078 11H0V22H11.0078V11Z" fill="#F8971F"/>
<path d="M11.0078 33L0 22H11.0078V33Z" fill="#87581C"/>
<path d="M22.0157 22H11.0078V33H22.0157V22Z" fill="white"/>
<path d="M33.0236 33H22.0157V22L33.0236 33Z" fill="#234E8C"/>
<path d="M33.0236 33H22.0157V44H33.0236V33Z" fill="#2F83FF"/>
<path d="M11.0078 44H0V55H11.0078V44Z" fill="#2F83FF"/>
<path d="M11.0078 55V44H22.0157L11.0078 55Z" fill="#234E8C"/>
<path d="M22.0157 55V44H33.0236L22.0157 55Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 9.8 KiB