Skip to content

Commit

Permalink
Working in the landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaaker committed Dec 19, 2023
1 parent 5ba2207 commit f5d6ef5
Show file tree
Hide file tree
Showing 9 changed files with 235 additions and 119 deletions.
7 changes: 5 additions & 2 deletions ghost_simulator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def create_app(test_config=None):
@app.route('/index.php')
@app.route('/')
def index():
return 'Hello, World!'
return render_template("/index.html")

# Login

Expand All @@ -55,7 +55,10 @@ def about_page():
return render_template("/about.html")


# JavaScript Disabled


@app.route('/javascript_disabled.html')
def js_disabled():
return render_template("/javascript_disabled.html")

return app
51 changes: 0 additions & 51 deletions ghost_simulator/old/html/index.html

This file was deleted.

8 changes: 0 additions & 8 deletions ghost_simulator/old/html/settings.html

This file was deleted.

136 changes: 136 additions & 0 deletions ghost_simulator/static/css/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
body {
background: repeating-linear-gradient(
-45deg,
#fade95,
orangered 10px,
#fade95 10px,
orangered 20px
)
#fade95;
background-blend-mode: screen;
font-family: "Century Gothic";
color: black;
display: flex;
flex-direction: column;
min-height: 100vh;
}

h1{
font-family: "Century Gothic";
color: black;
font-size: 30px;
align-items: center;
text-align: center;
}

footer {
background-color: #fade95;
font-family: "Century Gothic";
color: black;
padding: 20px;
margin-top: auto;
display: flex;
justify-content: space-between;
align-items: center;
border-top: 1px solid black;
}

/* Access Button */

.access_button {
font-size: 18px;
letter-spacing: 2px;
text-transform: uppercase;
display: inline-block;
text-align: center;
font-weight: bold;
padding: 0.7em 2em;
border: 3px solid black;
border-radius: 2px;
position: relative;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.1);
color: black;
text-decoration: none;
transition: 0.3s ease all;
z-index: 1;
align-items: right;
margin-bottom: 10px
}

.access_button:before {
transition: 0.5s all ease;
position: absolute;
top: 0;
left: 50%;
right: 50%;
bottom: 0;
opacity: 0;
content: '';
background-color: #fade95;
z-index: -1;
}

.access_button:hover, button:focus {
color: black;
}

.access_button:hover:before, button:focus:before {
transition: 0.5s all ease;
left: 0;
right: 0;
opacity: 1;
}

.access_button:active {
transform: scale(0.9);
}

/* Head Banner */
.head_banner {
border-radius: 20px;
}

/* See the social buttons*/
.parent {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}

.child {
width: 50px;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
transform-style: preserve-3d;
transition: all 0.5s ease-in-out;
border-radius: 50%;
margin: 0 5px;
}

.child:hover {
background-color: white;
background-position: -100px 100px, -100px 100px;
transform: rotate3d(0.5, 1, 0, 30deg);
transform: perspective(180px) rotateX(60deg) translateY(2px);
box-shadow: 0px 10px 10px #635dff;
}

button {
border: none;
background-color: transparent;
font-size: 20px;
}

.button:hover {
width: inherit;
height: inherit;
display: flex;
justify-content: center;
align-items: center;
transform: translate3d(0px, 0px, 15px) perspective(180px) rotateX(-35deg) translateY(2px);
border-radius: 50%;
}
3 changes: 1 addition & 2 deletions ghost_simulator/templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

<!--- Responsive Platform --->
<meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt>

<meta charset="utf-8">
<!--- Favicon --->
<link rel="apple-touch-icon" sizes="180x180" href="{{url_for('static', filename='images/apple-touch-icon.png')}}">
Expand Down Expand Up @@ -59,7 +58,7 @@ <h1>Contacto</h1>
Puedes contactar conmigo mediante uno de los siguientes métodos:

<a href="mailto:archery.ghost.simulator@gmail.com">- Mail</a>
<a href="t.me/Isaaker">- Telegram</a>
<a href="https://t.me/Isaaker">- Telegram</a>

<h1>Tecnologías</h1>

Expand Down
43 changes: 0 additions & 43 deletions ghost_simulator/templates/base.html

This file was deleted.

