Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
AliAlmasi committed Aug 18, 2024
1 parent fb5d8c5 commit 41b00bd
Show file tree
Hide file tree
Showing 4 changed files with 127 additions and 10 deletions.
Binary file added assets/images/coming-soon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
91 changes: 91 additions & 0 deletions assets/styles/global.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

html {
font-size: 62.5%;
}

:root {
--white: #f0f0f0;
--gray: #808080;
--black: #111111;
--link-color: #97ccfd;
--link-hover: #9898ff;
--link-active: #6d6dff;
}

.center {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}

body {
position: relative;
width: 100svw;
height: 100svh;
overflow: hidden;
font-size: 1.8rem;
background-color: var(--black);
color: var(--white);
z-index: 0;
}

body::before {
content: "";
display: initial;
position: absolute;
background-image: url("/assets/images/coming-soon.png");
background-size: 50px;
width: 100%;
height: 100%;
z-index: -10;
opacity: 0.1;
background-blend-mode: lighten;
}

main {
text-wrap: balance;
gap: 2rem;
border: 1px solid var(--gray);
background-color: #80808060;
width: 40%;
min-height: 50%;
padding: 2rem;
z-index: 10;
}

a::before {
content: "→ ";
}

a:link,
a:visited {
text-decoration: none;
color: var(--link-color);
font-weight: 500;
}

a:hover,
a:focus {
color: var(--link-hover);
outline: 0;
border: 0;
}

a:active {
color: var(--link-active);
}
3 changes: 3 additions & 0 deletions assets/styles/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#ls-image-icon {
border-radius: 50%;
}
43 changes: 33 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,35 @@
<!doctype html>
<!DOCTYPE html>
<html>
<head>
<meta name="charset" content="utf-8">
<title>LocalShare</title>
</head>
<body align="center">
<h1>LocalShare</h1>
<img src="https://avatars.githubusercontent.com/LocalShare?s=100" align="right">
<p>Share media instantly with friends on the same network. Enjoy music and videos together, locally.</p>
</body>
<head>
<meta name="charset" content="utf-8" />
<title>LocalShare &ndash; Coming soon</title>
<link rel="stylesheet" href="/assets/styles/global.css" />
<link rel="stylesheet" href="/assets/styles/style.css" />
<link
rel="shortcut icon"
href="https://avatars.githubusercontent.com/LocalShare?s=90"
type="image/jpeg"
/>
</head>
<body class="center">
<main class="center">
<h1>LocalShare</h1>
<img
src="https://avatars.githubusercontent.com/LocalShare?s=150"
width="150"
height="150"
alt="LocalShare"
id="ls-image-icon"
style="cursor: pointer"
onclick="document.getElementById('github').click();"
/>
<p>
Share media instantly with friends on the same network. Enjoy music and
videos together, locally.
</p>
<a href="https://github.com/LocalShare" target="_blank" id="github"
>Visit our GitHub</a
>
</main>
</body>
</html>

0 comments on commit 41b00bd

Please sign in to comment.