diff --git a/package-lock.json b/package-lock.json index 279c9ec..c16f69f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5225,4 +5225,4 @@ } } } -} +} \ No newline at end of file diff --git a/package.json b/package.json index 01bc97f..f5ec948 100644 --- a/package.json +++ b/package.json @@ -18,11 +18,14 @@ "@types/react": "^18.3.10", "@types/react-dom": "^18.3.0", "@vitejs/plugin-react": "^4.3.2", - "eslint": "^9.11.1", - "eslint-plugin-react": "^7.37.0", - "eslint-plugin-react-hooks": "^5.1.0-rc.0", - "eslint-plugin-react-refresh": "^0.4.12", + "autoprefixer": "^10.4.20", + "eslint": "^9.13.0", + "eslint-plugin-react": "^7.37.2", + "eslint-plugin-react-hooks": "^5.0.0", + "eslint-plugin-react-refresh": "^0.4.13", "globals": "^15.9.0", + "postcss": "^8.4.47", + "tailwindcss": "^3.4.14", "vite": "^5.4.8" } -} +} \ No newline at end of file diff --git a/src/components/HeroSection/HeroSection.css b/src/components/HeroSection/HeroSection.css new file mode 100644 index 0000000..fe5b1b9 --- /dev/null +++ b/src/components/HeroSection/HeroSection.css @@ -0,0 +1,73 @@ +.hero-section { + display: flex; + justify-content: space-between; + align-items: center; + background-color: #0a1a2f; + padding: 20px; +} + +.hero-content { + color: white; + max-width: 50%; +} + +.hero-content h1 { + font-size: 2.5rem; + font-weight: bold; + margin-bottom: 20px; +} + +.sign-up-button { + background-color: #007bff; + color: white; + padding: 10px 20px; + border: none; + border-radius: 5px; + cursor: pointer; + transition: background-color 0.3s; +} + +.sign-up-button:hover { + background-color: #0056b3; +} + +.social-icons { + display: flex; + justify-content: center; + gap: 10px; + margin-top: 10px; +} + +.social-icons svg { + background-color: #2c3e50; + color: white; + padding: 10px; + border-radius: 8px; + font-size: 24px; + display: flex; + align-items: center; + justify-content: center; + width: 30px; + height: 30px; + transition: background-color 0.3s; +} + +.social-icons svg:hover { + background-color: #34495e; +} + +.hero-images { + display: flex; +} + +.hero-images img { + border-radius: 10px; + margin-left: 15px; + transition: transform 0.3s ease, box-shadow 0.3s ease; +} + +.hero-images img:hover { + transform: scale(1.02); + box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3); +} + diff --git a/src/components/HeroSection/HeroSection.jsx b/src/components/HeroSection/HeroSection.jsx new file mode 100644 index 0000000..884b65e --- /dev/null +++ b/src/components/HeroSection/HeroSection.jsx @@ -0,0 +1,122 @@ +import "./HeroSection.css"; +import casinoImage from "./image-1.png"; +import playersImage from "./image-2.png"; + + +function HeroSection() { + return ( +
Or sign up with
+