70 changes: 70 additions & 0 deletions ghost_simulator/templates/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<!doctype html>
<html>
<head>

<!--- Content Security Policy (CSP)-->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
<meta http-equiv="Content-Security-Policy" content="img-src 'self' github.com/Isaaker/Ghost_Simulator_ES">


<!--- Responsive Platform --->
<meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt>
<meta charset="utf-8">


<!--- Favicon --->
<link rel="apple-touch-icon" sizes="180x180" href="{{url_for('static', filename='images/apple-touch-icon.png')}}">
<link rel="icon" type="image/png" sizes="32x32" href="{{url_for('static', filename='images/favicon-32x32.png')}}">
<link rel="icon" type="image/png" sizes="16x16" href="{{url_for('static', filename='images/favicon-16x16.png')}}">
<link rel="manifest" href="{{url_for('static', filename='images/site.webmanifest')}}">
<meta name="msapplication-TileColor" content="#fade95">
<meta name="theme-color" content="#fade95">

<!--- CSS Style --->
<link rel="stylesheet" type="text/css" href="/static/css/index.css">


<title>Ghost Simulator - Inicio</title>
</head>
<body>

<form action="home.html">
<button class="access_button">
Acceso
</button>
</form>

<img class="head_banner" src="{{url_for('static', filename='images/archery.png')}}" width="100%" height=auto>

<h1>Nuestras Redes Sociales</h1>
<div class="parent">
<a href="https://twitter.com">
<div class="child child-1">
<button class="button btn-1">
<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 512 512" fill="#1e90ff"><path d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"></path></svg>
</button>
</div>
</a>
<a href="https://instagram.com">
<div class="child child-2">
<button class="button btn-2">
<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 448 512" fill="#ff00ff"><path d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></button>
</div>
</a>
<a href="https://github.com/Isaaker/Ghost_Simulator_ES">
<div class="child child-3">
<button class="button btn-3">
<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 496 512"><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></button>
</div>
</a>
<a href="https://facebook.com">
<div class="child child-4">
<button class="button btn-4">
<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 320 512" fill="#4267B2"><path d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"></path></svg></button>
</div>
</a>
</div>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
<html>
<head>

<!--- Responsive Platform --->
<meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt>
<!--- Content Security Policy (CSP)-->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
<meta http-equiv="Content-Security-Policy" content="img-src 'self' github.com/Isaaker/Ghost_Simulator_ES">

<meta charset="utf-8">
<meta name="robots" content="noindex">

<!--- Favicon --->
<link rel="apple-touch-icon" sizes="180x180" href="./images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./images/favicon-16x16.png">
<link rel="manifest" href="./images/site.webmanifest">
<meta name="msapplication-TileColor" content="#fade95">
<meta name="theme-color" content="#fade95">
<!--- Responsive Platform --->
<meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt>
<meta charset="utf-8">

<!--- Favicon --->
<link rel="apple-touch-icon" sizes="180x180" href="{{url_for('static', filename='images/apple-touch-icon.png')}}">
<link rel="icon" type="image/png" sizes="32x32" href="{{url_for('static', filename='images/favicon-32x32.png')}}">
<link rel="icon" type="image/png" sizes="16x16" href="{{url_for('static', filename='images/favicon-16x16.png')}}">
<link rel="manifest" href="{{url_for('static', filename='images/site.webmanifest')}}">
<meta name="msapplication-TileColor" content="#fade95">
<meta name="theme-color" content="#fade95">

<!--- Check JavaScript --->
<script>
Expand Down Expand Up @@ -63,7 +68,7 @@
</head>
<body>
<div class="message">
<img src="./images/java_script.svg" alt="Java Script Icon" widt="80" height="80"><h1 class="header">JavaScript no esta activado</h1>
<img src="{{url_for('static', filename='images/tech_logos/javascript_logo.svg')}}" alt="Java Script Icon" widt="80" height="80"><h1 class="header">JavaScript no esta activado</h1>
<p class="body">
Nuestra plataforma utiliza una tecnología llamada JavaScript, tu navegador tiene desactivada esta función y por lo tanto no puedes usar la plataforma.
</p>
Expand Down
Loading

0 comments on commit f5d6ef5

Please sign in to comment.