mirror of https://github.com/msgbyte/tailchat
docs: add mobile downloads page
parent
7c7ef99e39
commit
d962677d0b
@ -0,0 +1,49 @@
|
||||
.downloads-page {
|
||||
text-align: center;
|
||||
max-width: 80rem;
|
||||
margin: auto;
|
||||
margin-top: 2rem;
|
||||
|
||||
@media (min-width: 997px) {
|
||||
margin-top: 6rem;
|
||||
}
|
||||
|
||||
.section {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
flex-direction: column;
|
||||
|
||||
@media (min-width: 997px) {
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.block {
|
||||
h3 {
|
||||
font-size: 2.25rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.btns {
|
||||
* + * {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
@media (min-width: 997px) {
|
||||
* + * {
|
||||
margin-top: 0;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.tip {
|
||||
font-size: 0.8rem;
|
||||
color: #666;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
import Layout from '@theme/Layout';
|
||||
import Link from '@docusaurus/Link';
|
||||
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
|
||||
import React from 'react';
|
||||
import './downloads.less';
|
||||
|
||||
export default function Downloads() {
|
||||
const { siteConfig } = useDocusaurusContext();
|
||||
|
||||
return (
|
||||
<Layout
|
||||
title={`${siteConfig.title} - ${siteConfig.tagline}`}
|
||||
description={`${siteConfig.tagline}`}
|
||||
>
|
||||
<main>
|
||||
<div className="downloads-page">
|
||||
<div className="section">
|
||||
<div className="block">
|
||||
<img src="/img/gallery/download/mobile.png" />
|
||||
</div>
|
||||
|
||||
<div className="block">
|
||||
<h3>Mobile Apps (test)</h3>
|
||||
|
||||
<p>Use mobile app to visit Tailchat anywhere</p>
|
||||
|
||||
<div className="btns">
|
||||
<Link
|
||||
className="button button--primary"
|
||||
to="https://tailchat-app.msgbyte.com/app-release.apk"
|
||||
>
|
||||
Android
|
||||
</Link>
|
||||
<Link className="button button--secondary disabled">
|
||||
iOS(Coming soon)
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
<p className="tip">
|
||||
Design with react-native:
|
||||
<Link to="https://github.com/msgbyte/tailchat/tree/master/client/mobile">
|
||||
Source Code
|
||||
</Link>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</Layout>
|
||||
);
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 207 KiB |
Loading…
Reference in New Issue