-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d77e503
commit 58513c3
Showing
13 changed files
with
85 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 11 additions & 7 deletions
18
app/src/app/(app)/spynet/entity/[id]/_components/OverviewSkeleton.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
const OverviewSkeleton = () => { | ||
import clsx from "clsx"; | ||
|
||
type Props = Readonly<{ | ||
className?: string; | ||
}>; | ||
|
||
export const OverviewSkeleton = ({ className }: Props) => { | ||
return ( | ||
<section | ||
className="rounded-2xl p-4 lg:p-8 bg-neutral-800/50 flex flex-col animate-pulse min-h-[22.5rem]" | ||
style={{ | ||
gridArea: "overview", | ||
}} | ||
className={clsx( | ||
className, | ||
"rounded-2xl p-4 lg:p-8 bg-neutral-800/50 flex flex-col animate-pulse min-h-[22.5rem]", | ||
)} | ||
> | ||
<h2 className="font-bold">Übersicht</h2> | ||
</section> | ||
); | ||
}; | ||
|
||
export default OverviewSkeleton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 10 additions & 7 deletions
17
app/src/app/(app)/spynet/entity/[id]/_components/notes/NotesSkeleton.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
import clsx from "clsx"; | ||
import { FaListAlt } from "react-icons/fa"; | ||
|
||
const NotesSkeleton = () => { | ||
type Props = Readonly<{ | ||
className?: string; | ||
}>; | ||
|
||
export const NotesSkeleton = ({ className }: Props) => { | ||
return ( | ||
<section | ||
className="rounded-2xl p-4 lg:p-8 bg-neutral-800/50 col-span-2 animate-pulse min-h-[22.5rem] w-full place-self-start" | ||
style={{ | ||
gridArea: "notes", | ||
}} | ||
className={clsx( | ||
className, | ||
"rounded-2xl p-4 lg:p-8 bg-neutral-800/50 col-span-2 animate-pulse min-h-[22.5rem]", | ||
)} | ||
> | ||
<h2 className="font-bold flex gap-2 items-center"> | ||
<FaListAlt /> Notizen | ||
</h2> | ||
</section> | ||
); | ||
}; | ||
|
||
export default NotesSkeleton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 10 additions & 7 deletions
17
app/src/app/(app)/spynet/entity/[id]/_components/roles/RolesSkeleton.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
import clsx from "clsx"; | ||
import { FaLock } from "react-icons/fa"; | ||
|
||
const RolesSkeleton = () => { | ||
type Props = Readonly<{ | ||
className?: string; | ||
}>; | ||
|
||
export const RolesSkeleton = ({ className }: Props) => { | ||
return ( | ||
<section | ||
className="rounded-2xl p-4 lg:p-8 bg-neutral-800/50 flex flex-col animate-pulse min-h-[22.5rem]" | ||
style={{ | ||
gridArea: "roles", | ||
}} | ||
className={clsx( | ||
className, | ||
"rounded-2xl p-4 lg:p-8 bg-neutral-800/50 flex flex-col animate-pulse min-h-[22.5rem]", | ||
)} | ||
> | ||
<h2 className="font-bold flex gap-2 items-center"> | ||
<FaLock /> Rollen | ||
</h2> | ||
</section> | ||
); | ||
}; | ||
|
||
export default RolesSkeleton; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters