Homepage updated to fit figma provided design

pull/2/head
v4ltages 8 months ago
parent 2ac86b5591
commit bd1c8f36da
No known key found for this signature in database
GPG Key ID: DC7BC38E0DC642B
  1. 1
      public/discord.svg
  2. 1
      public/facebook.svg
  3. 1
      public/instagram.svg
  4. 20
      public/tipilan-white.svg
  5. BIN
      src/app/fonts/vipnagorgialla/Vipnagorgialla-Bd-It.otf
  6. BIN
      src/app/fonts/vipnagorgialla/Vipnagorgialla-Bd.otf
  7. BIN
      src/app/fonts/vipnagorgialla/Vipnagorgialla-Rg-It.otf
  8. BIN
      src/app/fonts/vipnagorgialla/Vipnagorgialla-Rg.otf
  9. 6
      src/app/globals.css
  10. 43
      src/app/layout.tsx
  11. 76
      src/app/page.tsx
  12. 13
      src/components/Header.tsx
  13. 61
      src/components/HomeComponent.tsx

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Discord</title><path d="M20.317 4.3698a19.7913 19.7913 0 00-4.8851-1.5152.0741.0741 0 00-.0785.0371c-.211.3753-.4447.8648-.6083 1.2495-1.8447-.2762-3.68-.2762-5.4868 0-.1636-.3933-.4058-.8742-.6177-1.2495a.077.077 0 00-.0785-.037 19.7363 19.7363 0 00-4.8852 1.515.0699.0699 0 00-.0321.0277C.5334 9.0458-.319 13.5799.0992 18.0578a.0824.0824 0 00.0312.0561c2.0528 1.5076 4.0413 2.4228 5.9929 3.0294a.0777.0777 0 00.0842-.0276c.4616-.6304.8731-1.2952 1.226-1.9942a.076.076 0 00-.0416-.1057c-.6528-.2476-1.2743-.5495-1.8722-.8923a.077.077 0 01-.0076-.1277c.1258-.0943.2517-.1923.3718-.2914a.0743.0743 0 01.0776-.0105c3.9278 1.7933 8.18 1.7933 12.0614 0a.0739.0739 0 01.0785.0095c.1202.099.246.1981.3728.2924a.077.077 0 01-.0066.1276 12.2986 12.2986 0 01-1.873.8914.0766.0766 0 00-.0407.1067c.3604.698.7719 1.3628 1.225 1.9932a.076.076 0 00.0842.0286c1.961-.6067 3.9495-1.5219 6.0023-3.0294a.077.077 0 00.0313-.0552c.5004-5.177-.8382-9.6739-3.5485-13.6604a.061.061 0 00-.0312-.0286zM8.02 15.3312c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9555-2.4189 2.157-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.9555 2.4189-2.1569 2.4189zm7.9748 0c-1.1825 0-2.1569-1.0857-2.1569-2.419 0-1.3332.9554-2.4189 2.1569-2.4189 1.2108 0 2.1757 1.0952 2.1568 2.419 0 1.3332-.946 2.4189-2.1568 2.4189Z"/></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Facebook</title><path d="M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z"/></svg>

After

Width:  |  Height:  |  Size: 542 B

@ -0,0 +1 @@
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Instagram</title><path d="M7.0301.084c-1.2768.0602-2.1487.264-2.911.5634-.7888.3075-1.4575.72-2.1228 1.3877-.6652.6677-1.075 1.3368-1.3802 2.127-.2954.7638-.4956 1.6365-.552 2.914-.0564 1.2775-.0689 1.6882-.0626 4.947.0062 3.2586.0206 3.6671.0825 4.9473.061 1.2765.264 2.1482.5635 2.9107.308.7889.72 1.4573 1.388 2.1228.6679.6655 1.3365 1.0743 2.1285 1.38.7632.295 1.6361.4961 2.9134.552 1.2773.056 1.6884.069 4.9462.0627 3.2578-.0062 3.668-.0207 4.9478-.0814 1.28-.0607 2.147-.2652 2.9098-.5633.7889-.3086 1.4578-.72 2.1228-1.3881.665-.6682 1.0745-1.3378 1.3795-2.1284.2957-.7632.4966-1.636.552-2.9124.056-1.2809.0692-1.6898.063-4.948-.0063-3.2583-.021-3.6668-.0817-4.9465-.0607-1.2797-.264-2.1487-.5633-2.9117-.3084-.7889-.72-1.4568-1.3876-2.1228C21.2982 1.33 20.628.9208 19.8378.6165 19.074.321 18.2017.1197 16.9244.0645 15.6471.0093 15.236-.005 11.977.0014 8.718.0076 8.31.0215 7.0301.0839m.1402 21.6932c-1.17-.0509-1.8053-.2453-2.2287-.408-.5606-.216-.96-.4771-1.3819-.895-.422-.4178-.6811-.8186-.9-1.378-.1644-.4234-.3624-1.058-.4171-2.228-.0595-1.2645-.072-1.6442-.079-4.848-.007-3.2037.0053-3.583.0607-4.848.05-1.169.2456-1.805.408-2.2282.216-.5613.4762-.96.895-1.3816.4188-.4217.8184-.6814 1.3783-.9003.423-.1651 1.0575-.3614 2.227-.4171 1.2655-.06 1.6447-.072 4.848-.079 3.2033-.007 3.5835.005 4.8495.0608 1.169.0508 1.8053.2445 2.228.408.5608.216.96.4754 1.3816.895.4217.4194.6816.8176.9005 1.3787.1653.4217.3617 1.056.4169 2.2263.0602 1.2655.0739 1.645.0796 4.848.0058 3.203-.0055 3.5834-.061 4.848-.051 1.17-.245 1.8055-.408 2.2294-.216.5604-.4763.96-.8954 1.3814-.419.4215-.8181.6811-1.3783.9-.4224.1649-1.0577.3617-2.2262.4174-1.2656.0595-1.6448.072-4.8493.079-3.2045.007-3.5825-.006-4.848-.0608M16.953 5.5864A1.44 1.44 0 1 0 18.39 4.144a1.44 1.44 0 0 0-1.437 1.4424M5.8385 12.012c.0067 3.4032 2.7706 6.1557 6.173 6.1493 3.4026-.0065 6.157-2.7701 6.1506-6.1733-.0065-3.4032-2.771-6.1565-6.174-6.1498-3.403.0067-6.156 2.771-6.1496 6.1738M8 12.0077a4 4 0 1 1 4.008 3.9921A3.9996 3.9996 0 0 1 8 12.0077"/></svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

