Minor links and formatting fixes for the homepage

This commit is contained in:
Arijit Basu 2021-10-07 17:21:51 +05:30 committed by Arijit Basu
parent 4ad4e0894d
commit 884cd98d0b
2 changed files with 196 additions and 151 deletions

View File

@ -1,68 +1,113 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="../../assets/icon/xplr64.png">
<link rel="stylesheet" href="style.css">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/assets/icon/xplr64.png" />
<link rel="stylesheet" href="style.css" />
<title>xplr</title>
<!-- ------------- SEO TAGS --------------------->
<meta name="title" content="xplr" />
<meta name="description" content="A hackable, minimal, fast TUI file explorer" /> </head>
<meta
name="description"
content="A hackable, minimal, fast TUI file explorer"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:url" content="https://xplr.dev/" />
<meta name="twitter:title" content="xplr" />
<meta name="twitter:description" content="A hackable, minimal, fast TUI file explorer" />
<meta name="twitter:image" content="https://s3.gifyu.com/images/imaged284d8b830767ac4.png" />
<meta name="twitter:site" content="https://xplr.dev" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:url" content="https://xplr.dev/" />
<meta name="twitter:title" content="xplr" />
<meta
name="twitter:description"
content="A hackable, minimal, fast TUI file explorer"
/>
<meta
name="twitter:image"
content="https://s3.gifyu.com/images/imaged284d8b830767ac4.png"
/>
<meta name="twitter:site" content="https://xplr.dev" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://xplr.dev/" />
<meta property="og:title" content="xplr" />
<meta property="og:description" content="A hackable, minimal, fast TUI file explorer" />
<meta property="og:image" content="https://s3.gifyu.com/images/imaged284d8b830767ac4.png" />
<meta property="og:image:alt" content="A hackable, minimal, fast TUI file explorer" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://xplr.dev" />
<meta property="og:title" content="xplr" />
<meta
property="og:description"
content="A hackable, minimal, fast TUI file explorer"
/>
<meta
property="og:image"
content="https://s3.gifyu.com/images/imaged284d8b830767ac4.png"
/>
<meta
property="og:image:alt"
content="A hackable, minimal, fast TUI file explorer"
/>
<meta itemprop="name" content="xplr" />
<meta itemprop="description" content="A hackable, minimal, fast TUI file explorer" />
<meta itemprop="name" content="xplr" />
<meta
itemprop="description"
content="A hackable, minimal, fast TUI file explorer"
/>
<link rel="icon" type="image/png" href="https://s3.gifyu.com/images/icon2194563908b29554.png" />
<meta name="theme-color" content="#ffffff" />
<body>
<link
rel="icon"
type="image/png"
href="https://s3.gifyu.com/images/icon2194563908b29554.png"
/>
<meta name="theme-color" content="#ffffff" />
</head>
<body>
<div class="main-page">
<div class="para">
<h1>xplr</h1>
<p> <span style="font-size: 4rem;">A</span> hackable, minimal, fast TUI file explorer</p>
<br> </div>
<div class="main-video"> <img src="https://s3.gifyu.com/images/xplr-0.5.0.gif" alt="" width="100%"> </div>
<div class="para">
<h1>xplr</h1>
<p>
<span style="font-size: 4rem">A</span> hackable, minimal, fast TUI
file explorer
</p>
<br />
</div>
<div class="main-video">
<img
src="https://s3.gifyu.com/images/xplr-0.5.0.gif"
alt=""
width="100%"
/>
</div>
</div>
<div class="links">
<a href="https://xplr.dev/en/" target="_blank">
<div class="linkCad mrgL"> <img src="../../assets/homepage_icons/document_logo.png" alt="" width="35%">
<p>Documentation</p>
</div>
</a>
<a href="https://github.com/sayanarijit/xplr" target="_blank">
<div class="linkCad mrgR"> <img src="../../assets/homepage_icons/pr_logo.png" alt="" width="40%">
<p>Project Repository</p>
</div>
</a>
<a href="https://github.com/sayanarijit/xplr/releases" target="_blank">
<div class="linkCad mrgL"> <img src="../../assets/homepage_icons/release_logo.png" alt="" width="35%">
<p>Releases</p>
</div>
</a>
<a href="https://discord.com/invite/JmasSPCcz3" target="_blank">
<div class="linkCad mrgR"> <img src="../../assets/homepage_icons/disc_logo.png" alt="" width="40%">
<p>Discord</p>
</div>
</a>
<a href="/en/" target="_blank">
<div class="linkCad mrgL">
<img
src="/assets/homepage_icons/document_logo.png"
alt=""
width="35%"
/>
<p>Documentation</p>
</div>
</a>
<a href="https://github.com/sayanarijit/xplr" target="_blank">
<div class="linkCad mrgR">
<img src="/assets/homepage_icons/pr_logo.png" alt="" width="40%" />
<p>Source Code</p>
</div>
</a>
<a href="https://github.com/sayanarijit/xplr/releases" target="_blank">
<div class="linkCad mrgL">
<img
src="/assets/homepage_icons/release_logo.png"
alt=""
width="35%"
/>
<p>Releases</p>
</div>
</a>
<a href="https://discord.com/invite/JmasSPCcz3" target="_blank">
<div class="linkCad mrgR">
<img src="/assets/homepage_icons/disc_logo.png" alt="" width="40%" />
<p>Discord</p>
</div>
</a>
</div>
</body>
</html>
</body>
</html>

