Compare commits
No commits in common. "52550aabb3e5f24bd15d0b5be33bdd80b31c5aef" and "402181a65d88f6ea1bb9a137eee3f3d47a9b3174" have entirely different histories.
52550aabb3
...
402181a65d
11
README.md
11
README.md
@ -186,17 +186,6 @@ We suggest starting by allowing Auth.js
|
|||||||
| AUTH_TRUST_HOST | Required, should always be set to `true` | `true` |
|
| AUTH_TRUST_HOST | Required, should always be set to `true` | `true` |
|
||||||
| NEXTAUTH_URL | The URL LibreCloud will be publicly accessible at | `http://localhost:3000` (testing), `https://example.com` (production) |
|
| NEXTAUTH_URL | The URL LibreCloud will be publicly accessible at | `http://localhost:3000` (testing), `https://example.com` (production) |
|
||||||
|
|
||||||
## Database schema updates
|
|
||||||
|
|
||||||
In case of an update to `prisma/schema.prisma`, you should run the below command to migrate the old database.
|
|
||||||
|
|
||||||
Each update to this file is guaranteed to work with the previous version of the file to ensure maximum compatibility. While every effort has been made to ensure compatibility, we are not responsible for any data loss.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npx prisma migrate dev --name update-schema # Migrate
|
|
||||||
npx prisma migrate deploy # Deploy
|
|
||||||
```
|
|
||||||
|
|
||||||
## To-Do
|
## To-Do
|
||||||
|
|
||||||
* [X] Add documentation on .env
|
* [X] Add documentation on .env
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
|
|
||||||
import { motion } from "framer-motion"
|
import { motion } from "framer-motion"
|
||||||
import { SideMenu } from "@/components/pages/dashboard/SideMenu"
|
import { SideMenu } from "@/components/pages/dashboard/SideMenu"
|
||||||
import { BadgeDollarSign } from "lucide-react"
|
|
||||||
|
|
||||||
const fadeIn = {
|
const fadeIn = {
|
||||||
initial: { opacity: 0, y: 20 },
|
initial: { opacity: 0, y: 20 },
|
||||||
@ -17,17 +16,9 @@ export default function Exchange() {
|
|||||||
<main className="flex-1 w-full overflow-y-auto pl-0 lg:pl-64">
|
<main className="flex-1 w-full overflow-y-auto pl-0 lg:pl-64">
|
||||||
<div className="container mx-auto px-4 py-6 w-full">
|
<div className="container mx-auto px-4 py-6 w-full">
|
||||||
<motion.div {...fadeIn}>
|
<motion.div {...fadeIn}>
|
||||||
<div className="flex justify-center">
|
<h1 className="text-3xl font-bold mb-6">Exchange Crypto</h1>
|
||||||
<h3 className="text-xl font-bold mb-2 uppercase bg-slate-700 rounded px-2">Coming Soon</h3>
|
<p>Coming soon</p>
|
||||||
</div>
|
<p className="mt-4">If you prefer not to see this service, you will be able to hide it from Settings when it launches.</p>
|
||||||
<h1 className="text-6xl text-center font-bold">Exchange Crypto</h1>
|
|
||||||
<div className="flex justify-center mt-16">
|
|
||||||
<BadgeDollarSign size={69} />
|
|
||||||
</div>
|
|
||||||
<div className="max-w-2xl mx-auto">
|
|
||||||
<h2 className="text-4xl mt-6">We find the best price, seriously</h2>
|
|
||||||
<p className="mt-4">We use the API from several providers to provide comparisons between the different providers. You complete the exchange via our exchange interface (via provider) or through the provider's website. Each time, you can walk out knowing you got the best deal. The best part? We don't take a cut or make a profit off your usage.</p>
|
|
||||||
</div>
|
|
||||||
</motion.div>
|
</motion.div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
@ -22,49 +22,36 @@ export default function Statistics() {
|
|||||||
<Card className="col-span-full md:col-span-1">
|
<Card className="col-span-full md:col-span-1">
|
||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle>Operational Costs</CardTitle>
|
<CardTitle>Operational Costs</CardTitle>
|
||||||
<CardDescription>How much it costs us to run LibreCloud each month</CardDescription>
|
<CardDescription>LibreCloud's monthly bill, for you to view.</CardDescription>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent>
|
||||||
<span className="text-sm"><span className="font-bold">Month of:</span> March</span>
|
<span className="text-sm"><span className="font-bold">Month of:</span> February</span>
|
||||||
<Separator className="my-4" />
|
<Separator className="my-4" />
|
||||||
<div className="flex items-center justify-between">
|
<span className="font-bold">Server</span>
|
||||||
<span className="font-bold uppercase">Server</span>
|
|
||||||
<span className="font-bold uppercase">Price</span>
|
|
||||||
</div>
|
|
||||||
<div className="flex items-center justify-between mt-2">
|
<div className="flex items-center justify-between mt-2">
|
||||||
<span className="text-sm">node0.librecloud.cc</span>
|
<span className="text-sm">Main Server</span>
|
||||||
<span>$28.88</span>
|
<span className="text-bold text-right">$28.88</span>
|
||||||
</div>
|
|
||||||
<div className="flex items-center justify-between mt-2">
|
|
||||||
<span className="text-sm">orbit.librecloud.cc</span>
|
|
||||||
<span>$34.24</span>
|
|
||||||
</div>
|
</div>
|
||||||
<Separator className="my-4" />
|
<Separator className="my-4" />
|
||||||
<div className="flex items-center justify-between">
|
<span className="font-bold">Domains</span>
|
||||||
<span className="font-bold uppercase">Domains</span>
|
|
||||||
<span className="font-bold uppercase">Price</span>
|
|
||||||
</div>
|
|
||||||
<div className="flex items-center justify-between mt-2">
|
<div className="flex items-center justify-between mt-2">
|
||||||
<span className="text-sm">0 Domains</span>
|
<span className="text-sm">librecloud.cc</span>
|
||||||
<span>$0.00</span>
|
<span className="text-bold text-right">$3.10</span>
|
||||||
</div>
|
</div>
|
||||||
<Separator className="my-4" />
|
<Separator className="my-4" />
|
||||||
<div className="flex items-center justify-between">
|
<span className="font-bold">Addons</span>
|
||||||
<span className="font-bold uppercase">Addons</span>
|
<div className="flex items-center justify-between mt-2">
|
||||||
<span className="font-bold uppercase">Price</span>
|
<span className="text-sm">+0GB Disk Space</span>
|
||||||
|
<span className="text-bold text-right">$0.00</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center justify-between mt-2">
|
<div className="flex items-center justify-between mt-2">
|
||||||
<span className="text-sm">0GB Disk Space</span>
|
<span className="text-sm">+0GB RAM</span>
|
||||||
<span>$0.00</span>
|
<span className="text-bold text-right">$0.00</span>
|
||||||
</div>
|
|
||||||
<div className="flex items-center justify-between mt-2">
|
|
||||||
<span className="text-sm">0GB RAM</span>
|
|
||||||
<span>$0.00</span>
|
|
||||||
</div>
|
</div>
|
||||||
<Separator className="my-4" />
|
<Separator className="my-4" />
|
||||||
<div className="flex items-center justify-between mt-2">
|
<div className="flex items-center justify-between mt-2">
|
||||||
<span className="font-bold">TOTAL</span>
|
<span className="font-bold">TOTAL</span>
|
||||||
<span className="font-bold">$63.12</span>
|
<span className="text-bold text-right">$31.98</span>
|
||||||
</div>
|
</div>
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user