@ -0,0 +1,20 @@
<svg width="1525" height="344" viewBox="0 0 1525 344" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_111_80)">
<path fill-rule="evenodd" clip-rule="evenodd" d="M1193.16 221.168L1203 272H1255L1275.27 176.085L1326.54 248.021C1326.54 248.021 1327.55 249.52 1329.37 251.769C1330.29 252.893 1331.4 254.203 1332.69 255.608C1333.99 257.013 1335.46 258.512 1337.09 260.011C1338.71 261.509 1340.49 263.008 1342.4 264.413C1344.31 265.818 1346.34 267.13 1348.49 268.254C1349.56 268.816 1350.65 269.331 1351.77 269.788C1352.89 270.245 1354.03 270.642 1355.2 270.97C1356.36 271.298 1357.54 271.555 1358.74 271.731C1359.94 271.906 1361.15 272 1362.38 272H1418.65L1461 72.0005H1388.1L1366.62 173.664L1319.2 97.4171C1319.2 97.4171 1318.45 95.8285 1316.95 93.4458C1316.21 92.2544 1315.27 90.8634 1314.15 89.3742C1313.04 87.8849 1311.73 86.2973 1310.25 84.7088C1308.76 83.1203 1307.1 81.5314 1305.25 80.0422C1303.4 78.5529 1301.36 77.1632 1299.15 75.9718C1298.05 75.3761 1296.9 74.8295 1295.7 74.3455C1294.51 73.8616 1293.27 73.4404 1291.98 73.093C1290.7 72.7455 1289.37 72.4718 1287.99 72.2857C1286.62 72.0994 1285.2 72.0005 1283.74 72.0005H1224.75L1193.16 221.168Z" fill="#007CAB"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M958.477 221.168L927.11 272H1010.9L1026.33 242.953H1101.95L1105.58 272H1186.65L1176.81 221.168L1152.77 97.0005C1152.77 97.0005 1152.46 95.438 1151.6 93.0942C1151.18 91.9223 1150.62 90.5552 1149.9 89.0903C1149.17 87.6255 1148.29 86.063 1147.22 84.5005C1146.15 82.938 1144.89 81.3755 1143.41 79.9106C1142.68 79.1782 1141.89 78.47 1141.04 77.7986C1140.19 77.1273 1139.28 76.4927 1138.31 75.9067C1137.35 75.3208 1136.32 74.7839 1135.23 74.3078C1134.14 73.8317 1132.98 73.4165 1131.76 73.0747C1130.54 72.7329 1129.25 72.4648 1127.88 72.2817C1126.52 72.0985 1125.09 72.0005 1123.58 72.0005H1074.88C1073.39 72.0005 1071.93 72.0985 1070.5 72.2817C1069.07 72.4649 1067.68 72.7329 1066.32 73.0747C1064.96 73.4165 1063.63 73.8317 1062.34 74.3078C1061.06 74.7839 1059.8 75.3208 1058.59 75.9067C1056.17 77.0786 1053.9 78.4458 1051.8 79.9106C1049.7 81.3755 1047.78 82.938 1046.04 84.5005C1044.3 86.063 1042.74 87.6255 1041.39 89.0903C1040.04 90.5552 1038.89 91.9223 1037.96 93.0942C1036.1 95.438 1035.1 97.0005 1035.1 97.0005L958.477 221.168ZM1087.74 129.792L1095.6 193.937H1052.95L1087.74 129.792Z" fill="#007CAB"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M789.955 72L747.606 272H907.115L938.482 221.168H835.028L866.79 72H789.955Z" fill="#007CAB"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M690.398 72L648.048 272H724.278L766.627 72H690.398Z" fill="#2A2C3F"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M431.125 72.0001L388.775 272H465.307L478.92 206.947H564.83C568.366 206.947 571.767 206.916 575.038 206.849C578.309 206.781 581.449 206.678 584.466 206.531C587.483 206.384 590.376 206.196 593.149 205.958C595.923 205.721 598.577 205.434 601.116 205.094C603.655 204.753 606.08 204.359 608.396 203.903C610.711 203.448 612.918 202.933 615.02 202.351C617.123 201.77 619.121 201.122 621.02 200.402C622.92 199.682 624.72 198.891 626.426 198.021C628.133 197.151 629.746 196.204 631.269 195.172C632.793 194.14 634.227 193.024 635.578 191.819C636.929 190.613 638.196 189.317 639.384 187.926C640.573 186.535 641.682 185.048 642.718 183.46C643.754 181.871 644.718 180.18 645.612 178.383C646.506 176.585 647.332 174.68 648.094 172.661C648.857 170.643 649.556 168.51 650.197 166.259C650.838 164.008 651.421 161.637 651.95 159.141L660.118 119.806C660.723 116.629 661.252 113.679 661.63 110.918C661.819 109.537 661.97 108.204 662.074 106.914C662.178 105.624 662.234 104.376 662.234 103.165C662.234 101.577 662.157 100.065 661.999 98.6263C661.841 97.1879 661.602 95.8234 661.281 94.5286C660.961 93.2338 660.558 92.0084 660.071 90.8502C659.584 89.6921 659.012 88.6012 658.354 87.5729C657.696 86.5446 656.951 85.5795 656.117 84.6745C655.284 83.7694 654.363 82.9243 653.35 82.1354C652.337 81.3465 651.232 80.6143 650.035 79.9349C648.838 79.2555 647.549 78.6288 646.164 78.0521C644.779 77.4753 643.3 76.9473 641.722 76.4662C640.145 75.985 638.47 75.5507 636.696 75.1589C634.922 74.7671 633.05 74.4187 631.075 74.1094C629.1 73.8 627.024 73.5296 624.843 73.2956C622.663 73.0615 620.379 72.8633 617.99 72.6979C615.6 72.5326 613.104 72.4003 610.501 72.2969C605.294 72.09 599.655 72 593.567 72L431.125 72.0001ZM496.767 122.832H568.46C569.632 122.832 570.714 122.875 571.71 122.961C572.707 123.047 573.618 123.177 574.448 123.352C575.277 123.527 576.025 123.747 576.696 124.013C577.367 124.279 577.961 124.591 578.481 124.951C579.001 125.31 579.447 125.716 579.824 126.171C580.202 126.626 580.51 127.129 580.754 127.682C580.997 128.236 581.175 128.839 581.293 129.492C581.41 130.146 581.467 130.85 581.467 131.607C581.467 132.363 581.392 133.12 581.278 133.876C581.165 134.633 581.013 135.39 580.862 136.146L579.35 143.71C579.086 144.996 578.787 146.178 578.446 147.262C578.104 148.346 577.719 149.331 577.279 150.224C576.84 151.118 576.346 151.919 575.788 152.634C575.229 153.349 574.605 153.978 573.905 154.526C573.206 155.075 572.43 155.543 571.568 155.936C570.707 156.33 569.76 156.649 568.715 156.9C567.67 157.151 566.529 157.333 565.28 157.452C564.031 157.571 562.675 157.628 561.2 157.628H489.507L496.767 122.832Z" fill="#2A2C3F"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M365.448 272L407.798 72H331.568L289.218 272H365.448Z" fill="#2A2C3F"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M133.886 218.667L130.357 235.333L126.122 255.333C126 255.91 125.908 256.48 125.846 257.042C125.784 257.603 125.75 258.157 125.746 258.7C125.741 259.244 125.766 259.777 125.816 260.299C125.867 260.822 125.945 261.334 126.05 261.833C126.155 262.332 126.285 262.818 126.441 263.29C126.597 263.763 126.779 264.221 126.984 264.664C127.189 265.107 127.418 265.535 127.67 265.946C127.922 266.358 128.197 266.752 128.494 267.129C128.79 267.505 129.109 267.864 129.448 268.203C129.787 268.542 130.147 268.862 130.527 269.161C130.907 269.46 131.305 269.739 131.723 269.995C132.141 270.251 132.579 270.484 133.033 270.694C133.487 270.904 133.96 271.091 134.448 271.252C134.936 271.414 135.439 271.552 135.959 271.663C136.479 271.773 137.015 271.857 137.564 271.914C138.114 271.97 138.677 272 139.254 272H159.249C159.826 272 160.402 271.97 160.976 271.914C161.549 271.857 162.121 271.773 162.687 271.663C163.254 271.552 163.818 271.414 164.374 271.252C164.931 271.091 165.482 270.904 166.025 270.694C166.568 270.483 167.102 270.251 167.629 269.995C168.155 269.739 168.673 269.46 169.179 269.161C169.686 268.862 170.182 268.542 170.665 268.203C171.148 267.864 171.618 267.505 172.074 267.129C172.531 266.752 172.972 266.358 173.398 265.946C173.824 265.535 174.236 265.107 174.628 264.664C175.021 264.221 175.396 263.763 175.752 263.29C176.108 262.818 176.444 262.332 176.759 261.833C177.075 261.334 177.37 260.822 177.642 260.299C177.914 259.777 178.166 259.244 178.392 258.7C178.618 258.157 178.818 257.603 178.993 257.042C179.169 256.48 179.319 255.91 179.441 255.333L183.676 235.333L187.205 218.667H170.542H150.547H133.886Z" fill="#2A2C3F"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M92.0558 148.667L162.664 208.666L258.683 148.667L177.348 178.666L175.369 148.667L160.685 178.666L92.0558 148.667Z" fill="#007CAB"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M241.59 72L238.061 88.6666L231.003 122L227.474 138.667H244.137H277.462C278.039 138.667 278.615 138.637 279.188 138.581C279.762 138.524 280.333 138.44 280.9 138.329C281.467 138.219 282.031 138.081 282.587 137.919C283.144 137.758 283.695 137.571 284.238 137.361C284.781 137.151 285.315 136.917 285.842 136.661C286.368 136.405 286.886 136.127 287.392 135.828C287.898 135.529 288.394 135.209 288.877 134.87C289.36 134.531 289.831 134.172 290.287 133.796C290.743 133.419 291.185 133.025 291.611 132.613C292.037 132.202 292.447 131.774 292.84 131.331C293.233 130.888 293.609 130.429 293.965 129.957C294.321 129.485 294.656 128.999 294.972 128.5C295.288 128.001 295.582 127.489 295.855 126.966C296.127 126.444 296.378 125.911 296.603 125.367C296.829 124.824 297.03 124.27 297.206 123.708C297.382 123.147 297.532 122.577 297.654 122L304.712 88.6667L308.241 72.0001H291.579H258.253L241.59 72Z" fill="#2A2C3F"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M158.277 72L144.161 138.667H210.811L224.928 72H158.277Z" fill="#2A2C3F"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M74.9636 72.0001L71.4345 88.6667L64.3762 122C64.254 122.577 64.1626 123.147 64.1003 123.708C64.0381 124.27 64.0043 124.824 64 125.367C63.995 125.911 64.0202 126.444 64.0703 126.966C64.1214 127.489 64.1998 128.001 64.3046 128.5C64.4094 128.999 64.5406 129.485 64.6964 129.957C64.8523 130.429 65.033 130.888 65.2379 131.331C65.443 131.774 65.672 132.202 65.924 132.613C66.176 133.025 66.4513 133.419 66.748 133.796C67.0447 134.172 67.3629 134.531 67.7022 134.87C68.0415 135.209 68.4016 135.529 68.7814 135.828C69.1612 136.127 69.5596 136.406 69.9777 136.662C70.3958 136.917 70.8331 137.15 71.2873 137.361C71.7415 137.571 72.2142 137.757 72.7023 137.919C73.1904 138.081 73.6938 138.219 74.2137 138.329C74.7336 138.44 75.2692 138.524 75.8187 138.581C76.3682 138.637 76.9315 138.667 77.5084 138.667H110.834H127.497L131.026 122L138.084 88.6666L141.613 72H124.95H91.6249L74.9636 72.0001Z" fill="#2A2C3F"/>
</g>
<defs>
<clipPath id="clip0_111_80">
<rect width="1397" height="200" fill="white" transform="translate(64 72)"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 9.2 KiB

@ -44,7 +44,11 @@
} }
body { body {
font-family: Inter, Arial, Helvetica, sans-serif; font-family: "Work Sans", Arial, Helvetica, sans-serif;
width: 100vw;
height: 100vh;
padding: 0;
margin: 0;
} }
:root { :root {

@ -1,15 +1,47 @@
// Head metadata
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Inter } from "next/font/google";
// Fonts
import { Work_Sans } from "next/font/google";
import localFont from 'next/font/local'
// Style 'only' has normal and italic for some reason.
// It uses the weight to determine the style used.
export const vipnagorgialla = localFont({
src: [
{
path: './fonts/vipnagorgialla/Vipnagorgialla-Rg.otf',
weight: '400',
style: 'normal',
},
{
path: './fonts/vipnagorgialla/Vipnagorgialla-Rg-It.otf',
weight: '400',
style: 'italic',
},
{
path: './fonts/vipnagorgialla/Vipnagorgialla-Bd.otf',
weight: '700',
style: 'normal',
},
{
path: './fonts/vipnagorgialla/Vipnagorgialla-Bd-It.otf',
weight: '700',
style: 'italic',
},
],
});
import "./globals.css"; import "./globals.css";
import Header from "@/components/Header";
const inter = Inter({ const workSans = Work_Sans({
variable: "--font-inter",
subsets: ["latin"], subsets: ["latin"],
}); });
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Tipilan", title: "Tipilan",
description: "", description: "TipiLAN on pungil põnevatest turniiridest, mini-võistlustest, loengutest ja paljust muust.",
}; };
export default function RootLayout({ export default function RootLayout({
@ -20,8 +52,9 @@ export default function RootLayout({
return ( return (
<html lang="en"> <html lang="en">
<body <body
className={`${inter.variable} antialiased`} className={`${workSans} antialiased bg-[#EEE5E5]`}
> >
<Header />
{children} {children}
</body> </body>
</html> </html>

@ -1,12 +1,74 @@
import "./globals.css"; import { vipnagorgialla } from "./layout";
import Header from "@/components/Header";
import HomeComponent from "@/components/HomeComponent";
export default function Home() { export default function Home() {
return ( return (
<> <div className="flex flex-col">
<Header /> {/* Title */}
<HomeComponent /> <div className="border-b-3 border-[#007CAB] flex">
</> <img src="/tipilan-white.svg" alt="TipiLAN Logo" className="h-64"/>
</div>
{/* Grid of buttons */}
<div className="grid grid-cols-1 lg:grid-cols-3 border-[#007CAB]">
<div className="p-12 border-b-3 lg:border-r-3 border-[#007CAB] hover:bg-[#007CAB] transition-colors">
<button className="cursor-pointer">
<h2 className={`text-5xl ${vipnagorgialla.className} font-bold italic mb-16 text-[#2A2C3F] flex items-center`}>
Ajakava
</h2>
</button>
<p className="text-xl">
TipiLAN on pungil põnevatest turniiridest, mini-võistlustest, loengutest ja paljust muust.
</p>
</div>
<div className="p-12 border-b-3 lg:border-r-3 border-[#007CAB] hover:bg-[#007CAB] transition-colors">
<button className="cursor-pointer">
<h2 className={`text-5xl ${vipnagorgialla.className} font-bold italic text-[#2A2C3F] mb-16 flex items-center`}>
Turniirid
</h2>
</button>
<p className="text-xl">
TipiLANil toimuvad suurejoonelised CS2 ja Lol turniirid, mille auhinnafondid on 5000
</p>
</div>
<div className="p-12 border-b-3 border-[#007CAB] hover:bg-[#007CAB] transition-colors">
<button className="cursor-pointer">
<h2 className={`text-5xl ${vipnagorgialla.className} font-bold italic mb-16 text-[#2A2C3F] flex items-center`}>
Messiala
</h2>
</button>
<p className="text-xl">
TipiLANi messialal paiknevad ettevõtted, lisategevused ja toimuvad loengud.
</p>
</div>
</div>
{/* Date */}
<div className={`p-12 flex flex-col ${vipnagorgialla.className} font-bold italic border-b-3 border-[#007CAB] hover:bg-[#007CAB] group transition-colors`}>
<button className="cursor-pointer text-left">
<h3 className="text-5xl text-[#2A2C3F] pb-8">
Broneeri oma koht juba täna.
</h3>
</button>
<h2 className="text-6xl text-[#007CAB] group-hover:text-[#EEE5E5] transition-colors">
24.-26. okt.
</h2>
</div>
{/* Footer */}
<div className="flex items-center justify-between h-60 px-12">
<img src="/tipilan-white.svg" alt="TipiLAN Logo" className="h-16"/>
{/* Social media */}
<div className="flex flex-row">
<a href="#" target="_blank" rel="noopener noreferrer">
<img src="/discord.svg" alt="Twitch" className="h-8 mx-4"/>
</a>
<a href="#" target="_blank" rel="noopener noreferrer">
<img src="/instagram.svg" alt="Instagram" className="h-8 mx-4"/>
</a>
<a href="#" target="_blank" rel="noopener noreferrer">
<img src="/facebook.svg" alt="Facebook" className="h-8 mx-4"/>
</a>
</div>
</div>
</div>
); );
} }

@ -1,8 +1,15 @@
import React from "react"; // Icons
import { Menu } from "lucide-react";
// Fonts
import { vipnagorgialla } from "@/app/layout";
const Header = () => ( const Header = () => (
<header className="h-16 bg-gray-100 flex items-center justify-center border-b border-gray-200"> <header className="h-16 flex items-center border-b-3 border-[#007CAB] justify-between px-12 text-[#2A2C3F]">
header <button>
<Menu className="h-12 w-12 text-[#2A2C3F]" />
</button>
<p className={`text-3xl ${vipnagorgialla.className} font-bold italic`}>ENG</p>
</header> </header>
); );

@ -1,61 +0,0 @@
import React from "react";
const HomeComponent = () => (
<div className="max-w-6xl mx-auto px-4 py-8">
{/* Logo/title section */}
<div className="mb-12">
<h1 className="text-5xl font-bold text-center">
TIPI
<span className="text-blue-500">
LAN
</span>
</h1>
</div>
{/* Three middle sections */}
<div className="flex flex-col md:flex-row overflow-hidden border-1 shadow-md">
<div className="flex-1 p-6 border-r border-indigo-100 w-full md:w-[33.33%]">
<h1 className="text-2xl font-bold mb-4 flex items-center ">
Ajakava
</h1>
<p className="">
TipiLAN on pungil põnevatest turniiridest, mini-võistlustest, loengutest ja paljust muust.
</p>
</div>
<div className="flex-1 bg-white-50 p-6 border-r border-indigo-100 w-full md:w-[33.33%]">
<h1 className="text-2xl font-bold mb-4 flex items-center">
Turniirid
</h1>
<p className="">
TipiLANil toimuvad suurejoonelised CS2 ja Lol turniirid, mille auhinnafondid on 5000
</p>
</div>
<div className="flex-1 bg-white-50 p-6 w-full md:w-[33.33%]">
<h1 className="text-2xl font-bold mb-4 flex items-center">
Messiala
</h1>
<p className="">
TipiLANi messialal paiknevad ettevõtted, lisategevused ja toimuvad loengud.
</p>
</div>
</div>
{/* Bottom section */}
<div className="flex flex-col md:flex-row overflow-hidden shadow-md">
<div className="flex-1 bg-white-100 p-8 border-r border-indigo-100 w-full md:w-[66.66%]">
<h1 className="text-3xl font-bold mb-6">Suurem kui eales varem.</h1>
<p className="text-lg">
TalTechi üliõpilasorganisatsioonid korraldavad esimest korda <u>koos</u> LANi ning see tuleb enneolematu.
Tänu organisatsioonideülesele koostööle sünnib üks Eesti suurimatest võrgupidududest. Kutsu oma sõbrad ja olge valmis!
</p>
</div>
<div className="flex items-center justify-center p-8 w-full md:w-[33.33%]">
<div className="text-4xl font-bold text-center text-blue-500">24.-26. okt.</div>
</div>
</div>
</div>
);
export default HomeComponent;
Loading…
Cancel
Save