View File

@ -1,151 +1,151 @@
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
* {
padding: 0;
margin: 0;
padding: 0;
margin: 0;
}
body {
color: #2d3436;
color: #2d3436;
}
h1 {
padding-left: 5px;
font-family: 'Share Tech Mono', monospace;
font-size: 5rem;
padding-top: 2vh;
text-align: center;
transform: translateY(-50px);
padding-left: 5px;
font-family: 'Share Tech Mono', monospace;
font-size: 5rem;
padding-top: 2vh;
text-align: center;
transform: translateY(-50px);
}
.main-page {
display: grid;
grid-template-columns: repeat(2, 1fr);
background-color: #dfe6e9;
min-height: 100vh;
display: grid;
grid-template-columns: repeat(2, 1fr);
background-color: #dfe6e9;
min-height: 100vh;
}
.para {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-family: Arial, Helvetica, sans-serif;
font-size: 2rem;
color: rgba(0, 0, 0, 0.9);
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-family: Arial, Helvetica, sans-serif;
font-size: 2rem;
color: rgba(0, 0, 0, 0.9);
text-align: center;
}
.para .more a {
font-size: 1.5rem;
color: #636e72;
font-size: 1.5rem;
color: #636e72;
}
.main-video {
display: flex;
justify-content: center;
align-items: center;
display: flex;
justify-content: center;
align-items: center;
}
.main-video img {
margin-right: 0rem;
margin-right: 0rem;
}
.links {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 2rem;
margin: 5rem 0;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: 2rem;
margin: 5rem 0;
}
.links .linkCad {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 40vh;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
color: #2d3436;
font-family: sans-serif;
cursor: pointer;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 40vh;
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.15);
color: #2d3436;
font-family: sans-serif;
cursor: pointer;
}
.links .linkCad:hover {
box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.2);
box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.2);
}
.links a {
text-decoration: none;
text-decoration: none;
}
.links .linkCad p {
padding-top: 2rem;
font-weight: 600;
padding-top: 2rem;
font-weight: 600;
}
.mrgL {
margin-left: 60%;
margin-left: 60%;
}
.mrgR {
margin-right: 60%;
margin-right: 60%;
}
@media (max-width:1300px) {
.mrgL {
margin-left: 50%;
}
.mrgR {
margin-right: 50%;
}
@media (max-width: 1300px) {
.mrgL {
margin-left: 50%;
}
.mrgR {
margin-right: 50%;
}
}
@media (max-width:1050px) {
.mrgL {
margin-left: 40%;
}
.mrgR {
margin-right: 40%;
}
.main-page {
display: block;
}
.para {
padding: 5rem 0;
}
@media (max-width: 1050px) {
.mrgL {
margin-left: 40%;
}
.mrgR {
margin-right: 40%;
}
.main-page {
display: block;
}
.para {
padding: 5rem 0;
}
}
@media (max-width:850px) {
.mrgL {
margin-left: 30%;
}
.mrgR {
margin-right: 30%;
}
@media (max-width: 850px) {
.mrgL {
margin-left: 30%;
}
.mrgR {
margin-right: 30%;
}
}
@media (max-width:700px) {
.mrgL {
margin-left: 15%;
}
.mrgR {
margin-right: 15%;
}
@media (max-width: 700px) {
.mrgL {
margin-left: 15%;
}
.mrgR {
margin-right: 15%;
}
}
@media (max-width:550px) {
.mrgL {
margin-left: 0%;
}
.mrgR {
margin-right: 0%;
}
.links {
display: block;
}
.links {
margin-top: 0rem;
}
.linkCad {
margin-bottom: 4rem;
}
}
@media (max-width: 550px) {
.mrgL {
margin-left: 0%;
}
.mrgR {
margin-right: 0%;
}
.links {
display: block;
}
.links {
margin-top: 0rem;
}
.linkCad {
margin-bottom: 4rem;
}
}