TF-2387 Add Privacy Policy button to starting page in mobile

This commit is contained in:
dab246
2024-09-05 15:33:48 +07:00
committed by Dat H. Pham
parent 0b777ab951
commit 541f5cbe7b
7 changed files with 61 additions and 46 deletions
+32 -41
View File
@@ -1,57 +1,48 @@
<svg width="236" height="179" viewBox="0 0 236 179" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_1453_29637)">
<rect x="74.2604" y="16.4812" width="87.7343" height="87.7343" rx="28.9745" fill="white"/>
<rect x="74.2604" y="16.4812" width="87.7343" height="87.7343" rx="28.9745" fill="url(#paint0_linear_1453_29637)"/>
<rect x="74.2604" y="16.4812" width="87.7343" height="87.7343" rx="28.9745" fill="url(#paint1_linear_1453_29637)"/>
<rect x="74.2604" y="16.4812" width="87.7343" height="87.7343" rx="28.9745" fill="url(#paint2_linear_1453_29637)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M88.8062 47.0205C86.7251 48.6076 85.5038 51.0749 85.5038 53.6921V82.0549C85.5038 87.6155 90.0115 92.1233 95.5721 92.1233H140.582C146.142 92.1233 150.65 87.6155 150.65 82.0549V53.6921C150.65 51.0749 149.429 48.6076 147.348 47.0205L123.165 28.5782C120.16 26.2866 115.994 26.2866 112.989 28.5782L88.8062 47.0205ZM92.7423 53.0876V81.6698C92.7423 83.5233 94.2449 85.0259 96.0984 85.0259H140.056C141.909 85.0259 143.412 83.5233 143.412 81.6698V53.0876L121.927 68.1343C119.616 69.7534 116.538 69.7534 114.226 68.1343L92.7423 53.0876Z" fill="white"/>
</g>
<g clip-path="url(#clip1_1453_29637)">
<path d="M24.8289 137.75H16.6633V132.606H38.7105V137.75H30.5448V161.186H24.8289V137.75Z" fill="black"/>
<path d="M34.738 139.955H41.1889L43.9243 151.999C44.2237 153.224 44.4415 154.299 44.5776 155.225C44.7681 154.054 44.9995 152.966 45.2717 151.958L48.3746 139.955H54.703L58.0101 151.958C58.2822 152.966 58.5136 154.054 58.7041 155.225C58.8402 154.299 59.058 153.224 59.3574 151.999L62.297 139.955H68.2988L61.6846 161.186H55.7237L52.2533 149.101C51.9267 148.121 51.6817 147.059 51.5184 145.916C51.3279 147.168 51.1101 148.23 50.8651 149.101L47.6805 161.186H41.3522L34.738 139.955Z" fill="black"/>
<path d="M78.1562 161.716C76.2509 161.716 74.4953 161.226 72.8894 160.247C71.2835 159.24 70.0042 157.892 69.0515 156.205C68.1261 154.517 67.6634 152.666 67.6634 150.652C67.6634 148.638 68.1261 146.787 69.0515 145.099C70.0042 143.385 71.2835 142.024 72.8894 141.017C74.4953 140.009 76.2509 139.506 78.1562 139.506C79.8982 139.506 81.3 139.833 82.3615 140.486C83.4503 141.139 84.294 142.078 84.8929 143.303V139.955H90.3638V161.186H85.0153V157.715C84.3893 158.995 83.5319 159.988 82.4432 160.696C81.3816 161.376 79.9526 161.716 78.1562 161.716ZM73.1752 150.611C73.1752 151.7 73.4201 152.721 73.9101 153.673C74.4272 154.599 75.1213 155.347 75.9923 155.919C76.8905 156.463 77.9112 156.735 79.0544 156.735C80.2248 156.735 81.2591 156.463 82.1574 155.919C83.0828 155.374 83.7905 154.64 84.2804 153.714C84.7704 152.789 85.0153 151.768 85.0153 150.652C85.0153 149.536 84.7704 148.515 84.2804 147.59C83.7905 146.637 83.0828 145.889 82.1574 145.344C81.2591 144.773 80.2248 144.487 79.0544 144.487C77.9112 144.487 76.8905 144.773 75.9923 145.344C75.0941 145.889 74.4 146.624 73.9101 147.549C73.4201 148.474 73.1752 149.495 73.1752 150.611Z" fill="black"/>
<path d="M99.1505 151.101V161.186H93.6387V131.381H99.1505V148.529L107.112 139.955H114.951L104.948 149.835L114.992 161.186H107.684L99.1505 151.101Z" fill="black"/>
<path d="M123.9 161.716C121.75 161.716 119.844 161.226 118.184 160.247C116.524 159.24 115.231 157.892 114.305 156.205C113.38 154.517 112.917 152.653 112.917 150.611C112.917 148.597 113.394 146.732 114.346 145.018C115.299 143.303 116.605 141.942 118.266 140.935C119.953 139.928 121.831 139.424 123.9 139.424C125.969 139.424 127.82 139.928 129.453 140.935C131.113 141.942 132.392 143.303 133.29 145.018C134.216 146.705 134.679 148.57 134.679 150.611C134.679 151.292 134.624 151.945 134.515 152.571H118.633C118.96 153.85 119.572 154.884 120.47 155.674C121.396 156.436 122.539 156.817 123.9 156.817C125.043 156.817 126.064 156.558 126.962 156.041C127.86 155.497 128.568 154.803 129.085 153.959L133.372 157.184C132.501 158.545 131.222 159.648 129.534 160.492C127.847 161.308 125.969 161.716 123.9 161.716ZM129.126 148.447C128.799 147.222 128.16 146.202 127.207 145.385C126.254 144.569 125.125 144.16 123.818 144.16C122.539 144.16 121.423 144.555 120.47 145.344C119.545 146.134 118.933 147.168 118.633 148.447H129.126Z" fill="black"/>
<path d="M146.298 133.458H152.891L158.386 145.168C159.927 148.427 160.912 150.789 161.342 152.254C161.695 150.89 162.668 148.528 164.259 145.168L169.792 133.458H176.158V159.985H170.967V149.26C170.967 147.517 170.992 146.103 171.043 145.016C171.093 143.93 171.194 142.781 171.346 141.568L162.516 159.985H159.939L151.11 141.568C151.262 142.781 151.363 143.93 151.413 145.016C151.464 146.103 151.489 147.517 151.489 149.26V159.985H146.298V133.458Z" fill="url(#paint3_linear_1453_29637)"/>
<path d="M188.538 160.477C186.77 160.477 185.14 160.022 183.65 159.113C182.159 158.178 180.972 156.928 180.088 155.361C179.229 153.795 178.799 152.077 178.799 150.208C178.799 148.338 179.229 146.62 180.088 145.054C180.972 143.463 182.159 142.199 183.65 141.265C185.14 140.33 186.77 139.863 188.538 139.863C190.155 139.863 191.456 140.166 192.441 140.772C193.452 141.378 194.235 142.25 194.791 143.387V140.279H199.869V159.985H194.904V156.764C194.323 157.951 193.528 158.873 192.517 159.53C191.532 160.161 190.206 160.477 188.538 160.477ZM183.915 150.17C183.915 151.18 184.142 152.128 184.597 153.012C185.077 153.871 185.721 154.566 186.53 155.096C187.363 155.601 188.311 155.854 189.372 155.854C190.458 155.854 191.418 155.601 192.252 155.096C193.111 154.591 193.768 153.909 194.222 153.05C194.677 152.191 194.904 151.244 194.904 150.208C194.904 149.172 194.677 148.225 194.222 147.366C193.768 146.482 193.111 145.787 192.252 145.282C191.418 144.751 190.458 144.486 189.372 144.486C188.311 144.486 187.363 144.751 186.53 145.282C185.696 145.787 185.052 146.469 184.597 147.328C184.142 148.187 183.915 149.134 183.915 150.17Z" fill="url(#paint4_linear_1453_29637)"/>
<path d="M202.908 140.279H208.024V159.985H202.908V140.279ZM202.378 135.618C202.378 134.785 202.668 134.077 203.249 133.496C203.856 132.915 204.588 132.625 205.447 132.625C206.331 132.625 207.064 132.915 207.645 133.496C208.226 134.077 208.517 134.785 208.517 135.618C208.517 136.477 208.226 137.197 207.645 137.778C207.064 138.359 206.331 138.65 205.447 138.65C204.588 138.65 203.856 138.359 203.249 137.778C202.668 137.172 202.378 136.452 202.378 135.618Z" fill="url(#paint5_linear_1453_29637)"/>
<path d="M211.05 132.322H216.165V159.985H211.05V132.322Z" fill="url(#paint6_linear_1453_29637)"/>
<svg width="886" height="403" viewBox="0 0 886 403" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M36.2437 295.375H0V272.541H97.858V295.375H61.6143V399.394H36.2437V295.375Z" fill="black"/>
<path d="M80.226 305.161H108.859L121 358.62C122.329 364.057 123.296 368.829 123.9 372.936C124.745 367.741 125.772 362.909 126.98 358.439L140.753 305.161H168.842L183.521 358.439C184.729 362.909 185.756 367.741 186.601 372.936C187.205 368.829 188.172 364.057 189.501 358.62L202.549 305.161H229.188L199.83 399.394H173.372L157.969 345.754C156.519 341.404 155.432 336.693 154.707 331.618C153.861 337.176 152.895 341.888 151.807 345.754L137.672 399.394H109.583L80.226 305.161Z" fill="black"/>
<path d="M272.941 401.75C264.484 401.75 256.691 399.575 249.563 395.226C242.436 390.756 236.757 384.776 232.529 377.286C228.421 369.795 226.367 361.58 226.367 352.64C226.367 343.7 228.421 335.484 232.529 327.994C236.757 320.383 242.436 314.342 249.563 309.872C256.691 305.402 264.484 303.167 272.941 303.167C280.673 303.167 286.895 304.617 291.606 307.516C296.439 310.416 300.184 314.584 302.842 320.021V305.161H327.125V399.394H303.385V383.991C300.607 389.669 296.801 394.078 291.969 397.22C287.257 400.24 280.914 401.75 272.941 401.75ZM250.832 352.459C250.832 357.291 251.919 361.822 254.094 366.05C256.389 370.158 259.47 373.48 263.336 376.017C267.323 378.433 271.853 379.641 276.927 379.641C282.122 379.641 286.713 378.433 290.7 376.017C294.808 373.601 297.949 370.339 300.123 366.231C302.298 362.124 303.385 357.593 303.385 352.64C303.385 347.687 302.298 343.156 300.123 339.048C297.949 334.82 294.808 331.498 290.7 329.081C286.713 326.544 282.122 325.276 276.927 325.276C271.853 325.276 267.323 326.544 263.336 329.081C259.349 331.498 256.269 334.76 254.094 338.867C251.919 342.975 250.832 347.505 250.832 352.459Z" fill="black"/>
<path d="M366.125 354.633V399.394H341.661V267.105H366.125V343.216L401.463 305.161H436.257L391.858 349.015L436.438 399.394H404L366.125 354.633Z" fill="black"/>
<path d="M475.978 401.75C466.433 401.75 457.977 399.575 450.607 395.226C443.237 390.756 437.499 384.776 433.391 377.286C429.284 369.795 427.23 361.52 427.23 352.459C427.23 343.519 429.344 335.243 433.573 327.632C437.801 320.021 443.6 313.98 450.969 309.51C458.46 305.04 466.796 302.805 475.978 302.805C485.159 302.805 493.375 305.04 500.623 309.51C507.993 313.98 513.671 320.021 517.658 327.632C521.766 335.122 523.819 343.398 523.819 352.459C523.819 355.479 523.578 358.378 523.094 361.157H452.6C454.05 366.835 456.768 371.426 460.755 374.93C464.863 378.312 469.937 380.004 475.978 380.004C481.052 380.004 485.582 378.856 489.569 376.561C493.556 374.144 496.697 371.064 498.992 367.319L518.02 381.635C514.154 387.675 508.476 392.568 500.986 396.314C493.495 399.938 485.159 401.75 475.978 401.75ZM499.174 342.854C497.724 337.417 494.885 332.887 490.656 329.263C486.428 325.638 481.414 323.826 475.615 323.826C469.937 323.826 464.984 325.578 460.755 329.081C456.648 332.585 453.929 337.176 452.6 342.854H499.174Z" fill="black"/>
<path d="M575.389 282.151H604.655L629.043 334.123C635.883 348.588 640.257 359.073 642.163 365.576C643.733 359.521 648.05 349.037 655.114 334.123L679.671 282.151H707.928V399.888H684.885V352.289C684.885 344.552 684.997 338.272 685.221 333.451C685.446 328.629 685.894 323.527 686.567 318.145L647.377 399.888H635.94L596.75 318.145C597.422 323.527 597.871 328.629 598.095 333.451C598.32 338.272 598.432 344.552 598.432 352.289V399.888H575.389V282.151Z" fill="url(#paint0_linear_57681_2055)"/>
<path d="M762.877 402.075C755.028 402.075 747.795 400.057 741.18 396.02C734.564 391.871 729.294 386.321 725.369 379.368C721.557 372.416 719.65 364.791 719.65 356.494C719.65 348.196 721.557 340.571 725.369 333.619C729.294 326.555 734.564 320.948 741.18 316.799C747.795 312.65 755.028 310.576 762.877 310.576C770.053 310.576 775.828 311.921 780.201 314.613C784.686 317.304 788.163 321.172 790.629 326.218V312.426H813.168V399.888H791.134V385.592C788.555 390.862 785.023 394.955 780.538 397.87C776.165 400.673 770.278 402.075 762.877 402.075ZM742.357 356.325C742.357 360.811 743.366 365.016 745.384 368.94C747.515 372.753 750.374 375.836 753.963 378.191C757.663 380.434 761.868 381.555 766.577 381.555C771.399 381.555 775.66 380.434 779.36 378.191C783.173 375.948 786.088 372.921 788.106 369.108C790.125 365.296 791.134 361.091 791.134 356.494C791.134 351.896 790.125 347.691 788.106 343.879C786.088 339.954 783.173 336.871 779.36 334.628C775.66 332.273 771.399 331.096 766.577 331.096C761.868 331.096 757.663 332.273 753.963 334.628C750.262 336.871 747.403 339.898 745.384 343.711C743.366 347.523 742.357 351.728 742.357 356.325Z" fill="url(#paint1_linear_57681_2055)"/>
<path d="M826.659 312.426H849.366V399.888H826.659V312.426ZM824.304 291.738C824.304 288.037 825.594 284.898 828.173 282.319C830.864 279.74 834.116 278.45 837.928 278.45C841.853 278.45 845.105 279.74 847.684 282.319C850.263 284.898 851.552 288.037 851.552 291.738C851.552 295.55 850.263 298.746 847.684 301.325C845.105 303.904 841.853 305.194 837.928 305.194C834.116 305.194 830.864 303.904 828.173 301.325C825.594 298.634 824.304 295.438 824.304 291.738Z" fill="url(#paint2_linear_57681_2055)"/>
<path d="M862.795 277.105H885.502V399.888H862.795V277.105Z" fill="url(#paint3_linear_57681_2055)"/>
<rect x="345" y="-9.53674e-05" width="196.105" height="196.105" rx="64.7641" fill="white"/>
<rect x="345" y="-9.53674e-05" width="196.105" height="196.105" rx="64.7641" fill="url(#paint4_linear_57681_2055)"/>
<g filter="url(#filter0_d_57681_2055)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M385.352 72.1512C380.719 75.6846 378 81.1776 378 87.0044V140.32C378 152.7 388.036 162.735 400.415 162.735H485.585C497.964 162.735 508 152.7 508 140.32V87.0044C508 81.1776 505.281 75.6846 500.648 72.1512L454.327 36.8264C447.637 31.7246 438.363 31.7246 431.673 36.8264L385.352 72.1512ZM392.444 84.8396V141.101C392.444 145.227 395.79 148.573 399.916 148.573H486.084C490.21 148.573 493.556 145.227 493.556 141.101V84.8396L451.573 114.243C446.426 117.847 439.574 117.847 434.427 114.243L392.444 84.8396Z" fill="white"/>
</g>
<defs>
<linearGradient id="paint0_linear_1453_29637" x1="161.995" y1="67.6596" x2="138.241" y2="52.4944" gradientUnits="userSpaceOnUse">
<stop offset="0.12998" stop-color="#A033FF"/>
<stop offset="0.610381" stop-color="#0094FF"/>
<stop offset="1" stop-color="#1D90FF"/>
</linearGradient>
<linearGradient id="paint1_linear_1453_29637" x1="114.472" y1="43.8982" x2="87.055" y2="98.7321" gradientUnits="userSpaceOnUse">
<stop stop-color="#FFD600" stop-opacity="0"/>
<stop offset="0.563347" stop-color="#FFC700"/>
</linearGradient>
<linearGradient id="paint2_linear_1453_29637" x1="121.783" y1="67.6596" x2="152.856" y2="100.56" gradientUnits="userSpaceOnUse">
<stop offset="0.0297327" stop-color="#FF3B30" stop-opacity="0"/>
<stop offset="0.842824" stop-color="#E73B2D"/>
</linearGradient>
<linearGradient id="paint3_linear_1453_29637" x1="154.308" y1="125.349" x2="180.646" y2="179.001" gradientUnits="userSpaceOnUse">
<filter id="filter0_d_57681_2055" x="368" y="25.0001" width="150" height="149.735" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dy="2"/>
<feGaussianBlur stdDeviation="5"/>
<feComposite in2="hardAlpha" operator="out"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_57681_2055"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_57681_2055" result="shape"/>
</filter>
<linearGradient id="paint0_linear_57681_2055" x1="610.944" y1="246.157" x2="610.944" y2="401.931" gradientUnits="userSpaceOnUse">
<stop stop-color="#57B9FF"/>
<stop offset="1" stop-color="#0B84FF"/>
</linearGradient>
<linearGradient id="paint4_linear_1453_29637" x1="154.308" y1="125.349" x2="180.646" y2="179.001" gradientUnits="userSpaceOnUse">
<linearGradient id="paint1_linear_57681_2055" x1="610.944" y1="246.157" x2="610.944" y2="401.931" gradientUnits="userSpaceOnUse">
<stop stop-color="#57B9FF"/>
<stop offset="1" stop-color="#0B84FF"/>
</linearGradient>
<linearGradient id="paint5_linear_1453_29637" x1="154.308" y1="125.349" x2="180.646" y2="179.001" gradientUnits="userSpaceOnUse">
<linearGradient id="paint2_linear_57681_2055" x1="610.944" y1="246.157" x2="610.944" y2="401.931" gradientUnits="userSpaceOnUse">
<stop stop-color="#57B9FF"/>
<stop offset="1" stop-color="#0B84FF"/>
</linearGradient>
<linearGradient id="paint6_linear_1453_29637" x1="154.308" y1="125.349" x2="180.646" y2="179.001" gradientUnits="userSpaceOnUse">
<linearGradient id="paint3_linear_57681_2055" x1="610.944" y1="246.157" x2="610.944" y2="401.931" gradientUnits="userSpaceOnUse">
<stop stop-color="#57B9FF"/>
<stop offset="1" stop-color="#0B84FF"/>
</linearGradient>
<clipPath id="clip0_1453_29637">
<rect width="88" height="88" fill="white" transform="translate(74.4348 16)"/>
</clipPath>
<clipPath id="clip1_1453_29637">
<rect width="203.13" height="32" fill="white" transform="translate(16.4348 131)"/>
</clipPath>
<linearGradient id="paint4_linear_57681_2055" x1="372.5" y1="175.5" x2="536.5" y2="9.4999" gradientUnits="userSpaceOnUse">
<stop stop-color="#1E91FF"/>
<stop offset="0.997303" stop-color="#2ED9FF"/>
</linearGradient>
</defs>
</svg>

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

