-
Comentarios
-
No aun :3
+
+
Comentarios
+ {comentarios}
)
}
diff --git a/src/components/Comments.scss b/src/components/Comments.scss
new file mode 100644
index 0000000..f8bc454
--- /dev/null
+++ b/src/components/Comments.scss
@@ -0,0 +1,42 @@
+.comments {
+ .comment {
+ display: flex;
+ padding-bottom: 1em;
+ margin-top: 1em;
+ border-bottom: var(--line-width) solid var(--accent);
+
+ .avatar-container {
+ flex-shrink: 0;
+ width: 75px;
+ height: 75px;
+ margin-right: 1em;
+ outline: 1px var(--gray-2) solid;
+
+ .avatar {
+ object-fit: cover;
+ width: 100%;
+ height: 100%;
+ }
+
+ }
+
+ .body {
+ .username {
+ font-weight: 500;
+ }
+ p {
+ }
+ }
+
+ .buttons {
+ display: flex;
+ flex-direction: row;
+
+ button {
+ border: none;
+ padding: 0 1em;
+ background-color: transparent;
+ }
+ }
+ }
+}
diff --git a/src/views/Artist.jsx b/src/views/Artist.jsx
index 8117ac4..06a58f8 100644
--- a/src/views/Artist.jsx
+++ b/src/views/Artist.jsx
@@ -7,6 +7,7 @@ import {CoverArt} from '../components/CoverArt';
import {Paginate} from "../components/Paginate";
import {EntityList} from "../components/EntityList";
import {Entity} from "../components/Entity";
+import {Comments} from "../components/Comments";
const Discs = (props) => {
@@ -112,6 +113,7 @@ export const ArtistView = (props) => {
);
}
diff --git a/src/views/Disc.jsx b/src/views/Disc.jsx
index 4b56c79..2e26230 100644
--- a/src/views/Disc.jsx
+++ b/src/views/Disc.jsx
@@ -9,6 +9,7 @@ import {CoverArt} from "../components/CoverArt";
import {Entity} from "../components/Entity";
import {EntityList} from "../components/EntityList";
import {Paginate} from "../components/Paginate";
+import {Comments} from "../components/Comments";
const Versions = (props) => {
const versions = props.versions ? props.versions : null;
@@ -115,6 +116,7 @@ export const DiscView = (props) => {
onPageChanged={handleVersionPageChanged} makeLink={makeLink}
navigateToVersion={handleNavigateToVersion}/>
}
+
)
}
diff --git a/src/views/Release.jsx b/src/views/Release.jsx
index a6e0411..cc01c27 100644
--- a/src/views/Release.jsx
+++ b/src/views/Release.jsx
@@ -7,6 +7,7 @@ import {getRelease, getReleaseSongs} from "../services/entity_service";
import {CoverArt} from "../components/CoverArt";
import {Entity} from "../components/Entity";
import {EntityList} from "../components/EntityList";
+import {Comments} from "../components/Comments";
const Recordings = (props) => {
@@ -92,6 +93,7 @@ export const ReleaseView = (props) => {
makeLink={makeLink}
navigateToRecording={handleNavigateToRecording}/>
}
+
)
}
{props.text}
+