Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
130 changes: 130 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
3 changes: 3 additions & 0 deletions img/AdobeStock_239258811.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions img/Icon awesome-arrow-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions img/Image 7.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions img/Image 8.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions img/clock.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions img/logo1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions img/logo2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions img/two-men.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions img/x-mark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
113 changes: 113 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
<!DOCTYPE html>
<html class="box-border">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="./input.css">
<title>How to play</title>
</head>
<body class="flex flex-col m-auto bg-no-repeat bg-cover bg-fixed bg-[url('/img/AdobeStock_239258811.svg')]">
<div class="navbar flex justify-between items-center my-2 mx-5 flex-row py-2 px-4 ">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we have the extra space at the end?


<div class="logos items-center ml-[18%] xl:ml-[10%] l:ml-[0px]">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

l:ml-[0px] is not correct you can use lg:ml-0

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sir actually l is defined by myself in the tailwind.config.js that has the functionality of Media Query

<img class="Experios_logo mr-[26px] h-[30px] items-center inline-block m:self-center m:ml-0" src="img/logo1.svg" alt="Logo">
<img class="VirtualEscape_logo h-[34px] mt-1.5 inline-block m:self-center m:ml-0" src="img/logo2.svg" alt="Logo">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does m:self-center do ?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m is a size of template and I used it for media query and it's defined in tailwind.config.js

</div>

<div class="button text-center self-center mt-3 mr-[18%] inline-block xl:mr-[10%] l:mr-[0px] xl:flex basis-auto">
<a href="#" class="connection_button text-[16px] ml-auto mr-4 py-2.5 px-2 w-[200px] text-center inline-block text-white font-montserrat rounded-[30px] bg-bls border-x-[1px] border-y-[1px] border-Box uppercase overflow-hidden font-[300]" ><img class="button_icon py-0 px-2 text-center font-medium inline-block" src="img/Image 7.svg" alt="Next">6 CONNECTED</a>
<a href="#" class="Logout_button text-[16px] w-[141px] py-2.5 pr-2 mb-0 text-center rounded-[29px] inline-block font-montserrat bg-bls text-white uppercase border-x-[1px] border-y-[1px] border-Box overflow-hidden font-[300]"><img class="button_icon self-center inline-block py-0 px-2 text-center" src="img/Image 8.svg" alt="Next">Log out</a>
</div>

</div>

<div class="boxes text-xl leading-6 rounded-xl self-center border-x-[1px] border-y-[1px] border-Box mt-7 align-middle flex backdrop-blur-3xl flex-col text-white mb-8 backdrop-brightness-50 font-montserrat pt-5 pl-7 pr-10 l:w-[95%] s:pl-2.5 s:pr-2.5">
<span class="textbox mb-2">
Hi team,
</span>

<br>

<span class="textbox mb-2 ">
Thank you for helping out the Melbourne police department.
</span>

<span class="textbox mb-2">
With your expertise and detective skills we should be able to solve this important case.
</span>

<br>
<span class="textbox mb-2">
We can’t afford any mistakes, so pay close attention before you get started.
</span>

<div class="box flex mt-3 w-100 bg-txtcol rounded-lg pb-5 mr-5">
<div class="innerbox flex flex-row justify-start ml-5">
<img class="image self-start mt-6" src="img/clock.svg" alt="Overview">
<div class="section flex flex-col items-start mt-5 mr-2.5 ml-5 text-start">
<span class="bold font-bold">Overview</span>
<span>
You’ll have 60 minutes to solve this case. If you haven’t solved it within 60 minutes it’s game over.
</span>
<span>
The time starts counting down as soon as anyone presses Start Investigation.
</span>
<br>
<span>Make sure you have set up a video call in case you are not physically together.</span>
<span>You can use Zoom, Teams, The Pub Hub or any other tool you'd like.</span>
</div>
</div>
</div>

<div class="box flex mt-3 w-100 bg-txtcol rounded-lg pb-5 mr-5">
<div class="innerbox flex flex-row justify-start ml-5">
<img class="image self-start mt-6" src="img/two-men.svg" alt="Teamwork">
<div class="section flex flex-col items-start mt-5 mr-2.5 ml-5 text-start">
<span class="bold font-bold">Teamwork</span>
<span>
To be successful, you'll need to work closely together.
</span>
<span>
You can use Google or any other website to find answers and solve this case.
</span>
<span>
Before submitting an answer or requesting a hint, first discuss with the team.
</span>
<br>
<span>Only 1 person in the team needs to submit an answer or request a hint.</span>
<span>After a few seconds everyone will see the result.</span>
</div>
</div>
</div>
<div class="box flex mt-3 w-100 bg-txtcol rounded-lg pb-5 mr-5">
<div class="innerbox flex flex-row justify-start ml-5">
<img class="image self-start mt-6" src="img/x-mark.svg" alt="Penalties">

<div class="section flex flex-col items-start mt-5 mr-2.5 ml-5 text-start">
<span class="bold font-bold">Penalties</span>
<span>
You can get help in case you’re stuck.
</span>
<span>
Simply press the Request Hint button and we’ll find a senior detective to help you out.
</span>
<span>
Once you've requested a hint, a counter shows you when your next hint becomes available.
</span>
<br>
<span>Requesting a hint results in a 30 second time penalty.</span>
<span>Submitting an incorrect answer also results in a 30 second time penalty.</span>
</div>
</div>
</div>

<div class="returnbutton mt-12 flex justify-center mb-3">
<button class="rtbutton justify-center items-center flex bg-gradient-to-l from-buttoncol to-buttoncola text-white rounded-3xl w-80 h-14 m-0 s:w-[260px] s:h-[54px] s:text-[0.85rem]"><img class="icon m-1" src="img/Icon awesome-arrow-left.svg" alt="icon">RETURN TO MAIN MENU</button>

</div>

</div>

</body>
</html>
4 changes: 4 additions & 0 deletions input.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind variants;
Loading