Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

CompanyInfo.tsx 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. import { Typography } from '@mui/material';
  2. import { Box } from '@mui/system';
  3. import { useTranslation } from 'next-i18next';
  4. import Image from 'next/image';
  5. const CompanyInfo: React.FC = () => {
  6. const { t } = useTranslation('home');
  7. return (
  8. <>
  9. <Box
  10. sx={{
  11. display: 'flex',
  12. flexDirection: { xs: 'column', md: 'row' },
  13. backgroundColor: 'primary.main',
  14. height: '100%',
  15. paddingTop: '64px',
  16. paddingBottom: '62px',
  17. }}
  18. >
  19. <Box
  20. sx={{
  21. width: { xs: '100%', lg: '50%' },
  22. height: '100%',
  23. display: 'flex',
  24. flexDirection: 'column',
  25. alignItems: 'center',
  26. justifyContent: 'center',
  27. paddingBottom: { xs: '60px', md: '0px' },
  28. }}
  29. >
  30. <Typography
  31. variant="h3"
  32. sx={{
  33. fontSize: { xs: '32px', md: '38px', lg: '48px' },
  34. textAlign: 'center',
  35. width: '100%',
  36. color: 'white',
  37. }}
  38. >
  39. {t('home:infoTitle')}
  40. </Typography>
  41. <Box
  42. sx={{
  43. mt: 3,
  44. display: 'flex',
  45. width: '100%',
  46. justifyContent: 'center',
  47. height: 60,
  48. textAlign: 'center',
  49. }}
  50. >
  51. <Image src="/images/pin.svg" alt="map" width={50} height={50} />
  52. <Typography
  53. sx={{
  54. color: 'white',
  55. pt: 2,
  56. pl: 2,
  57. }}
  58. >
  59. {t('home:address')}
  60. </Typography>
  61. </Box>
  62. <Box
  63. sx={{
  64. mt: 3,
  65. display: 'flex',
  66. width: '100%',
  67. justifyContent: 'center',
  68. height: 60,
  69. }}
  70. >
  71. <Image src="/images/clock.svg" alt="map" width={50} height={50} />
  72. <Typography
  73. sx={{
  74. color: 'white',
  75. pt: 2,
  76. pl: 2,
  77. mr: -4,
  78. }}
  79. >
  80. {t('home:open')}
  81. </Typography>
  82. </Box>
  83. <Box
  84. sx={{
  85. mt: 3,
  86. display: 'flex',
  87. width: '100%',
  88. justifyContent: 'center',
  89. height: 60,
  90. }}
  91. >
  92. <Image src="/images/mail.svg" alt="map" width={50} height={50} />
  93. <Typography
  94. sx={{
  95. color: 'white',
  96. pt: 2,
  97. pl: 2,
  98. mr: -3,
  99. }}
  100. >
  101. {t('home:mail')}
  102. </Typography>
  103. </Box>
  104. </Box>
  105. <Box
  106. display="flex"
  107. justifyContent="center"
  108. alignItems="center"
  109. sx={{ width: { xs: '100%', lg: '50%' } }}
  110. >
  111. <Box>
  112. <Image src="/images/maps.svg" alt="map" width={1280} height={720} />
  113. </Box>
  114. </Box>
  115. </Box>
  116. </>
  117. );
  118. };
  119. export default CompanyInfo;