Compare commits
No commits in common. "3be1ca9e4857aea1a95957401d3d3aa964e730b5" and "780e7ee69b216116a9e62121e48013737feea08d" have entirely different histories.
3be1ca9e48
...
780e7ee69b
7 changed files with 460 additions and 501 deletions
|
@ -28,9 +28,7 @@ export function PostSegment(props: { post: Post }): JSXElement {
|
|||
return (
|
||||
<div class="card compact w-full flex-grow border-b-2 border-b-base-300 bg-base-200 text-base-content transition-all hover:bg-base-300">
|
||||
<div class="card-body">
|
||||
<p class="break-words text-base-content md:px-6 md:pt-2">
|
||||
{props.post?.content}
|
||||
</p>
|
||||
<p class="break-words text-base-content md:px-6 md:pt-2">{props.post?.content}</p>
|
||||
<div class="card-actions justify-end">
|
||||
<button
|
||||
onClick={(): void => nav("/post/" + props.post?.id)}
|
||||
|
|
|
@ -2,7 +2,7 @@ import { JSXElement } from "solid-js";
|
|||
|
||||
export function Footer(): JSXElement {
|
||||
return (
|
||||
<footer class="footer footer-center mt-auto rounded bg-base-200 p-10 text-base-content">
|
||||
<footer class="footer footer-center rounded mt-auto bg-base-200 p-10 text-base-content">
|
||||
<nav class="grid grid-flow-col gap-4">
|
||||
<a class="link-hover link">About us</a>
|
||||
<a class="link-hover link">Contact</a>
|
||||
|
|
|
@ -3,6 +3,8 @@ import { JSXElement } from "solid-js";
|
|||
// MainContainer is the main container for the page.
|
||||
export function PageContainer(props: { children: JSXElement }): JSXElement {
|
||||
return (
|
||||
<div class="flex min-h-screen flex-col items-center">{props.children}</div>
|
||||
<div class="flex min-h-screen flex-col items-center">
|
||||
{props.children}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
918
server/Cargo.lock
generated
918
server/Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -6,24 +6,24 @@ edition = "2021"
|
|||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
actix-cors = "0.7.0"
|
||||
actix-files = "0.6.6"
|
||||
actix-web = "4.9.0"
|
||||
argon2 = { version = "0.5.3", features = ["zeroize"] }
|
||||
biosvg = "0.1.5"
|
||||
chrono = { version = "0.4.38", features = ["serde"] }
|
||||
clap = { version = "4.5.16", features = ["derive"] }
|
||||
actix-cors = "0.6.4"
|
||||
actix-files = "0.6.2"
|
||||
actix-web = "4.4.0"
|
||||
argon2 = { version = "0.5.2", features = ["zeroize"] }
|
||||
biosvg = "0.1.3"
|
||||
chrono = { version = "0.4.31", features = ["serde"] }
|
||||
clap = { version = "4.4.5", features = ["derive"] }
|
||||
dotenvy = "0.15.7"
|
||||
env_logger = "0.11.5"
|
||||
jsonwebtoken = "9.3.0"
|
||||
lipsum = "0.9.1"
|
||||
log = "0.4.22"
|
||||
env_logger = "0.10.0"
|
||||
jsonwebtoken = "9.2.0"
|
||||
lipsum = "0.9.0"
|
||||
log = "0.4.20"
|
||||
rand = "0.8.5"
|
||||
serde = { version = "1.0.208", features = ["derive"] }
|
||||
serde_json = "1.0.125"
|
||||
serde = { version = "1.0.188", features = ["derive"] }
|
||||
serde_json = "1.0.107"
|
||||
sled = { version = "0.34.7" }
|
||||
sqlx = { version = "0.8.0", features = ["runtime-tokio", "chrono", "uuid", "postgres", "tls-rustls"] }
|
||||
uuid = { version = "1.10.0", features = ["serde", "v4"] }
|
||||
sqlx = { version = "0.7.2", features = ["runtime-tokio", "chrono", "uuid", "postgres", "tls-rustls"] }
|
||||
uuid = { version = "1.4.1", features = ["serde", "v4"] }
|
||||
|
||||
[profile.dev.package.sqlx-macros]
|
||||
opt-level = 3
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#[allow(dead_code)]
|
||||
use rand::Rng;
|
||||
|
||||
// This will do for now
|
||||
|
|
Loading…
Add table
Reference in a new issue