Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
chore: change galoy branding to svg (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
Extheoisah authored Nov 14, 2022
1 parent fa107fc commit d8abaa1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
21 changes: 20 additions & 1 deletion components/Layouts/AppLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,26 @@ const AppLayout = ({ children, username }: Props) => {
<footer className={styles.footer}>
<a href="https://galoy.io" target="_blank" rel="noreferrer">
<span>Powered by</span>
<img src="/galoy-brand.png" alt="galoy brand" />
<svg
width="41"
height="18"
viewBox="0 0 41 18"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M16.9712 10.4692C16.8579 10.4918 16.7445 10.5113 16.628 10.5275C16.5146 10.5437 16.411 10.5566 16.3171 10.5728C16.1196 10.6019 15.9447 10.6473 15.7957 10.712C15.6468 10.7768 15.5334 10.861 15.4492 10.9711C15.3683 11.078 15.3262 11.2107 15.3262 11.3694C15.3262 11.5993 15.4104 11.7774 15.5755 11.8973C15.7439 12.0171 15.9609 12.0754 16.2199 12.0754C16.479 12.0754 16.6895 12.0268 16.8806 11.9296C17.0716 11.8293 17.2206 11.6932 17.3307 11.5249C17.4408 11.3565 17.4926 11.1622 17.4926 10.9484V10.3008C17.4408 10.3364 17.3663 10.3655 17.2724 10.3947C17.1817 10.4206 17.0813 10.4465 16.9647 10.4692H16.9712Z"
fill="#536FF2"
/>
<path
d="M38.5994 0.200195H2.3986C1.07414 0.200195 -0.000976562 1.27531 -0.000976562 2.59977V15.4007C-0.000976562 16.7252 1.07414 17.8003 2.3986 17.8003H38.5994C39.9239 17.8003 40.999 16.7252 40.999 15.4007V2.59977C40.999 1.27531 39.9239 0.200195 38.5994 0.200195ZM12.7352 9.79525C12.7352 10.5109 12.583 11.1262 12.2819 11.6411C11.9807 12.1527 11.563 12.5478 11.0319 12.8263C10.5008 13.1015 9.89524 13.2408 9.20872 13.2408C8.44449 13.2408 7.77416 13.0724 7.19774 12.7356C6.62133 12.3956 6.16797 11.9163 5.84414 11.2913C5.52355 10.6664 5.36163 9.92154 5.36163 9.0634C5.36163 8.40279 5.45554 7.81342 5.6466 7.29853C5.8409 6.7804 6.10968 6.33999 6.45941 5.97731C6.80591 5.61786 7.2107 5.3426 7.67377 5.15478C8.13361 4.96696 8.63554 4.87305 9.1731 4.87305C9.63294 4.87305 10.0636 4.94105 10.4619 5.07706C10.8603 5.20983 11.2132 5.39765 11.5209 5.64052C11.8317 5.8834 12.0843 6.17484 12.2819 6.51162C12.4794 6.84517 12.6025 7.21433 12.6607 7.61588H10.9121C10.857 7.42158 10.7793 7.24995 10.6789 7.10423C10.5785 6.95203 10.4555 6.82574 10.3097 6.72211C10.1673 6.61525 10.0021 6.53429 9.81752 6.47924C9.63294 6.42419 9.43217 6.39504 9.20872 6.39504C8.79098 6.39504 8.42506 6.49867 8.11094 6.70592C7.79683 6.91317 7.55396 7.21433 7.37909 7.6094C7.20422 8.00124 7.11679 8.4805 7.11679 9.05044C7.11679 9.62038 7.20422 10.0996 7.37585 10.498C7.54748 10.8963 7.79359 11.2007 8.1077 11.4079C8.42182 11.6152 8.79422 11.7188 9.22491 11.7188C9.61351 11.7188 9.94705 11.6508 10.2223 11.5115C10.5008 11.3723 10.7113 11.1748 10.8603 10.9189C11.0027 10.6761 11.074 10.3943 11.0805 10.0673H9.33178V8.77195H12.7417V9.79849H12.7352V9.79525ZM19.1794 13.1242H17.5732V12.2758H17.5247C17.4275 12.4668 17.2947 12.6352 17.1296 12.781C16.9644 12.9234 16.7669 13.0368 16.537 13.1177C16.3071 13.1987 16.0383 13.2376 15.7371 13.2376C15.3485 13.2376 14.9988 13.1695 14.6944 13.0335C14.39 12.8943 14.1471 12.6935 13.969 12.4247C13.7941 12.1527 13.7067 11.8159 13.7067 11.4144C13.7067 11.0744 13.7682 10.7894 13.8945 10.5595C14.0208 10.3296 14.1892 10.1417 14.4029 10.0025C14.6167 9.86325 14.8628 9.75639 15.1348 9.68515C15.4101 9.61391 15.6983 9.56209 16.0027 9.53295C16.3589 9.49733 16.6438 9.46171 16.8608 9.42932C17.0778 9.3937 17.2364 9.34513 17.3336 9.27712C17.4307 9.21236 17.4793 9.11197 17.4793 8.98244V8.95977C17.4793 8.70718 17.3984 8.51289 17.2397 8.37364C17.0842 8.23439 16.8608 8.16639 16.5726 8.16639C16.2682 8.16639 16.0253 8.23439 15.844 8.3704C15.6626 8.50317 15.5428 8.67156 15.4845 8.87234L13.9172 8.74604C13.9982 8.37364 14.1536 8.05305 14.3868 7.78427C14.6199 7.51226 14.9211 7.30177 15.2902 7.15604C15.6626 7.00708 16.0901 6.9326 16.5791 6.9326C16.9191 6.9326 17.2429 6.97146 17.5538 7.05242C17.8679 7.13338 18.1432 7.25643 18.386 7.42158C18.6289 7.58997 18.8232 7.8037 18.9625 8.066C19.1017 8.32507 19.1729 8.63594 19.1729 9.00187V13.121H19.1794V13.1242ZM22.1878 13.1242H20.4942V4.98315H22.1878V13.1275V13.1242ZM28.9461 11.7447C28.7032 12.2175 28.3535 12.5867 27.9034 12.849C27.4565 13.1113 26.9222 13.244 26.3037 13.244C25.6851 13.244 25.1508 13.1113 24.7007 12.849C24.2538 12.5834 23.9073 12.2143 23.6612 11.7447C23.4183 11.2687 23.2953 10.7214 23.2953 10.0932C23.2953 9.46494 23.4183 8.9112 23.6612 8.43841C23.9041 7.96238 24.2506 7.59645 24.7007 7.33415C25.1508 7.06861 25.6851 6.93584 26.3037 6.93584C26.9222 6.93584 27.4533 7.06861 27.9034 7.33415C28.3535 7.59645 28.7 7.96562 28.9461 8.43841C29.189 8.9112 29.312 9.46171 29.312 10.0932C29.312 10.7246 29.189 11.2687 28.9461 11.7447ZM33.538 13.7848C33.4247 14.1151 33.2692 14.4001 33.0717 14.643C32.8774 14.8891 32.6313 15.0801 32.3366 15.2129C32.0387 15.3489 31.6825 15.4169 31.2615 15.4169C31.0478 15.4169 30.8437 15.4007 30.6559 15.3651C30.4713 15.3327 30.3159 15.2906 30.1961 15.2421L30.5782 13.9759C30.7757 14.0374 30.9571 14.0698 31.1158 14.0763C31.2777 14.0827 31.4169 14.0439 31.5335 13.9662C31.6533 13.8852 31.7505 13.7524 31.8249 13.5614L31.9253 13.3023L29.733 7.0168H31.5141L32.7802 11.5018H32.845L34.1209 7.0168H35.9149L33.5412 13.7848H33.538Z"
fill="#536FF2"
/>
<path
d="M27.0163 8.47725C26.8285 8.31533 26.5921 8.23438 26.3136 8.23438C26.0351 8.23438 25.7922 8.31533 25.5979 8.47725C25.4068 8.63916 25.2611 8.85937 25.164 9.13786C25.0668 9.41635 25.0215 9.7337 25.0215 10.0899C25.0215 10.4461 25.0701 10.7635 25.164 11.042C25.2611 11.3205 25.4068 11.5407 25.5979 11.7026C25.7922 11.8613 26.0286 11.9422 26.3136 11.9422C26.5985 11.9422 26.8285 11.8613 27.0163 11.7026C27.2041 11.5407 27.3466 11.3205 27.4405 11.042C27.5376 10.7635 27.5862 10.4461 27.5862 10.0899C27.5862 9.7337 27.5376 9.41635 27.4405 9.13786C27.3433 8.85937 27.2041 8.63916 27.0163 8.47725Z"
fill="#536FF2"
/>
</svg>
</a>
</footer>
</div>
Expand Down
6 changes: 4 additions & 2 deletions components/Layouts/app-layout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,15 @@
transform: translateX(-50%);
}

.footer span {
.footer > a > span {
color: black;
margin-right: 5px;
font-weight: 700;
}

@media (max-width: 375px) {
.footer {
bottom: 0;
bottom: -10%;
}
}

Expand Down

0 comments on commit d8abaa1

Please sign in to comment.