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 (
 | 
					  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 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">
 | 
					      <div class="card-body">
 | 
				
			||||||
        <p class="break-words text-base-content md:px-6 md:pt-2">
 | 
					        <p class="break-words text-base-content md:px-6 md:pt-2">{props.post?.content}</p>
 | 
				
			||||||
          {props.post?.content}
 | 
					 | 
				
			||||||
        </p>
 | 
					 | 
				
			||||||
        <div class="card-actions justify-end">
 | 
					        <div class="card-actions justify-end">
 | 
				
			||||||
          <button
 | 
					          <button
 | 
				
			||||||
            onClick={(): void => nav("/post/" + props.post?.id)}
 | 
					            onClick={(): void => nav("/post/" + props.post?.id)}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -2,7 +2,7 @@ import { JSXElement } from "solid-js";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export function Footer(): JSXElement {
 | 
					export function Footer(): JSXElement {
 | 
				
			||||||
  return (
 | 
					  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">
 | 
					      <nav class="grid grid-flow-col gap-4">
 | 
				
			||||||
        <a class="link-hover link">About us</a>
 | 
					        <a class="link-hover link">About us</a>
 | 
				
			||||||
        <a class="link-hover link">Contact</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.
 | 
					// MainContainer is the main container for the page.
 | 
				
			||||||
export function PageContainer(props: { children: JSXElement }): JSXElement {
 | 
					export function PageContainer(props: { children: JSXElement }): JSXElement {
 | 
				
			||||||
  return (
 | 
					  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
 | 
					# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[dependencies]
 | 
					[dependencies]
 | 
				
			||||||
actix-cors = "0.7.0"
 | 
					actix-cors = "0.6.4"
 | 
				
			||||||
actix-files = "0.6.6"
 | 
					actix-files = "0.6.2"
 | 
				
			||||||
actix-web = "4.9.0"
 | 
					actix-web = "4.4.0"
 | 
				
			||||||
argon2 = { version = "0.5.3", features = ["zeroize"] }
 | 
					argon2 = { version = "0.5.2", features = ["zeroize"] }
 | 
				
			||||||
biosvg = "0.1.5"
 | 
					biosvg = "0.1.3"
 | 
				
			||||||
chrono = { version = "0.4.38", features = ["serde"] }
 | 
					chrono = { version = "0.4.31", features = ["serde"] }
 | 
				
			||||||
clap = { version = "4.5.16", features = ["derive"] }
 | 
					clap = { version = "4.4.5", features = ["derive"] }
 | 
				
			||||||
dotenvy = "0.15.7"
 | 
					dotenvy = "0.15.7"
 | 
				
			||||||
env_logger = "0.11.5"
 | 
					env_logger = "0.10.0"
 | 
				
			||||||
jsonwebtoken = "9.3.0"
 | 
					jsonwebtoken = "9.2.0"
 | 
				
			||||||
lipsum = "0.9.1"
 | 
					lipsum = "0.9.0"
 | 
				
			||||||
log = "0.4.22"
 | 
					log = "0.4.20"
 | 
				
			||||||
rand = "0.8.5"
 | 
					rand = "0.8.5"
 | 
				
			||||||
serde = { version = "1.0.208", features = ["derive"] }
 | 
					serde = { version = "1.0.188", features = ["derive"] }
 | 
				
			||||||
serde_json = "1.0.125"
 | 
					serde_json = "1.0.107"
 | 
				
			||||||
sled = { version = "0.34.7" }
 | 
					sled = { version = "0.34.7" }
 | 
				
			||||||
sqlx = { version = "0.8.0", features = ["runtime-tokio", "chrono", "uuid", "postgres", "tls-rustls"] }
 | 
					sqlx = { version = "0.7.2", features = ["runtime-tokio", "chrono", "uuid", "postgres", "tls-rustls"] }
 | 
				
			||||||
uuid = { version = "1.10.0", features = ["serde", "v4"] }
 | 
					uuid = { version = "1.4.1", features = ["serde", "v4"] }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[profile.dev.package.sqlx-macros]
 | 
					[profile.dev.package.sqlx-macros]
 | 
				
			||||||
opt-level = 3
 | 
					opt-level = 3
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,3 @@
 | 
				
			||||||
#[allow(dead_code)]
 | 
					 | 
				
			||||||
use rand::Rng;
 | 
					use rand::Rng;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// This will do for now
 | 
					// This will do for now
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue