diff --git a/components/StartScreen/index.tsx b/components/StartScreen/index.tsx
index bbaa6f6..d2d6370 100644
--- a/components/StartScreen/index.tsx
+++ b/components/StartScreen/index.tsx
@@ -5,6 +5,7 @@ import { client } from "../../libs/apis";
import { JoinGame } from "./JoinGame";
import { MatchMaking } from "../MatchMaking";
import Link from "next/link";
+import { Transition } from "@headlessui/react";
export const StartScreen = () => {
const { gameState, setGameId, setPlayerToken } = useGameContext();
@@ -87,22 +88,71 @@ export const StartScreen = () => {
return (
<>
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
{/* */}
>
diff --git a/package.json b/package.json
index 3dd06b0..724beb1 100644
--- a/package.json
+++ b/package.json
@@ -11,6 +11,7 @@
"dependencies": {
"@dwarvesf/react-hooks": "^0.7.0",
"@dwarvesf/react-utils": "^0.4.1",
+ "@headlessui/react": "^1.7.11",
"@iconify/react": "^4.0.1",
"@types/node": "18.11.9",
"@types/react": "18.0.25",
diff --git a/pages/index.tsx b/pages/index.tsx
index 4384df1..d55aedd 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -27,10 +27,7 @@ export default function Home() {
>
) : (
- <>
-
-
- >
+
)}
);
diff --git a/public/assets/images/background.png b/public/assets/images/background.png
new file mode 100644
index 0000000..efaad01
Binary files /dev/null and b/public/assets/images/background.png differ
diff --git a/public/assets/images/drone.gif b/public/assets/images/drone.gif
new file mode 100644
index 0000000..5fe04c4
Binary files /dev/null and b/public/assets/images/drone.gif differ
diff --git a/public/assets/images/neko.gif b/public/assets/images/neko.gif
new file mode 100644
index 0000000..1958164
Binary files /dev/null and b/public/assets/images/neko.gif differ
diff --git a/public/assets/images/owl.gif b/public/assets/images/owl.gif
new file mode 100644
index 0000000..b5b7f70
Binary files /dev/null and b/public/assets/images/owl.gif differ
diff --git a/public/assets/images/portal.webp b/public/assets/images/portal.webp
deleted file mode 100644
index eaafb3d..0000000
Binary files a/public/assets/images/portal.webp and /dev/null differ
diff --git a/public/assets/images/rabby.gif b/public/assets/images/rabby.gif
new file mode 100644
index 0000000..bc5dac6
Binary files /dev/null and b/public/assets/images/rabby.gif differ
diff --git a/tailwind.config.js b/tailwind.config.js
index c845a00..ce0d396 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -12,6 +12,37 @@ module.exports = {
secondary: "#4c628a",
},
},
+ keyframes: {
+ "hover-1": {
+ "0%, 100%": {
+ transform: "translateY(0%)",
+ },
+ "50%": {
+ transform: "translateY(-10%)",
+ },
+ },
+ "hover-2": {
+ "0%, 100%": {
+ transform: "translateY(0%)",
+ },
+ "50%": {
+ transform: "translateY(-5%)",
+ },
+ },
+ "hover-3": {
+ "0%, 100%": {
+ transform: "translateY(0%)",
+ },
+ "50%": {
+ transform: "translateY(-2%)",
+ },
+ },
+ },
+ animation: {
+ "hover-1": "hover-1 1s ease-in-out infinite",
+ "hover-2": "hover-2 1s ease-in-out infinite",
+ "hover-3": "hover-3 1s ease-in-out infinite",
+ },
},
},
plugins: [],
diff --git a/yarn.lock b/yarn.lock
index 110d6ed..8f99dae 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -74,6 +74,13 @@
minimatch "^3.1.2"
strip-json-comments "^3.1.1"
+"@headlessui/react@^1.7.11":
+ version "1.7.11"
+ resolved "https://registry.yarnpkg.com/@headlessui/react/-/react-1.7.11.tgz#1cc5750226abe5af2c94f72e975c0c8d2f5cc5a6"
+ integrity sha512-EaDbVgcyiylhtskZZf4Qb/JiiByY7cYbd0qgZ9xm2pm2X7hKojG0P4TaQYKgPOV3vojPhd/pZyQh3nmRkkcSyw==
+ dependencies:
+ client-only "^0.0.1"
+
"@humanwhocodes/config-array@^0.11.6":
version "0.11.7"
resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.7.tgz#38aec044c6c828f6ed51d5d7ae3d9b9faf6dbb0f"
@@ -588,7 +595,7 @@ classnames@^2.3.2:
resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.3.2.tgz#351d813bf0137fcc6a76a16b88208d2560a0d924"
integrity sha512-CSbhY4cFEJRe6/GQzIk5qXZ4Jeg5pcsP7b5peFSDpffpe1cqjASH/n9UTjBwOp6XpMSTwQ8Za2K5V02ueA7Tmw==
-client-only@0.0.1:
+client-only@0.0.1, client-only@^0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/client-only/-/client-only-0.0.1.tgz#38bba5d403c41ab150bff64a95c85013cf73bca1"
integrity sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==