mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
NodeLayout
This commit is contained in:
parent
684a4f4474
commit
b154277de8
23 changed files with 332 additions and 65 deletions
11
src/components/node/NodeImageBlockPlaceholder/index.tsx
Normal file
11
src/components/node/NodeImageBlockPlaceholder/index.tsx
Normal file
|
@ -0,0 +1,11 @@
|
|||
import React, { FC } from 'react';
|
||||
import * as styles from './styles.scss';
|
||||
import { LoaderCircle } from '~/components/input/LoaderCircle';
|
||||
|
||||
const NodeImageBlockPlaceholder: FC<{}> = () => (
|
||||
<div className={styles.placeholder}>
|
||||
<LoaderCircle size={64} />
|
||||
</div>
|
||||
);
|
||||
|
||||
export { NodeImageBlockPlaceholder };
|
14
src/components/node/NodeImageBlockPlaceholder/styles.scss
Normal file
14
src/components/node/NodeImageBlockPlaceholder/styles.scss
Normal file
|
@ -0,0 +1,14 @@
|
|||
.placeholder {
|
||||
height: 33vw;
|
||||
background: transparentize(black, 0.8);
|
||||
border: $radius $radius 0 0;
|
||||
@include outer_shadow();
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
svg {
|
||||
fill: transparentize(white, 0.95);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue