feat: register change
This commit is contained in:
parent
1f7279719c
commit
f4ce7f74f9
|
|
@ -0,0 +1,9 @@
|
|||
<svg width="101" height="33" viewBox="0 0 101 33" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M41.7953 5.76801V8.00208C42.1329 7.64463 42.5598 7.34675 43.0761 7.10845C43.5925 6.85029 44.218 6.72121 44.9528 6.72121C45.6279 6.72121 46.2634 6.85029 46.8592 7.10845C47.4748 7.36661 48.0109 7.78364 48.4677 8.35953C48.9443 8.91556 49.3216 9.66025 49.5996 10.5936C49.8776 11.5269 50.0166 12.6589 50.0166 13.9894C50.0166 14.9426 49.9273 15.8958 49.7486 16.849C49.5897 17.8022 49.3017 18.6561 48.8847 19.4107C48.4677 20.1653 47.9017 20.781 47.1868 21.2576C46.4918 21.7143 45.618 21.9427 44.5655 21.9427C43.8109 21.9427 43.2151 21.8434 42.7783 21.6448C42.3414 21.4264 42.0137 21.1781 41.7953 20.9001V28.1385L37.5059 29.2108V5.76801H41.7953ZM43.1357 19.3512C43.652 19.3512 44.0889 19.1824 44.4464 18.8448C44.8038 18.4873 45.0818 18.0306 45.2804 17.4745C45.4989 16.9185 45.6478 16.3029 45.7272 15.6277C45.8265 14.9327 45.8762 14.2475 45.8762 13.5724C45.8762 12.4801 45.7769 11.6163 45.5783 10.9808C45.3996 10.3454 45.1811 9.8787 44.923 9.58082C44.6648 9.26309 44.4067 9.0645 44.1485 8.98507C43.9102 8.90563 43.7215 8.86592 43.5825 8.86592C43.2251 8.86592 42.8776 8.995 42.54 9.25316C42.2024 9.49146 41.9541 9.85884 41.7953 10.3553V18.666C41.8946 18.8249 42.0534 18.9838 42.2719 19.1426C42.4903 19.2816 42.7783 19.3512 43.1357 19.3512Z" fill="white"/>
|
||||
<path d="M69.9378 5.94673C70.4343 7.85314 70.8711 9.41202 71.2484 10.6234C71.6258 11.8149 71.9435 12.8177 72.2016 13.6319C72.4797 14.4461 72.6882 15.161 72.8272 15.7766C72.9861 16.3923 73.0655 17.0774 73.0655 17.832C73.4031 17.6135 73.7307 17.3852 74.0485 17.1469C74.3662 16.8887 74.6343 16.6504 74.8527 16.432H76.1038C75.5676 17.2462 75.0017 17.9213 74.4059 18.4575C73.8102 18.9738 73.2343 19.4306 72.6783 19.8278C72.3208 20.6022 71.7747 21.1483 71.0399 21.4661C70.3052 21.7838 69.5406 21.9427 68.7463 21.9427C67.8527 21.9427 67.0881 21.8235 66.4526 21.5852C65.8172 21.3271 65.2909 20.9895 64.8739 20.5724C64.4767 20.1356 64.1789 19.6391 63.9803 19.0831C63.7817 18.527 63.6824 17.9412 63.6824 17.3256C63.6824 16.6504 63.8413 16.1242 64.159 15.7469C64.4966 15.3497 64.8838 15.1511 65.3207 15.1511C66.5321 15.1511 67.1378 15.6376 67.1378 16.6107C67.1378 16.9284 67.0285 17.1965 66.8101 17.415C66.5917 17.6334 66.3136 17.7426 65.976 17.7426C65.8172 17.7426 65.6484 17.7228 65.4697 17.683C65.3108 17.6235 65.1817 17.5142 65.0824 17.3554C65.2413 18.0504 65.4994 18.5965 65.8569 18.9937C66.2342 19.3909 66.7108 19.5895 67.2867 19.5895C67.7832 19.5895 68.1505 19.4703 68.3888 19.232C68.6271 18.9738 68.7463 18.537 68.7463 17.9213C68.7463 17.266 68.6867 16.6802 68.5676 16.1639C68.4683 15.6277 68.3094 15.0419 68.091 14.4064C67.8725 13.7709 67.6044 13.0163 67.2867 12.1426C66.969 11.2489 66.6115 10.0971 66.2143 8.68719C65.2214 10.812 63.9108 12.1723 62.2824 12.7681C62.2824 12.927 62.2824 13.0858 62.2824 13.2447C62.3022 13.3837 62.3122 13.5326 62.3122 13.6915C62.3122 14.8433 62.2129 15.9256 62.0143 16.9384C61.8157 17.9313 61.4781 18.805 61.0015 19.5597C60.5448 20.2944 59.949 20.8802 59.2143 21.3171C58.4795 21.7342 57.5759 21.9427 56.5036 21.9427C55.7688 21.9427 55.0639 21.8335 54.3887 21.615C53.7333 21.3767 53.1475 20.9994 52.6312 20.4831C52.1149 19.9469 51.6979 19.2519 51.3801 18.3979C51.0823 17.5242 50.9333 16.4618 50.9333 15.2107C50.9333 14.3568 51.0227 13.4433 51.2014 12.4702C51.3801 11.4773 51.7078 10.5539 52.1844 9.69997C52.661 8.84606 53.3064 8.14109 54.1206 7.58505C54.9546 7.00916 56.0171 6.72121 57.3079 6.72121C58.6384 6.72121 59.7008 7.07866 60.4951 7.79356C61.3093 8.50847 61.8554 9.66025 62.1334 11.2489C62.8285 11.0901 63.454 10.6135 64.0101 9.81912C64.586 9.00493 65.1321 7.91271 65.6484 6.54249L69.9378 5.94673ZM57.3376 19.1426C57.7547 19.1426 58.1121 19.0036 58.41 18.7256C58.7277 18.4277 58.9859 18.0306 59.1845 17.5341C59.3831 17.0178 59.5221 16.4121 59.6015 15.7171C59.7008 15.022 59.7504 14.2674 59.7504 13.4532V13.066C58.9561 12.8872 58.5589 12.3014 58.5589 11.3085C58.5589 10.673 58.8171 10.256 59.3334 10.0574C59.115 9.42195 58.8469 9.00493 58.5291 8.80634C58.2313 8.60776 57.9731 8.50847 57.7547 8.50847C57.3178 8.50847 56.9405 8.71698 56.6227 9.13401C56.3249 9.53117 56.0766 10.0475 55.8781 10.683C55.6795 11.2986 55.5305 11.9837 55.4312 12.7383C55.3518 13.4929 55.3121 14.2178 55.3121 14.9128C55.3121 15.8064 55.3717 16.5313 55.4908 17.0873C55.6298 17.6433 55.7986 18.0703 55.9972 18.3682C56.1958 18.666 56.4142 18.8745 56.6525 18.9937C56.8908 19.093 57.1192 19.1426 57.3376 19.1426Z" fill="white"/>
|
||||
<path d="M78.797 2.16371V6.87015H80.6141V8.06165H78.797V16.9979C78.797 17.832 78.9063 18.388 79.1247 18.666C79.363 18.9242 79.7701 19.0533 80.346 19.0533C80.9219 19.0533 81.3985 18.805 81.7758 18.3086C82.173 17.8121 82.4013 17.1866 82.4609 16.432H83.712C83.5531 17.6433 83.2751 18.6164 82.8779 19.3512C82.4808 20.0661 82.034 20.6221 81.5375 21.0193C81.041 21.3966 80.5347 21.6448 80.0183 21.7639C79.502 21.8831 79.0453 21.9427 78.6481 21.9427C77.119 21.9427 76.0467 21.5256 75.431 20.6916C74.8154 19.8377 74.5076 18.7157 74.5076 17.3256V8.06165H73.5544V6.87015H74.5076V2.75946L78.797 2.16371Z" fill="white"/>
|
||||
<path d="M82.1214 2.9084C82.1214 2.25307 82.3498 1.69704 82.8065 1.24029C83.2632 0.763692 83.8193 0.525391 84.4746 0.525391C85.1299 0.525391 85.686 0.763692 86.1427 1.24029C86.6193 1.69704 86.8576 2.25307 86.8576 2.9084C86.8576 3.56373 86.6193 4.11976 86.1427 4.5765C85.686 5.03325 85.1299 5.26162 84.4746 5.26162C83.8193 5.26162 83.2632 5.03325 82.8065 4.5765C82.3498 4.11976 82.1214 3.56373 82.1214 2.9084ZM86.7385 6.87015V16.9979C86.7385 17.832 86.8477 18.388 87.0661 18.666C87.3044 18.9242 87.7115 19.0533 88.2874 19.0533C88.5456 19.0533 88.7342 19.0334 88.8534 18.9937C88.9924 18.954 89.1115 18.9143 89.2108 18.8745C89.2307 18.9738 89.2406 19.0731 89.2406 19.1724C89.2406 19.2717 89.2406 19.371 89.2406 19.4703C89.2406 19.9668 89.1513 20.3739 88.9725 20.6916C88.8137 21.0093 88.5952 21.2675 88.3172 21.4661C88.059 21.6448 87.7711 21.7639 87.4534 21.8235C87.1555 21.903 86.8675 21.9427 86.5895 21.9427C85.0604 21.9427 83.9881 21.5256 83.3725 20.6916C82.7569 19.8377 82.449 18.7157 82.449 17.3256V6.87015H86.7385ZM98.1471 19.0533C97.9088 19.0334 97.7301 18.954 97.6109 18.815C97.4918 18.6561 97.4322 18.4774 97.4322 18.2788C97.4322 18.0206 97.5414 17.7724 97.7599 17.5341C97.9783 17.2759 98.3358 17.1469 98.8322 17.1469C99.3883 17.1469 99.8053 17.3355 100.083 17.7128C100.361 18.0703 100.5 18.4972 100.5 18.9937C100.5 19.3114 100.441 19.6391 100.322 19.9767C100.202 20.2944 100.014 20.5923 99.7556 20.8703C99.4975 21.1285 99.1797 21.3469 98.8024 21.5256C98.4251 21.6845 97.9882 21.7639 97.4918 21.7639H89.2704L95.1088 8.47868H92.9045C92.4676 8.47868 92.1002 8.50847 91.8023 8.56804C91.5243 8.60776 91.3853 8.71698 91.3853 8.89571C91.3853 8.97514 91.4052 9.01486 91.4449 9.01486C91.5045 9.01486 91.564 9.03471 91.6236 9.07443C91.7031 9.11415 91.7626 9.19358 91.8023 9.31273C91.8619 9.43188 91.8917 9.6404 91.8917 9.93827C91.8917 10.3752 91.7527 10.6929 91.4747 10.8915C91.2165 11.0901 90.9187 11.1894 90.5811 11.1894C90.1839 11.1894 89.7966 11.0603 89.4193 10.8021C89.0619 10.5241 88.8832 10.1071 88.8832 9.55103C88.8832 9.25316 88.9427 8.95528 89.0619 8.6574C89.181 8.33967 89.3598 8.05172 89.5981 7.79356C89.8364 7.51555 90.1342 7.2971 90.4917 7.13824C90.8491 6.95951 91.2662 6.87015 91.7428 6.87015H99.9344L94.2449 19.4703C94.3641 19.4703 94.5329 19.4802 94.7513 19.5001C94.9698 19.5199 95.1981 19.5398 95.4364 19.5597C95.6946 19.5795 95.9428 19.5994 96.1811 19.6192C96.4393 19.6391 96.6677 19.649 96.8662 19.649C97.2237 19.649 97.5216 19.6093 97.7599 19.5299C98.018 19.4504 98.1471 19.2916 98.1471 19.0533Z" fill="white"/>
|
||||
<path d="M5.02707 4.73535C5.04984 5.1031 5.08195 5.51796 5.11859 5.9915L6.44189 23.0906C6.5898 25.0018 6.66375 25.9574 7.09218 26.6586C7.46903 27.2753 8.03148 27.757 8.69889 28.0345C9.45764 28.3499 10.4132 28.2759 12.3244 28.128L25.4208 27.1145C26.6598 27.0186 27.4972 26.9538 28.124 26.8034C27.9138 27.2969 27.5895 27.7366 27.1746 28.0846C26.545 28.6126 25.6111 28.828 23.7433 29.2589L10.9438 32.2113C9.07597 32.6422 8.14206 32.8576 7.34479 32.6586C6.6435 32.4837 6.01561 32.0911 5.55111 31.5373C5.02305 30.9078 4.80762 29.9739 4.37678 28.106L0.521985 11.3946C0.0911391 9.52677 -0.124284 8.59286 0.0746573 7.79559C0.249651 7.0943 0.642167 6.46641 1.19595 6.00191C1.82552 5.47385 2.75943 5.25842 4.62725 4.82758L5.02707 4.73535Z" fill="#612BD3"/>
|
||||
<path d="M18.5599 14.4471C18.3196 14.7119 18.0123 14.8588 17.6378 14.8878C17.3786 14.9078 17.1659 14.8735 16.9998 14.785C16.8324 14.682 16.7083 14.5757 16.6274 14.4661L16.1615 8.43966C16.2489 8.07075 16.4083 7.79043 16.6397 7.5987C16.87 7.39257 17.1148 7.27949 17.374 7.25945C17.4748 7.25165 17.6138 7.26988 17.7911 7.31412C17.9827 7.35725 18.1811 7.48677 18.3861 7.7027C18.59 7.90423 18.7746 8.23039 18.9398 8.68117C19.1194 9.13084 19.2399 9.75168 19.3011 10.5437C19.3389 11.0333 19.3413 11.5329 19.3083 12.0424C19.2886 12.5365 19.2151 12.9913 19.0879 13.4067C18.975 13.821 18.799 14.1678 18.5599 14.4471Z" fill="white"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.10722 5.22211C6.00627 3.91762 5.95579 3.26537 6.1711 2.74748C6.36049 2.29192 6.68924 1.90802 7.11024 1.65079C7.58884 1.35836 8.24108 1.30788 9.54557 1.20693L24.0205 0.0867131C25.325 -0.0142411 25.9772 -0.0647182 26.4951 0.150593C26.9507 0.339986 27.3346 0.668737 27.5918 1.08973C27.8843 1.56833 27.9347 2.22058 28.0357 3.52507L29.4655 22.0008C29.5665 23.3052 29.617 23.9575 29.4016 24.4754C29.2123 24.9309 28.8835 25.3148 28.4625 25.5721C27.9839 25.8645 27.3317 25.915 26.0272 26.0159L11.5522 27.1362C10.2477 27.2371 9.59548 27.2876 9.0776 27.0723C8.62205 26.8829 8.23814 26.5541 7.98091 26.1331C7.68848 25.6545 7.63801 25.0023 7.53705 23.6978L6.10722 5.22211ZM16.0296 6.73324L15.9043 5.11323L12.7939 5.35371L14.1082 22.3531L17.1585 21.335L16.7527 16.0861C16.9267 16.2755 17.1782 16.4371 17.5072 16.571C17.8352 16.6905 18.2727 16.7291 18.8199 16.6868C19.5832 16.6278 20.204 16.4132 20.6824 16.0431C21.174 15.6574 21.5499 15.1792 21.81 14.6087C22.0701 14.0381 22.231 13.4027 22.2928 12.7026C22.369 12.0014 22.3803 11.3052 22.3269 10.614C22.2523 9.64915 22.088 8.83614 21.8341 8.17492C21.5802 7.5137 21.2648 6.99485 20.8881 6.61837C20.5246 6.22637 20.1124 5.95403 19.6515 5.80134C19.205 5.64754 18.737 5.58956 18.2474 5.62742C17.7146 5.66861 17.2682 5.79728 16.9083 6.01343C16.5472 6.21518 16.2543 6.45511 16.0296 6.73324Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 10 KiB |
|
|
@ -3,9 +3,8 @@ import { getT } from '@gitroom/react/translation/get.translation.service.backend
|
|||
export const dynamic = 'force-dynamic';
|
||||
import { ReactNode } from 'react';
|
||||
import Image from 'next/image';
|
||||
import clsx from 'clsx';
|
||||
import loadDynamic from 'next/dynamic';
|
||||
import { isGeneralServerSide } from '@gitroom/helpers/utils/is.general.server.side';
|
||||
import { Testimonial } from '@gitroom/frontend/components/auth/testimonial';
|
||||
const ReturnUrlComponent = loadDynamic(() => import('./return.url.component'));
|
||||
export default async function AuthLayout({
|
||||
children,
|
||||
|
|
@ -15,68 +14,55 @@ export default async function AuthLayout({
|
|||
const t = await getT();
|
||||
|
||||
return (
|
||||
<div className="dark !bg-black lbox">
|
||||
<div className="bg-[#0E0E0E] flex flex-1 p-[12px] gap-[12px] min-h-screen w-screen text-white">
|
||||
<style>{`html, body {overflow-x: hidden;}`}</style>
|
||||
<ReturnUrlComponent />
|
||||
<div className="absolute start-0 top-0 z-[0] h-[100vh] w-[100vw] overflow-hidden bg-loginBg bg-contain bg-no-repeat bg-left-top" />
|
||||
<div className="relative z-[1] px-3 lg:pr-[100px] xs:mt-[70px] flex justify-center lg:justify-end items-center h-[100vh] w-[100vw] overflow-hidden">
|
||||
<div className="w-full max-w-lg h-[614px] flex flex-col bg-loginBox bg-no-repeat bg-contain">
|
||||
<div className="w-full relative">
|
||||
<div className="custom:fixed custom:text-start custom:left-[20px] custom:justify-start custom:top-[20px] absolute -top-[100px] text-textColor justify-center items-center w-full flex gap-[10px]">
|
||||
<Image
|
||||
src={isGeneralServerSide() ? '/postiz.svg' : '/logo.svg'}
|
||||
width={55}
|
||||
height={53}
|
||||
alt="Logo"
|
||||
/>
|
||||
<div
|
||||
className={clsx(
|
||||
!isGeneralServerSide() ? 'mt-[12px]' : 'min-w-[80px]'
|
||||
)}
|
||||
>
|
||||
{isGeneralServerSide() ? (
|
||||
<svg
|
||||
width="80"
|
||||
height="36.5"
|
||||
viewBox="0 0 366 167"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
d="M24.9659 30.4263V43.3825C26.9237 41.3095 29.3998 39.582 32.3941 38.2C35.3885 36.7028 39.0162 35.9543 43.2774 35.9543C47.1931 35.9543 50.8784 36.7028 54.3334 38.2C57.9036 39.6972 61.0131 42.1157 63.6619 45.4555C66.4259 48.6802 68.6141 52.9989 70.2264 58.4118C71.8387 63.8246 72.6449 70.3891 72.6449 78.1053C72.6449 83.6333 72.1266 89.1613 71.0902 94.6893C70.1688 100.217 68.4989 105.169 66.0804 109.546C63.6619 113.922 60.3796 117.492 56.2336 120.256C52.2028 122.905 47.1355 124.23 41.0316 124.23C36.6553 124.23 33.2003 123.654 30.6666 122.502C28.1329 121.235 26.2327 119.796 24.9659 118.183V160.162L0.0898438 166.381V30.4263H24.9659ZM32.7396 109.2C35.734 109.2 38.2676 108.221 40.3406 106.264C42.4136 104.191 44.026 101.542 45.1776 98.3171C46.4445 95.0924 47.3082 91.5222 47.7689 87.6066C48.3447 83.5757 48.6326 79.6025 48.6326 75.6868C48.6326 69.3526 48.0568 64.3429 46.9051 60.6575C45.8686 56.9722 44.6018 54.2658 43.1046 52.5383C41.6075 50.6956 40.1103 49.5439 38.6131 49.0833C37.2311 48.6226 36.137 48.3923 35.3309 48.3923C33.2579 48.3923 31.2425 49.1409 29.2846 50.638C27.3268 52.02 25.8872 54.1506 24.9659 57.0298V105.227C25.5417 106.148 26.463 107.07 27.7299 107.991C28.9967 108.797 30.6666 109.2 32.7396 109.2Z"
|
||||
fill="currentColor"
|
||||
/>
|
||||
<path
|
||||
d="M188.176 31.4627C191.055 42.5188 193.588 51.5593 195.777 58.5845C197.965 65.4945 199.807 71.3105 201.305 76.0323C202.917 80.7541 204.126 84.9001 204.932 88.4703C205.854 92.0405 206.314 96.0137 206.314 100.39C208.272 99.1232 210.172 97.7988 212.015 96.4168C213.858 94.9196 215.413 93.5376 216.679 92.2708H223.935C220.825 96.9926 217.543 100.908 214.088 104.018C210.633 107.012 207.293 109.661 204.069 111.964C201.996 116.456 198.829 119.623 194.567 121.466C190.306 123.308 185.872 124.23 181.266 124.23C176.083 124.23 171.649 123.539 167.964 122.157C164.279 120.659 161.227 118.702 158.808 116.283C156.505 113.749 154.777 110.87 153.626 107.646C152.474 104.421 151.898 101.023 151.898 97.4533C151.898 93.5376 152.819 90.4857 154.662 88.2975C156.62 85.9942 158.866 84.8426 161.399 84.8426C168.424 84.8426 171.937 87.6641 171.937 93.3073C171.937 95.15 171.304 96.7047 170.037 97.9716C168.77 99.2384 167.158 99.8718 165.2 99.8718C164.278 99.8718 163.3 99.7566 162.263 99.5263C161.342 99.1808 160.593 98.5474 160.017 97.6261C160.939 101.657 162.436 104.824 164.509 107.127C166.697 109.431 169.461 110.582 172.801 110.582C175.68 110.582 177.811 109.891 179.193 108.509C180.575 107.012 181.266 104.478 181.266 100.908C181.266 97.1078 180.92 93.7104 180.229 90.7161C179.653 87.6066 178.732 84.2091 177.465 80.5238C176.198 76.8385 174.644 72.4621 172.801 67.3948C170.958 62.2123 168.885 55.5326 166.582 47.3558C160.823 59.6786 153.222 67.5675 143.779 71.0225C143.779 71.9439 143.779 72.8652 143.779 73.7865C143.894 74.5927 143.952 75.4565 143.952 76.3778C143.952 83.0575 143.376 89.334 142.224 95.2076C141.072 100.966 139.115 106.033 136.351 110.41C133.702 114.671 130.247 118.068 125.986 120.602C121.724 123.02 116.484 124.23 110.265 124.23C106.004 124.23 101.916 123.596 98 122.329C94.1995 120.947 90.8021 118.759 87.8078 115.765C84.8134 112.655 82.3949 108.624 80.5523 103.672C78.8248 98.605 77.961 92.4436 77.961 85.188C77.961 80.2359 78.4793 74.9382 79.5158 69.295C80.5523 63.5367 82.4525 58.1814 85.2165 53.2293C87.9805 48.2771 91.7234 44.1887 96.4453 40.964C101.282 37.6242 107.444 35.9543 114.93 35.9543C122.646 35.9543 128.807 38.0273 133.414 42.1733C138.136 46.3193 141.303 52.9989 142.915 62.2123C146.946 61.2909 150.574 58.5269 153.798 53.9203C157.138 49.1984 160.305 42.8643 163.3 34.9177L188.176 31.4627ZM115.102 107.991C117.521 107.991 119.594 107.185 121.321 105.573C123.164 103.845 124.661 101.542 125.813 98.6626C126.964 95.6682 127.771 92.1556 128.231 88.1248C128.807 84.094 129.095 79.7176 129.095 74.9958V72.75C124.488 71.7135 122.185 68.3161 122.185 62.5578C122.185 58.8724 123.682 56.4539 126.677 55.3023C125.41 51.6169 123.855 49.1984 122.012 48.0468C120.285 46.8951 118.788 46.3193 117.521 46.3193C114.987 46.3193 112.799 47.5285 110.956 49.947C109.229 52.2504 107.789 55.2447 106.638 58.93C105.486 62.5002 104.622 66.4734 104.046 70.8498C103.586 75.2261 103.355 79.4297 103.355 83.4605C103.355 88.6431 103.701 92.8466 104.392 96.0713C105.198 99.296 106.177 101.772 107.329 103.5C108.48 105.227 109.747 106.436 111.129 107.127C112.511 107.703 113.835 107.991 115.102 107.991Z"
|
||||
fill="currentColor"
|
||||
/>
|
||||
<path
|
||||
d="M239.554 9.52348V36.818H250.092V43.728H239.554V95.5531C239.554 100.39 240.187 103.615 241.454 105.227C242.836 106.724 245.197 107.473 248.537 107.473C251.877 107.473 254.641 106.033 256.829 103.154C259.132 100.275 260.457 96.6471 260.802 92.2708H268.058C267.136 99.296 265.524 104.939 263.221 109.2C260.917 113.346 258.326 116.571 255.447 118.874C252.568 121.062 249.631 122.502 246.637 123.193C243.642 123.884 240.993 124.23 238.69 124.23C229.822 124.23 223.603 121.811 220.033 116.974C216.463 112.022 214.678 105.515 214.678 97.4533V43.728H209.15V36.818H214.678V12.9785L239.554 9.52348Z"
|
||||
fill="currentColor"
|
||||
/>
|
||||
<path
|
||||
d="M258.833 13.8422C258.833 10.0417 260.158 6.81706 262.806 4.16823C265.455 1.40422 268.68 0.0222168 272.48 0.0222168C276.281 0.0222168 279.506 1.40422 282.154 4.16823C284.918 6.81706 286.3 10.0417 286.3 13.8422C286.3 17.6427 284.918 20.8674 282.154 23.5162C279.506 26.1651 276.281 27.4895 272.48 27.4895C268.68 27.4895 265.455 26.1651 262.806 23.5162C260.158 20.8674 258.833 17.6427 258.833 13.8422ZM285.609 36.818V95.5531C285.609 100.39 286.243 103.615 287.51 105.227C288.892 106.724 291.253 107.473 294.592 107.473C296.09 107.473 297.184 107.358 297.875 107.127C298.681 106.897 299.372 106.667 299.948 106.436C300.063 107.012 300.12 107.588 300.12 108.164C300.12 108.74 300.12 109.315 300.12 109.891C300.12 112.77 299.602 115.131 298.566 116.974C297.644 118.817 296.377 120.314 294.765 121.466C293.268 122.502 291.598 123.193 289.755 123.539C288.028 123.999 286.358 124.23 284.746 124.23C275.878 124.23 269.659 121.811 266.089 116.974C262.518 112.022 260.733 105.515 260.733 97.4533V36.818H285.609ZM351.773 107.473C350.391 107.358 349.354 106.897 348.663 106.091C347.972 105.169 347.627 104.133 347.627 102.981C347.627 101.484 348.26 100.045 349.527 98.6626C350.794 97.1654 352.867 96.4168 355.746 96.4168C358.971 96.4168 361.389 97.5109 363.001 99.6991C364.614 101.772 365.42 104.248 365.42 107.127C365.42 108.97 365.074 110.87 364.383 112.828C363.692 114.671 362.598 116.398 361.101 118.011C359.604 119.508 357.761 120.775 355.573 121.811C353.385 122.732 350.851 123.193 347.972 123.193H300.293L334.152 46.1465H321.369C318.835 46.1465 316.704 46.3193 314.977 46.6648C313.365 46.8951 312.558 47.5285 312.558 48.565C312.558 49.0257 312.674 49.256 312.904 49.256C313.249 49.256 313.595 49.3712 313.94 49.6015C314.401 49.8318 314.747 50.2925 314.977 50.9835C315.322 51.6745 315.495 52.8838 315.495 54.6113C315.495 57.1449 314.689 58.9876 313.077 60.1393C311.579 61.2909 309.852 61.8668 307.894 61.8668C305.591 61.8668 303.345 61.1182 301.157 59.621C299.084 58.0087 298.047 55.5902 298.047 52.3655C298.047 50.638 298.393 48.9105 299.084 47.183C299.775 45.3403 300.811 43.6704 302.193 42.1733C303.575 40.5609 305.303 39.2941 307.376 38.3728C309.449 37.3363 311.867 36.818 314.631 36.818H362.138L329.142 109.891C329.833 109.891 330.812 109.949 332.079 110.064C333.346 110.179 334.67 110.294 336.052 110.41C337.55 110.525 338.989 110.64 340.371 110.755C341.868 110.87 343.193 110.928 344.344 110.928C346.417 110.928 348.145 110.697 349.527 110.237C351.024 109.776 351.773 108.855 351.773 107.473Z"
|
||||
fill="currentColor"
|
||||
/>
|
||||
</svg>
|
||||
) : (
|
||||
<div className="text-[40px]">{t('gitroom', 'Gitroom')}</div>
|
||||
)}
|
||||
</div>
|
||||
<div className="flex flex-col py-[40px] px-[20px] w-[600px] rounded-[12px] text-white p-[12px] bg-[#1A1919]">
|
||||
<div className="w-full max-w-[440px] mx-auto justify-center gap-[20px] h-full flex flex-col">
|
||||
<Image width={100} height={33} src="/logo-text.svg" alt="Postiz" />
|
||||
<div className="flex">{children}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="text-[36px] flex-1 pt-[88px] flex flex-col items-center">
|
||||
<div className="text-center">
|
||||
Over <span className="text-[42px] text-[#FC69FF]">18,000+</span>{' '}
|
||||
Entrepreneurs use<br />Postiz
|
||||
To Grow Their Social Presence
|
||||
</div>
|
||||
<div className="flex-1 relative w-full mt-[30px] overflow-hidden">
|
||||
<div className="absolute gap-[12px] w-full h-full left-0 top-0 overflow-hidden flex justify-center px-[40px]">
|
||||
<div className="absolute w-full h-[120px] left-0 top-0 blackGradTopBg z-[100]" />
|
||||
<div className="absolute w-full h-[120px] left-0 bottom-0 blackGradBottomBg z-[100]" />
|
||||
<div className="flex flex-col h-full animate-marqueeUp gap-[12px] flex-1">
|
||||
{[1, 2].map((p) => (
|
||||
<div key={p} className="flex flex-col gap-[12px]">
|
||||
<Testimonial />
|
||||
<Testimonial />
|
||||
<Testimonial />
|
||||
<Testimonial />
|
||||
<Testimonial />
|
||||
<Testimonial />
|
||||
<Testimonial />
|
||||
<Testimonial />
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
<div className="flex flex-col h-full animate-marqueeDown gap-[12px] flex-1">
|
||||
{[1, 2].map((p) => (
|
||||
<div key={p} className="flex flex-col gap-[12px]">
|
||||
<Testimonial />
|
||||
<Testimonial />
|
||||
<Testimonial />
|
||||
<Testimonial />
|
||||
<Testimonial />
|
||||
<Testimonial />
|
||||
<Testimonial />
|
||||
<Testimonial />
|
||||
<Testimonial />
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
<div className="p-[32px] w-full h-[660px] text-textColor rbox">
|
||||
{children}
|
||||
</div>
|
||||
<div className="flex flex-1 flex-col">
|
||||
<div className="flex-1 flex justify-end">
|
||||
<div className="absolute top-0 bg-gradient-to-t from-customColor9 w-[1px] translate-x-[22px] h-full" />
|
||||
</div>
|
||||
<div>
|
||||
<div className="absolute end-0 bg-gradient-to-l from-customColor9 h-[1px] translate-y-[60px] w-full" />
|
||||
</div>
|
||||
</div>
|
||||
<div className="absolute top-0 bg-gradient-to-t from-customColor9 w-[1px] -translate-x-[22px] h-full" />
|
||||
<div className="absolute end-0 bg-gradient-to-l from-customColor9 h-[1px] -translate-y-[22px] w-full" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -703,4 +703,31 @@ html[dir='rtl'] [dir='ltr'] {
|
|||
|
||||
.copilotKitMessage a {
|
||||
color: var(--new-btn-text) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes marquee-up {
|
||||
//0% {
|
||||
// transform: translateY(0);
|
||||
//}
|
||||
//100% {
|
||||
// transform: translateY(-50%);
|
||||
//}
|
||||
}
|
||||
|
||||
@keyframes marquee-down {
|
||||
//0% {
|
||||
// transform: translateY(-50%);
|
||||
//}
|
||||
//100% {
|
||||
// transform: translateY(0%);
|
||||
//}
|
||||
}
|
||||
|
||||
.blackGradBottomBg {
|
||||
background: linear-gradient(180deg, #0e0e0e 0%, rgba(14, 14, 14, 0) 100%);
|
||||
rotate: 180deg;
|
||||
}
|
||||
|
||||
.blackGradTopBg {
|
||||
background: linear-gradient(180deg, #0e0e0e 0%, rgba(14, 14, 14, 0) 100%);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -81,5 +81,5 @@ export const NeynarAuthButton: FC<{
|
|||
document.removeEventListener('mousedown', handleOutsideClick);
|
||||
};
|
||||
}, [showModal, handleOutsideClick]);
|
||||
return <div onClick={handleSignIn}>{children}</div>;
|
||||
return <div onClick={handleSignIn} className="flex-1">{children}</div>;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -26,29 +26,32 @@ export const ButtonCaster: FC<{
|
|||
>
|
||||
<NeynarAuthButton onLogin={login}>
|
||||
<div
|
||||
className={`cursor-pointer bg-[#855ECD] h-[44px] rounded-[4px] flex justify-center items-center text-white gap-[4px]`}
|
||||
className={`cursor-pointer bg-white h-[52px] flex-1 rounded-[10px] flex justify-center items-center text-[#0E0E0E] gap-[4px]`}
|
||||
>
|
||||
<svg
|
||||
width="21px"
|
||||
height="21px"
|
||||
viewBox="0 0 1000 1000"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
>
|
||||
<path
|
||||
d="M257.778 155.556H742.222V844.445H671.111V528.889H670.414C662.554 441.677 589.258 373.333 500 373.333C410.742 373.333 337.446 441.677 329.586 528.889H328.889V844.445H257.778V155.556Z"
|
||||
fill="white"
|
||||
/>
|
||||
<path
|
||||
d="M128.889 253.333L157.778 351.111H182.222V746.667C169.949 746.667 160 756.616 160 768.889V795.556H155.556C143.283 795.556 133.333 805.505 133.333 817.778V844.445H382.222V817.778C382.222 805.505 372.273 795.556 360 795.556H355.556V768.889C355.556 756.616 345.606 746.667 333.333 746.667H306.667V253.333H128.889Z"
|
||||
fill="white"
|
||||
/>
|
||||
<path
|
||||
d="M675.556 746.667C663.282 746.667 653.333 756.616 653.333 768.889V795.556H648.889C636.616 795.556 626.667 805.505 626.667 817.778V844.445H875.556V817.778C875.556 805.505 865.606 795.556 853.333 795.556H848.889V768.889C848.889 756.616 838.94 746.667 826.667 746.667V351.111H851.111L880 253.333H702.222V746.667H675.556Z"
|
||||
fill="white"
|
||||
/>
|
||||
<g clip-path="url(#clip0_2026_31786)">
|
||||
<path
|
||||
d="M18.75 0H5.25C2.35051 0 0 2.35051 0 5.25V18.75C0 21.6495 2.35051 24 5.25 24H18.75C21.6495 24 24 21.6495 24 18.75V5.25C24 2.35051 21.6495 0 18.75 0Z"
|
||||
fill="#7C65C1"
|
||||
/>
|
||||
<path
|
||||
d="M17.2139 6.64138H19.9174L19.5312 8.76552H18.8553V16.8759L18.8851 16.8766C19.1912 16.8921 19.4346 17.1452 19.4346 17.4552V17.9379L19.4644 17.9387C19.7705 17.9541 20.0139 18.2073 20.0139 18.5172V19H14.607V18.5172C14.607 18.2073 14.8504 17.9541 15.1566 17.9387L15.1863 17.9379V17.4552C15.1863 17.1452 15.4297 16.8921 15.7359 16.8766L15.7657 16.8759V12.9172C15.7657 10.8376 14.0798 9.15172 12.0001 9.15172C9.92051 9.15172 8.2346 10.8376 8.2346 12.9172V16.8759L8.2644 16.8766C8.5705 16.8921 8.81391 17.1452 8.81391 17.4552V17.9379L8.84371 17.9387C9.14981 17.9541 9.39324 18.2073 9.39324 18.5172V19H3.98633V18.5172C3.98633 18.2073 4.22974 17.9541 4.53584 17.9387L4.56564 17.9379V17.4552C4.56564 17.1452 4.80905 16.8921 5.11515 16.8766L5.14495 16.8759V8.76552H4.46909L4.08288 6.64138H6.78633V5H17.2139V6.64138Z"
|
||||
fill="white"
|
||||
/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_2026_31786">
|
||||
<rect width="24" height="24" fill="white" />
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
<div>{t('continue_with_farcaster', 'Continue with Farcaster')}</div>
|
||||
<div>Farcaster</div>
|
||||
</div>
|
||||
</NeynarAuthButton>
|
||||
</NeynarContextProvider>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ export const GoogleProvider = () => {
|
|||
return (
|
||||
<div
|
||||
onClick={gotoLogin}
|
||||
className={`cursor-pointer bg-white h-[44px] rounded-[4px] flex justify-center items-center text-customColor16 gap-[4px]`}
|
||||
className={`cursor-pointer flex-1 bg-white h-[52px] rounded-[10px] flex justify-center items-center text-[#0E0E0E] gap-[4px]`}
|
||||
>
|
||||
<div>
|
||||
<svg
|
||||
|
|
@ -38,7 +38,7 @@ export const GoogleProvider = () => {
|
|||
/>
|
||||
</svg>
|
||||
</div>
|
||||
<div>{t('continue_with_google', 'Continue with Google')}</div>
|
||||
<div>Google</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ export const OauthProvider = () => {
|
|||
return (
|
||||
<div
|
||||
onClick={gotoLogin}
|
||||
className={`cursor-pointer bg-white h-[44px] rounded-[4px] flex justify-center items-center text-customColor16 gap-[4px]`}
|
||||
className={`cursor-pointer flex-1 bg-white h-[44px] rounded-[4px] flex justify-center items-center text-customColor16 gap-[4px]`}
|
||||
>
|
||||
<div>
|
||||
<Image
|
||||
|
|
|
|||
|
|
@ -5,20 +5,25 @@ export const WalletUiProvider: FC = () => {
|
|||
const t = useT();
|
||||
return (
|
||||
<div
|
||||
className={`cursor-pointer bg-[#0b2181] h-[44px] rounded-[4px] flex justify-center items-center text-white gap-[7px]`}
|
||||
className={`cursor-pointer bg-white flex-1 h-[52px] rounded-[10px] flex justify-center items-center text-[#0E0E0E] gap-[7px]`}
|
||||
>
|
||||
<svg
|
||||
width="18"
|
||||
viewBox="0 0 25 22"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
>
|
||||
<path
|
||||
d="M23 4H3C2.73478 4 2.48043 3.89464 2.29289 3.70711C2.10536 3.51957 2 3.26522 2 3C2 2.73478 2.10536 2.48043 2.29289 2.29289C2.48043 2.10536 2.73478 2 3 2H20C20.2652 2 20.5196 1.89464 20.7071 1.70711C20.8946 1.51957 21 1.26522 21 1C21 0.734784 20.8946 0.48043 20.7071 0.292893C20.5196 0.105357 20.2652 0 20 0H3C2.20435 0 1.44129 0.316071 0.87868 0.87868C0.316071 1.44129 0 2.20435 0 3V19C0 19.7956 0.316071 20.5587 0.87868 21.1213C1.44129 21.6839 2.20435 22 3 22H23C23.5304 22 24.0391 21.7893 24.4142 21.4142C24.7893 21.0391 25 20.5304 25 20V6C25 5.46957 24.7893 4.96086 24.4142 4.58579C24.0391 4.21071 23.5304 4 23 4ZM18.5 14C18.2033 14 17.9133 13.912 17.6666 13.7472C17.42 13.5824 17.2277 13.3481 17.1142 13.074C17.0007 12.7999 16.9709 12.4983 17.0288 12.2074C17.0867 11.9164 17.2296 11.6491 17.4393 11.4393C17.6491 11.2296 17.9164 11.0867 18.2074 11.0288C18.4983 10.9709 18.7999 11.0007 19.074 11.1142C19.3481 11.2277 19.5824 11.42 19.7472 11.6666C19.912 11.9133 20 12.2033 20 12.5C20 12.8978 19.842 13.2794 19.5607 13.5607C19.2794 13.842 18.8978 14 18.5 14Z"
|
||||
fill="#fff"
|
||||
d="M22.0002 10.9702V13.0302C22.0002 13.5802 21.5602 14.0302 21.0002 14.0502H19.0402C17.9602 14.0502 16.9702 13.2602 16.8802 12.1802C16.8202 11.5502 17.0602 10.9602 17.4802 10.5502C17.8502 10.1702 18.3602 9.9502 18.9202 9.9502H21.0002C21.5602 9.9702 22.0002 10.4202 22.0002 10.9702Z"
|
||||
fill="#0E0E0E"
|
||||
/>
|
||||
<path
|
||||
d="M20.47 15.55H19.04C17.14 15.55 15.54 14.12 15.38 12.3C15.29 11.26 15.67 10.22 16.43 9.48C17.07 8.82 17.96 8.45 18.92 8.45H20.47C20.76 8.45 21 8.21 20.97 7.92C20.75 5.49 19.14 3.83 16.75 3.55C16.51 3.51 16.26 3.5 16 3.5H7C6.72 3.5 6.45 3.52 6.19 3.56C3.64 3.88 2 5.78 2 8.5V15.5C2 18.26 4.24 20.5 7 20.5H16C18.8 20.5 20.73 18.75 20.97 16.08C21 15.79 20.76 15.55 20.47 15.55ZM13 9.75H7C6.59 9.75 6.25 9.41 6.25 9C6.25 8.59 6.59 8.25 7 8.25H13C13.41 8.25 13.75 8.59 13.75 9C13.75 9.41 13.41 9.75 13 9.75Z"
|
||||
fill="#0E0E0E"
|
||||
/>
|
||||
</svg>
|
||||
{t('continue_with_your_wallet', 'Continue with your Wallet')}
|
||||
Wallet
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ const InnerWallet = () => {
|
|||
}
|
||||
}, [buttonState]);
|
||||
return (
|
||||
<div onClick={() => walletModal.setVisible(true)}>
|
||||
<div onClick={() => walletModal.setVisible(true)} className="flex-1">
|
||||
<WalletUiProvider />
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -144,99 +144,115 @@ export function RegisterAfter({
|
|||
};
|
||||
return (
|
||||
<FormProvider {...form}>
|
||||
<form onSubmit={form.handleSubmit(onSubmit)}>
|
||||
<div>
|
||||
<h1 className="text-3xl font-bold text-start mb-4 cursor-pointer">
|
||||
{t('sign_up', 'Sign Up')}
|
||||
</h1>
|
||||
</div>
|
||||
{!isAfterProvider &&
|
||||
(!isGeneral ? (
|
||||
<GithubProvider />
|
||||
) : (
|
||||
<div className="gap-[5px] flex flex-col">
|
||||
{genericOauth && isGeneral ? (
|
||||
<OauthProvider />
|
||||
<form className="flex-1 flex" onSubmit={form.handleSubmit(onSubmit)}>
|
||||
<div className="flex flex-col flex-1">
|
||||
<div>
|
||||
<h1 className="text-[40px] font-[500] -tracking-[0.8px] text-start cursor-pointer">
|
||||
{t('sign_up', 'Sign Up')}
|
||||
</h1>
|
||||
</div>
|
||||
<div className="text-[14px] mt-[32px] mb-[12px]">Continue With</div>
|
||||
<div className="flex flex-col">
|
||||
{!isAfterProvider &&
|
||||
(!isGeneral ? (
|
||||
<GithubProvider />
|
||||
) : (
|
||||
<GoogleProvider />
|
||||
)}
|
||||
{!!neynarClientId && <FarcasterProvider />}
|
||||
{billingEnabled && <WalletProvider />}
|
||||
</div>
|
||||
))}
|
||||
{!isAfterProvider && (
|
||||
<div className="h-[20px] mb-[24px] mt-[24px] relative">
|
||||
<div className="absolute w-full h-[1px] bg-fifth top-[50%] -translate-y-[50%]" />
|
||||
<div
|
||||
className={`absolute z-[1] justify-center items-center w-full start-0 top-0 flex`}
|
||||
>
|
||||
<div className="bg-customColor15 px-[16px]">{t('or', 'OR')}</div>
|
||||
<div className="gap-[8px] flex">
|
||||
{genericOauth && isGeneral ? (
|
||||
<OauthProvider />
|
||||
) : (
|
||||
<GoogleProvider />
|
||||
)}
|
||||
{!!neynarClientId && <FarcasterProvider />}
|
||||
{billingEnabled && <WalletProvider />}
|
||||
</div>
|
||||
))}
|
||||
{!isAfterProvider && (
|
||||
<div className="h-[20px] mb-[24px] mt-[24px] relative">
|
||||
<div className="absolute w-full h-[1px] bg-fifth top-[50%] -translate-y-[50%]" />
|
||||
<div
|
||||
className={`absolute z-[1] justify-center items-center w-full start-0 -top-[4px] flex`}
|
||||
>
|
||||
<div className="px-[16px]">
|
||||
or
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
<div className="flex flex-col gap-[12px]">
|
||||
<div className="text-textColor">
|
||||
{!isAfterProvider && (
|
||||
<>
|
||||
<Input
|
||||
label="Email"
|
||||
{...form.register('email')}
|
||||
type="email"
|
||||
placeholder="Email Address"
|
||||
/>
|
||||
<Input
|
||||
label="Password"
|
||||
{...form.register('password')}
|
||||
autoComplete="off"
|
||||
type="password"
|
||||
placeholder="Password"
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
<Input
|
||||
label="Company"
|
||||
{...form.register('company')}
|
||||
autoComplete="off"
|
||||
type="text"
|
||||
placeholder="Company"
|
||||
/>
|
||||
</div>
|
||||
<div className={clsx('text-[12px]')}>
|
||||
{t(
|
||||
'by_registering_you_agree_to_our',
|
||||
'By registering you agree to our'
|
||||
)}
|
||||
|
||||
<a
|
||||
href={`https://postiz.com/terms`}
|
||||
className="underline hover:font-bold"
|
||||
rel="nofollow"
|
||||
>
|
||||
{t('terms_of_service', 'Terms of Service')}
|
||||
</a>
|
||||
|
||||
{t('and', 'and')}
|
||||
<a
|
||||
href={`https://postiz.com/privacy`}
|
||||
rel="nofollow"
|
||||
className="underline hover:font-bold"
|
||||
>
|
||||
{t('privacy_policy', 'Privacy Policy')}
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div className="text-center mt-6">
|
||||
<div className="w-full flex">
|
||||
<Button
|
||||
type="submit"
|
||||
className="flex-1 rounded-[10px] !h-[52px]"
|
||||
loading={loading}
|
||||
>
|
||||
{t('create_account', 'Create Account')}
|
||||
</Button>
|
||||
</div>
|
||||
<p className="mt-4 text-sm">
|
||||
{t('already_have_an_account', 'Already Have An Account?')}
|
||||
|
||||
<Link
|
||||
href="/auth/login"
|
||||
className="underline cursor-pointer"
|
||||
>
|
||||
{t('sign_in', 'Sign In')}
|
||||
</Link>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
<div className="text-textColor">
|
||||
{!isAfterProvider && (
|
||||
<>
|
||||
<Input
|
||||
label="Email"
|
||||
{...form.register('email')}
|
||||
type="email"
|
||||
placeholder="Email Address"
|
||||
/>
|
||||
<Input
|
||||
label="Password"
|
||||
{...form.register('password')}
|
||||
autoComplete="off"
|
||||
type="password"
|
||||
placeholder="Password"
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
<Input
|
||||
label="Company"
|
||||
{...form.register('company')}
|
||||
autoComplete="off"
|
||||
type="text"
|
||||
placeholder="Company"
|
||||
/>
|
||||
</div>
|
||||
<div className={clsx('text-[12px]')}>
|
||||
{t(
|
||||
'by_registering_you_agree_to_our',
|
||||
'By registering you agree to our'
|
||||
)}
|
||||
<a
|
||||
href={`https://postiz.com/terms`}
|
||||
className="underline hover:font-bold"
|
||||
rel="nofollow"
|
||||
>
|
||||
{t('terms_of_service', 'Terms of Service')}
|
||||
</a>
|
||||
{t('and', 'and')}
|
||||
<a
|
||||
href={`https://postiz.com/privacy`}
|
||||
rel="nofollow"
|
||||
className="underline hover:font-bold"
|
||||
>
|
||||
{t('privacy_policy', 'Privacy Policy')}
|
||||
</a>
|
||||
</div>
|
||||
<div className="text-center mt-6">
|
||||
<div className="w-full flex">
|
||||
<Button
|
||||
type="submit"
|
||||
className="flex-1 rounded-[4px]"
|
||||
loading={loading}
|
||||
>
|
||||
{t('create_account', 'Create Account')}
|
||||
</Button>
|
||||
</div>
|
||||
<p className="mt-4 text-sm">
|
||||
{t('already_have_an_account', 'Already Have An Account?')}
|
||||
<Link href="/auth/login" className="underline cursor-pointer">
|
||||
{t('sign_in', 'Sign In')}
|
||||
</Link>
|
||||
</p>
|
||||
</div>
|
||||
</form>
|
||||
</FormProvider>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,16 @@
|
|||
export const Testimonial = () => {
|
||||
return (
|
||||
<div className="rounded-[16px] w-full flex flex-col gap-[16px] p-[20px] bg-[#1A1919] border border-[#2b2a2a]">
|
||||
<div className="flex gap-[12px]">
|
||||
<div className="w-[36px] h-[36px] rounded-full overflow-hidden bg-white" />
|
||||
<div className="flex-col -mt-[4px]">
|
||||
<div className="text-[16px] font-[700]">name</div>
|
||||
<div className="text-[11px] font-[400] text-[#D1D1D1]">description</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="text-[12px] font-[400] text-[#FFF]">
|
||||
content
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
@ -116,6 +116,8 @@ module.exports = {
|
|||
fadeDown: 'fadeDown 4s ease-in-out forwards',
|
||||
normalFadeDown: 'normalFadeDown 0.5s ease-in-out forwards',
|
||||
newMessages: 'newMessages 1s ease-in-out 4s forwards',
|
||||
marqueeUp: 'marquee-up 10s linear infinite',
|
||||
marqueeDown: 'marquee-down 10s linear infinite',
|
||||
},
|
||||
boxShadow: {
|
||||
yellow: '0 0 60px 20px #6b6237',
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
export const testomonials1 = [
|
||||
{
|
||||
picture: '',
|
||||
name: '',
|
||||
handle: '',
|
||||
content: <>Content</>,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
export const testomonials2 = [
|
||||
{
|
||||
picture: '',
|
||||
name: '',
|
||||
handle: '',
|
||||
content: <>Content</>,
|
||||
},
|
||||
];
|
||||
Loading…
Reference in New Issue