Add powered by vercel

This commit is contained in:
Luke Vella 2022-04-13 17:33:08 +01:00
parent ddc370ac25
commit 7f11d79e49
8 changed files with 102 additions and 74 deletions

View file

@ -1,16 +1,12 @@
<img src="./public/logo.png" width="200" />
[![Actions Status](https://github.com/lukevella/rallly/workflows/CI/badge.svg)](https://github.com/lukevella/rallly/actions)
[![Actions Status](https://github.com/lukevella/rallly/workflows/ci/badge.svg)](https://github.com/lukevella/rallly/actions)
Rallly is an open-source collaborative scheduling service designed and developed by @lukevella
Rallly is a free group meeting scheduling tool built with [Next.js](https://github.com/vercel/next.js/), [Prisma](https://github.com/prisma/prisma) & [TailwindCSS](https://github.com/tailwindlabs/tailwindcss)
## Self-hosting
## 🐳 Quickstart with docker
Although this is already technically possible by following the instructions below, I'm still working on ways to make this easier and will include better documentation to support this in the near future. Thank you for your patience.
## Running with docker
_This assumes that you have Docker installed_
_For running in a production environment_
Clone this repo and change directory to the root of the repository.
@ -40,7 +36,7 @@ docker-compose up -d
Go to [http://localhost:3000](http://localhost:3000)
## Running without docker
## 💻 Running locally
Clone this repo and change directory to the root of the repository.
@ -92,18 +88,14 @@ yarn build
yarn start
```
## Contributors
## 👨‍💻 Contributors
If you would like to contribute to the development of the project please reach out first before spending significant time on it.
## License
## 👮‍♂️ License
Rallly is open-source under the GNU Affero General Public License Version 3 (AGPLv3) or any later version. See [LICENSE](LICENSE) for more detail.
## Credits
## 🙏 Sponsors
This project would not exist without the help of other great open-source projects. Thanks to the developers and teams at:
- [Next.js](https://github.com/vercel/next.js)
- [Prisma](https://github.com/prisma/prisma)
- [TailwindCSS](https://github.com/tailwindlabs/tailwindcss)
<a href="https://vercel.com/?utm_source=rallly&utm_campaign=oss">![Powered by Vercel](/public/powered-by-vercel.svg)</a>

View file

@ -11,7 +11,7 @@ const Bonus: React.VoidFunctionComponent = () => {
<p className="subheading">We&apos;re not like the others</p>
<div className="grid grid-cols-4 gap-16">
<div className="col-span-4 md:col-span-2 lg:col-span-1">
<div className="mb-4 text-slate-400">
<div className="mb-4 text-gray-400">
<CursorClick className="w-16" />
</div>
<h3 className="heading-sm">No login required</h3>
@ -20,7 +20,7 @@ const Bonus: React.VoidFunctionComponent = () => {
</div>
</div>
<div className="col-span-4 md:col-span-2 lg:col-span-1">
<div className="mb-4 text-slate-400">
<div className="mb-4 text-gray-400">
<Code className="w-16" />
</div>
<h3 className="heading-sm">Open-source</h3>
@ -33,7 +33,7 @@ const Bonus: React.VoidFunctionComponent = () => {
</div>
</div>
<div className="col-span-4 md:col-span-2 lg:col-span-1">
<div className="mb-4 text-slate-400">
<div className="mb-4 text-gray-400">
<Server className="w-16" />
</div>
<h3 className="heading-sm">Self-hostable</h3>
@ -42,7 +42,7 @@ const Bonus: React.VoidFunctionComponent = () => {
</div>
</div>
<div className="col-span-4 md:col-span-2 lg:col-span-1">
<div className="mb-4 text-slate-400">
<div className="mb-4 text-gray-400">
<Ban className="w-16" />
</div>
<h3 className="heading-sm">Ad-free</h3>

View file

@ -11,7 +11,7 @@ const Hero: React.VoidFunctionComponent = () => {
const names = ["Peter", "Christine", "Samantha", "Joseph"];
return (
<div className="lg:flex p-8 items-end max-w-7xl mx-auto">
<div className="lg:flex lg:justify-between p-8 items-end max-w-7xl mx-auto">
<div className="my-8 text-center lg:text-left">
<h1 className="text-4xl sm:text-5xl font-bold">
Schedule

View file

@ -3,58 +3,27 @@ import * as React from "react";
import GitHubButton from "react-github-btn";
import { Trans, useTranslation } from "next-i18next";
import Logo from "../../public/logo.svg";
import Vercel from "../../public/vercel-logotype-dark.svg";
const Footer: React.VoidFunctionComponent = () => {
const { t } = useTranslation("homepage");
return (
<div className="bg-gray-100">
<div className="py-20 px-8 mx-auto max-w-7xl grid grid-cols-12 gap-8">
<div className="mt-16 bg-slate-50/70">
<div className="py-20 px-8 mx-auto max-w-7xl grid grid-cols-10 gap-8">
<div className="col-span-12 md:col-span-4">
<Logo className="w-32 text-gray-400/75 mb-8" />
</div>
<div className="col-span-6 md:col-span-2">
<div className="font-medium mb-4">Links</div>
<ul className="footer-menu">
<li>
<a href="https://github.com/lukevella/Rallly/discussions">
Forum
</a>
</li>
<li>
<Link href="/blog">
<a>Blog</a>
</Link>
</li>
<li>
<Link href="/support">
<a>Support</a>
</Link>
</li>
<li>
<Link href="/privacy-policy">
<a>Privacy Policy</a>
</Link>
</li>
</ul>
</div>
<div className="col-span-6 md:col-span-2">
<div className="font-medium mb-4">Follow</div>
<ul className="footer-menu">
<li>
<a href="https://github.com/lukevella/Rallly">Github</a>
</li>
<li>
<a href="https://twitter.com/ralllyco">Twitter</a>
</li>
</ul>
</div>
<div className="col-span-12 md:col-span-3">
<div className="font-medium mb-4">Project</div>
<p className="text-sm text-slate-500">
<Logo className="w-32 mb-4 text-gray-400" />
<p className="text-sm text-gray-400">
<Trans
t={t}
i18nKey="footerCredit"
components={{ a: <a href="https://twitter.com/imlukevella" /> }}
components={{
a: (
<a
className="text-gray-400 hover:text-gray-800 hover:no-underline font-normal leading-loose"
href="https://twitter.com/imlukevella"
/>
),
}}
/>
</p>
<div className="flex space-x-3">
@ -75,6 +44,72 @@ const Footer: React.VoidFunctionComponent = () => {
</GitHubButton>
</div>
</div>
<div className="col-span-6 md:col-span-2">
<div className="font-medium mb-4">Links</div>
<ul>
<li>
<a
className="text-gray-400 hover:text-gray-800 hover:no-underline font-normal leading-loose"
href="https://github.com/lukevella/Rallly/discussions"
>
Forum
</a>
</li>
<li>
<Link href="/blog">
<a className="text-gray-400 hover:text-gray-800 hover:no-underline font-normal leading-loose">
Blog
</a>
</Link>
</li>
<li>
<Link href="/support">
<a className="text-gray-400 hover:text-gray-800 hover:no-underline font-normal leading-loose">
Support
</a>
</Link>
</li>
<li>
<Link href="/privacy-policy">
<a className="text-gray-400 hover:text-gray-800 hover:no-underline font-normal leading-loose">
Privacy Policy
</a>
</Link>
</li>
</ul>
</div>
<div className="col-span-6 md:col-span-2">
<div className="font-medium mb-4">Follow</div>
<ul>
<li>
<a
className="text-gray-400 hover:text-gray-800 hover:no-underline font-normal leading-loose"
href="https://github.com/lukevella/Rallly"
>
Github
</a>
</li>
<li>
<a
className="text-gray-400 hover:text-gray-800 hover:no-underline font-normal leading-loose"
href="https://twitter.com/ralllyco"
>
Twitter
</a>
</li>
</ul>
</div>
<div className="col-span-12 md:col-span-2">
<a
href="https://vercel.com?utm_source=rallly&utm_campaign=oss"
className="inline-block text-white"
>
<span className="inline-block w-full text-right italic text-gray-400 text-xs mb-1">
Powered by
</span>
<Vercel className="w-24" />
</a>
</div>
</div>
</div>
);

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.2 KiB

View file

@ -0,0 +1,3 @@
<svg viewBox="0 0 4438 1000" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M2223.75 250C2051.25 250 1926.87 362.5 1926.87 531.25C1926.87 700 2066.72 812.5 2239.38 812.5C2343.59 812.5 2435.47 771.25 2492.34 701.719L2372.81 632.656C2341.25 667.188 2293.28 687.344 2239.38 687.344C2164.53 687.344 2100.94 648.281 2077.34 585.781H2515.16C2518.59 568.281 2520.63 550.156 2520.63 531.094C2520.63 362.5 2396.41 250 2223.75 250ZM2076.09 476.562C2095.62 414.219 2149.06 375 2223.75 375C2298.59 375 2352.03 414.219 2371.41 476.562H2076.09ZM2040.78 78.125L1607.81 828.125L1174.69 78.125H1337.03L1607.66 546.875L1878.28 78.125H2040.78ZM577.344 0L1154.69 1000H0L577.344 0ZM3148.75 531.25C3148.75 625 3210 687.5 3305 687.5C3369.38 687.5 3417.66 658.281 3442.5 610.625L3562.5 679.844C3512.81 762.656 3419.69 812.5 3305 812.5C3132.34 812.5 3008.13 700 3008.13 531.25C3008.13 362.5 3132.5 250 3305 250C3419.69 250 3512.66 299.844 3562.5 382.656L3442.5 451.875C3417.66 404.219 3369.38 375 3305 375C3210.16 375 3148.75 437.5 3148.75 531.25ZM4437.5 78.125V796.875H4296.88V78.125H4437.5ZM3906.25 250C3733.75 250 3609.38 362.5 3609.38 531.25C3609.38 700 3749.38 812.5 3921.88 812.5C4026.09 812.5 4117.97 771.25 4174.84 701.719L4055.31 632.656C4023.75 667.188 3975.78 687.344 3921.88 687.344C3847.03 687.344 3783.44 648.281 3759.84 585.781H4197.66C4201.09 568.281 4203.12 550.156 4203.12 531.094C4203.12 362.5 4078.91 250 3906.25 250ZM3758.59 476.562C3778.13 414.219 3831.41 375 3906.25 375C3981.09 375 4034.53 414.219 4053.91 476.562H3758.59ZM2961.25 265.625V417.031C2945.63 412.5 2929.06 409.375 2911.25 409.375C2820.47 409.375 2755 471.875 2755 565.625V796.875H2614.38V265.625H2755V409.375C2755 330 2847.34 265.625 2961.25 265.625Z" fill="black" />
</svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -1,4 +0,0 @@
<svg width="283" height="64" viewBox="0 0 283 64" fill="none"
xmlns="http://www.w3.org/2000/svg">
<path d="M141.04 16c-11.04 0-19 7.2-19 18s8.96 18 20 18c6.67 0 12.55-2.64 16.19-7.09l-7.65-4.42c-2.02 2.21-5.09 3.5-8.54 3.5-4.79 0-8.86-2.5-10.37-6.5h28.02c.22-1.12.35-2.28.35-3.5 0-10.79-7.96-17.99-19-17.99zm-9.46 14.5c1.25-3.99 4.67-6.5 9.45-6.5 4.79 0 8.21 2.51 9.45 6.5h-18.9zM248.72 16c-11.04 0-19 7.2-19 18s8.96 18 20 18c6.67 0 12.55-2.64 16.19-7.09l-7.65-4.42c-2.02 2.21-5.09 3.5-8.54 3.5-4.79 0-8.86-2.5-10.37-6.5h28.02c.22-1.12.35-2.28.35-3.5 0-10.79-7.96-17.99-19-17.99zm-9.45 14.5c1.25-3.99 4.67-6.5 9.45-6.5 4.79 0 8.21 2.51 9.45 6.5h-18.9zM200.24 34c0 6 3.92 10 10 10 4.12 0 7.21-1.87 8.8-4.92l7.68 4.43c-3.18 5.3-9.14 8.49-16.48 8.49-11.05 0-19-7.2-19-18s7.96-18 19-18c7.34 0 13.29 3.19 16.48 8.49l-7.68 4.43c-1.59-3.05-4.68-4.92-8.8-4.92-6.07 0-10 4-10 10zm82.48-29v46h-9V5h9zM36.95 0L73.9 64H0L36.95 0zm92.38 5l-27.71 48L73.91 5H84.3l17.32 30 17.32-30h10.39zm58.91 12v9.69c-1-.29-2.06-.49-3.2-.49-5.81 0-10 4-10 10V51h-9V17h9v9.2c0-5.08 5.91-9.2 13.2-9.2z" fill="#000"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -149,10 +149,6 @@
.text {
@apply text-lg leading-relaxed text-slate-500;
}
.footer-menu a {
@apply text-slate-400 font-normal leading-loose transition-colors hover:text-indigo-500 hover:no-underline;
}
}
@layer utilities {