Skip to content

Commit

Permalink
Add landing page to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
micahlt committed Apr 19, 2024
1 parent 8a957e7 commit 3c0230d
Show file tree
Hide file tree
Showing 9 changed files with 135 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A third-party Android app for [Sidechat](https://sidechat.lol). Many thanks to [SidechatProxy](https://github.com/OrenKohavi/SidechatProxy) and its author [Oren Kohavi](https://github.com/OrenKohavi), both of whom have been instrumental in this app's development.

![](screenshot.png)
![](docs/screenshot-raw.png)

## Development

Expand Down
42 changes: 42 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Offsides | Sidechat for Android</title>
<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=Roboto:ital,wght@0,400;1,800&display=swap"
rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main>
<div class="header">
<div class="header-text">
<h1>Offsides</h1>
<p>Sidechat/YikYak for Android</p>
</div>
<img src="screenshot-mocked.png" class="mockup" />
<div class="buttons">
<a
href="https://github.com/micahlt/offsides/releases/latest"
rel="noreferrer"
target="_blank"
class="primary"
>Download</a
>
<a
href="https://github.com/micahlt/offsides"
rel="noreferrer"
target="_blank"
>GitHub</a
>
<a href="https://micahlindley.com" rel="noreferrer">Contact</a>
<p class="soon">Coming soon to Google Play</p>
</div>
</div>
</main>
</body>
</html>
Binary file added docs/screenshot-mocked.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 docs/screenshot-raw.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
83 changes: 83 additions & 0 deletions docs/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
* {
margin: 0;
padding: 0;
}

body {
background-color: #3ddc84;
font-family: 'Roboto', sans-serif;
color: #0a122a;
}

.header {
min-height: 100vh;
height: max-content;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
}

.header-text {
text-align: center;
}

.header p {
letter-spacing: 1px;
text-transform: uppercase;
}

h1 {
font-family: 'Roboto', sans-serif;
font-style: italic;
font-weight: 800;
color: white;
padding-top: 2rem;
font-size: clamp(2em, 6vw, 5em);
}

.mockup {
height: 50%;
max-height: 60vh;
}

.buttons {
display: block;
}

.buttons a {
color: white;
font-family: 'Roboto', sans-serif;
padding: 1em 1.5em;
text-decoration: none;
border-radius: 0.5em;
letter-spacing: 1px;
text-transform: uppercase;
border: 1px solid white;
transition: all 0.2s;
}

.buttons .primary {
background-color: white;
color: #0a122a;
}

.buttons a:not(:last-of-type) {
margin-right: 1em;
}

.buttons a:hover {
background-color: #2f54c6;
color: white;
border-color: #2f54c6;
}

.buttons {
margin-bottom: 3em;
}

.soon {
margin-top: 2.5em;
text-align: center;
font-size: 0.85em;
}
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"reanimated-color-picker": "^3.0.3",
"rn-emoji-keyboard": "^1.6.1",
"semver": "^7.6.0",
"sidechat.js": "^2.4.5",
"sidechat.js": "^2.4.6",
"timesago": "^1.0.1"
},
"devDependencies": {
Expand Down
Binary file removed screenshot.png
Binary file not shown.
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8200,10 +8200,10 @@ side-channel@^1.0.4:
get-intrinsic "^1.2.4"
object-inspect "^1.13.1"

sidechat.js@^2.4.5:
version "2.4.5"
resolved "https://registry.npmjs.org/sidechat.js/-/sidechat.js-2.4.5.tgz"
integrity sha512-yPKBZSeEi5MwmwxSdW0dIbRfPxkNra+cb//39fQiNTUXTISn4iviku+CkixlKZAb1qO/K8sNuXpDfZ2vR9aFyA==
sidechat.js@^2.4.6:
version "2.4.6"
resolved "https://registry.npmjs.org/sidechat.js/-/sidechat.js-2.4.6.tgz"
integrity sha512-XqW+cVc2b/O/Lg3182EuRUExct40dRjQhfD90s60CqPZ2d/I44VZCru9Wz47mfMOcPBXLXz6IyeTFqZbt0cPbA==

signal-exit@^3.0.0, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7:
version "3.0.7"
Expand Down

0 comments on commit 3c0230d

Please sign in to comment.