@@ -9,7 +9,6 @@ import 'package:tmail_ui_user/features/base/widget/recent_item_tile_widget.dart'
import 'package:tmail_ui_user/features/login/domain/model/recent_login_url.dart';
import 'package:tmail_ui_user/features/login/presentation/base_login_view.dart';
import 'package:tmail_ui_user/features/login/presentation/login_form_type.dart';
import 'package:tmail_ui_user/features/login/presentation/privacy_link_widget.dart';
import 'package:tmail_ui_user/features/login/presentation/widgets/dns_lookup_input_form.dart';
import 'package:tmail_ui_user/features/login/presentation/widgets/horizontal_progress_loading_button.dart';
import 'package:tmail_ui_user/features/login/presentation/widgets/login_back_button.dart';
@@ -2,14 +2,13 @@ import 'package:core/presentation/extensions/color_extension.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/widgets.dart';
import 'package:tmail_ui_user/main/localizations/app_localizations.dart';
import 'package:tmail_ui_user/main/utils/app_config.dart';
import 'package:tmail_ui_user/main/utils/app_utils.dart';
class PrivacyLinkWidget extends StatelessWidget {
static const linagoraPrivacy = 'https://www.linagora.com/en/legal/privacy';
final String privacyUrlString;
const PrivacyLinkWidget({Key? key, this.privacyUrlString = linagoraPrivacy}) : super(key: key);
const PrivacyLinkWidget({Key? key, this.privacyUrlString = AppConfig.linagoraPrivacyUrl}) : super(key: key);
@override
Widget build(BuildContext context) {
@@ -3,6 +3,8 @@ import 'package:tmail_ui_user/features/login/presentation/login_form_type.dart';
import 'package:tmail_ui_user/features/login/presentation/model/login_arguments.dart';
import 'package:tmail_ui_user/main/routes/app_routes.dart';
import 'package:tmail_ui_user/main/routes/route_navigation.dart';
import 'package:tmail_ui_user/main/utils/app_config.dart';
import 'package:tmail_ui_user/main/utils/app_utils.dart';
class TwakeWelcomeController extends BaseController {
@@ -11,4 +13,8 @@ class TwakeWelcomeController extends BaseController {
AppRoutes.login,
arguments: LoginArguments(LoginFormType.dnsLookupForm));
}
void onClickPrivacyPolicy() {
AppUtils.launchLink(AppConfig.linagoraPrivacyUrl);
}
}
@@ -4,6 +4,7 @@ import 'package:flutter_svg/flutter_svg.dart';
import 'package:get/get.dart';
import 'package:linagora_design_flutter/linagora_design_flutter.dart';
import 'package:tmail_ui_user/features/starting_page/presentation/twake_welcome/twake_welcome_controller.dart';
import 'package:tmail_ui_user/features/starting_page/presentation/twake_welcome/twake_welcome_view_style.dart';
import 'package:tmail_ui_user/main/localizations/app_localizations.dart';
class TwakeWelcomeView extends GetWidget<TwakeWelcomeController> {
@@ -18,11 +19,25 @@ class TwakeWelcomeView extends GetWidget<TwakeWelcomeController> {
]);
return TwakeWelcomeScreen(
logo: SvgPicture.asset(controller.imagePaths.icLogoTwakeWelcome),
logo: Padding(
padding: const EdgeInsetsDirectional.only(bottom: 16),
child: SvgPicture.asset(
controller.imagePaths.icLogoTwakeWelcome,
width: TwakeWelcomeViewStyle.logoWidth,
height: TwakeWelcomeViewStyle.logoHeight,
),
),
focusColor: Colors.transparent,
hoverColor: Colors.transparent,
highlightColor: Colors.transparent,
overlayColor: WidgetStateProperty.all(Colors.transparent),
signInTitle: AppLocalizations.of(context).signIn.capitalizeFirst ?? '',
createTwakeIdTitle: AppLocalizations.of(context).createTwakeId,
useCompanyServerTitle: AppLocalizations.of(context).useCompanyServer,
description: AppLocalizations.of(context).descriptionWelcomeTo,
privacyPolicy: AppLocalizations.of(context).privacyPolicy,
descriptionPrivacyPolicy: AppLocalizations.of(context).byContinuingYouAreAgreeingToOur,
onPrivacyPolicyOnTap: controller.onClickPrivacyPolicy,
onUseCompanyServerOnTap: controller.handleUseCompanyServer,
);
}
@@ -0,0 +1,4 @@
class TwakeWelcomeViewStyle {
static const double logoWidth = 205;
static const double logoHeight = 147;
}
+1
View File
@@ -15,6 +15,7 @@ class AppConfig {
static const String iOSKeychainSharingGroupId = 'KUT463DS29.com.linagora.ios.teammail.shared';
static const String iOSKeychainSharingService = 'com.linagora.ios.teammail.sessions';
static const String saasPlatform = 'saas';
static const String linagoraPrivacyUrl = 'https://www.linagora.com/en/legal/privacy';
static String get baseUrl => dotenv.get('SERVER_URL', fallback: '');
static String get domainRedirectUrl => dotenv.get('DOMAIN_REDIRECT_URL', fallback: '');