Skip to content

Commit

Permalink
🍰 Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixr-codes committed Oct 10, 2023
0 parents commit 55b4ab2
Show file tree
Hide file tree
Showing 6 changed files with 222 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Jonas da Silva

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Binary file added assets/allay.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/allay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/background.webp
Binary file not shown.
87 changes: 87 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<!doctype html>
<html lang="en-US">

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>Allay</title>
<link rel="icon" href="assets/allay.png" />
<link rel="stylesheet" href="style.css" />

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Jost:wght@300;400&family=Montserrat:wght@300;600&display=swap"
rel="stylesheet">

<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" />
</head>

<body>
<main>
<img id="logo" class="center" src="assets/allay.gif" />
<h1 id="title">Allay</h1>
<div role="doc-subtitle">Your Personal Creator Assistant</div>
<div class="boxes">
<form action="/docs" method="get">
<button class="box" type="submit">
<span class="material-symbols-outlined">
menu_book
</span>
<br />
Docs
</button>
</form>
<form action="https://github.com/allay-mc/allay" method="get">
<button class="box" type="submit">
<span class="material-symbols-outlined">
data_object
</span>
<br />
Code
</button>
</form>
<form action="https://github.com/allay-mc/scripts" method="get">
<button class="box" type="submit">
<span class="material-symbols-outlined">
extension
</span>
<br />
Scripts
</button>
</form>
</div>
<br />
<form action="/docs/installation.html" method="get">
<button class="mcbtn">
<span class="material-symbols-outlined">download</span>
Install
</button>
</form>
<form action="about:blank" method="get">
<button class="mcbtn">
<span class="material-symbols-outlined">communities</span>
Contribute
</button>
</form>
</main>
<footer>
<p>
<span class="material-symbols-outlined">code</span>
with
&#10084;&#65039;
in
<a class="phantom" href="https://www.rust-lang.org/">
<img class="icon" src="https://www.rust-lang.org/logos/rust-logo-32x32.png" alt="Rust" />
</a>
by
<a class="phantom" href="https://github.com/phoenixr-codes">
<img class="icon" src="https://avatars.githubusercontent.com/u/99104369?v=4" alt="JDS" />
</a>
and
<a href="https://github.com/allay-mc/allay/graphs/contributors">You</a>
</p>
</footer>
</body>

</html>
114 changes: 114 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
* {
/* --primary: #db1f29; */
--primary: cornflowerblue;
--secondary: white;
font-family: 'Jost', sans-serif;
font-family: 'Montserrat', sans-serif;
text-align: center;
}

body {
margin: 0;
}

main {
background-image: url('assets/background.webp');
color: var(--secondary);
height: 90vh;
padding-bottom: 5vh;
}

button.mcbtn {
border-color: #70B237;
background-color: #477A1E;
margin: 1vh;
height: 10vh;
width: 90vw;
font-size: 2.5vh;
color: var(--secondary);
}

footer {
background-color: #222;
color: var(--secondary);
height: 10vh;
font-size: 2.5vh;
}

footer p {
margin: 0;
}

footer a:not(.phantom) {
color: aquamarine;
}

footer a:hover:not(.phantom) {
color: mediumaquamarine;
}

.material-symbols-outlined,
.icon {
vertical-align: middle;
}

.center {
display: block;
margin-left: auto;
margin-right: auto;
}

.icon {
height: 2.5vh;
}

.boxes {
display: flex;
flex-wrap: nowrap;
justify-content: space-evenly;
}

.box {
width: 20vw;
height: 20vw;
background-color: var(--secondary);
color: var(--primary);
border-radius: 20%;
border-style: none;
font-size: 1rem;
font-weight: bold;
transition-duration: .1s;
}

.box:hover {
transform: scale(1.1);
transistion-property: transform;
transition-duration: .4s;
}

#logo {
width: 20vh;
}

#title {
font-size: 7.5vh;
margin: 1vh;
}

[role="doc-subtitle"] {
font-size: 2.5vh;
margin-bottom: 2vh;
}

@media (prefers-reduced-motion) {
#logo {
content: url('assets/allay.png');
}

.box:hover {
transform: none;
transition-property: none;
transition-duration: none;
}

}

0 comments on commit 55b4ab2

Please sign in to comment.