loading-branded.tsx 793 B

1234567891011121314151617181920212223242526272829
  1. import { useTranslation } from 'react-i18next'
  2. type LoadingBrandedTypes = {
  3. loadProgress: number
  4. }
  5. export default function LoadingBranded({ loadProgress }: LoadingBrandedTypes) {
  6. const { t } = useTranslation()
  7. return (
  8. <div className="loading-screen-brand-container">
  9. <div
  10. className="loading-screen-brand"
  11. style={{ height: `${loadProgress}%` }}
  12. />
  13. <div className="h3 loading-screen-label" aria-live="polite">
  14. {t('loading')}
  15. <span className="loading-screen-ellip" aria-hidden="true">
  16. .
  17. </span>
  18. <span className="loading-screen-ellip" aria-hidden="true">
  19. .
  20. </span>
  21. <span className="loading-screen-ellip" aria-hidden="true">
  22. .
  23. </span>
  24. </div>
  25. </div>
  26. )
  27. }