change bg colour
This commit is contained in:
parent
31594891e5
commit
9fd4ab4e46
3 changed files with 11 additions and 2 deletions
|
@ -32,7 +32,7 @@ export default component$(() => {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
return (
|
return (
|
||||||
<div class="fixed bottom-4 left-1/2 transform -translate-x-1/2 bg-gray-950/50 backdrop-blur-3xl w-1/3 p-2 rounded-lg flex items-center justify-between">
|
<div class="fixed bottom-4 left-1/2 transform -translate-x-1/2 bg-neutral-950/50 backdrop-blur-3xl w-1/3 p-2 rounded-lg flex items-center justify-between">
|
||||||
<input
|
<input
|
||||||
type="file"
|
type="file"
|
||||||
ref={fileInputRef}
|
ref={fileInputRef}
|
||||||
|
|
|
@ -19,7 +19,7 @@ const formatSize = (bytes: number) => {
|
||||||
|
|
||||||
export default component$(({ file }: FileProps) => {
|
export default component$(({ file }: FileProps) => {
|
||||||
return (
|
return (
|
||||||
<div class="rounded-xl bg-slate-900 flex flex-col overflow-hidden">
|
<div class="rounded-xl bg-neutral-900 flex flex-col overflow-hidden">
|
||||||
{ file.Base64 && (file.ID.endsWith(".png") || file.ID.endsWith(".jpg") || file.ID.endsWith(".jpeg")) && (
|
{ file.Base64 && (file.ID.endsWith(".png") || file.ID.endsWith(".jpg") || file.ID.endsWith(".jpeg")) && (
|
||||||
<img
|
<img
|
||||||
width={400}
|
width={400}
|
||||||
|
|
9
src/routes/layout.tsx
Normal file
9
src/routes/layout.tsx
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
import { component$, Slot } from '@builder.io/qwik';
|
||||||
|
|
||||||
|
export default component$(() => {
|
||||||
|
return (
|
||||||
|
<div class="flex flex-col min-h-screen bg-neutral-950 text-white">
|
||||||
|
<Slot />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
});
|
Loading…
Add table
Add a link
Reference in a new issue