feat: clips
This commit is contained in:
@ -57,12 +57,15 @@
|
||||
.stream-page .profile-info {
|
||||
width: calc(100% - 32px);
|
||||
}
|
||||
|
||||
.stream-page .video-content video {
|
||||
max-height: 30vh;
|
||||
}
|
||||
}
|
||||
|
||||
.profile-info {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 0 16px;
|
||||
gap: var(--gap-m);
|
||||
}
|
||||
|
||||
|
@ -27,8 +27,9 @@ import { ContentWarningOverlay, isContentWarningAccepted } from "@/element/conte
|
||||
import { useCurrentStreamFeed } from "@/hooks/current-stream-feed";
|
||||
import { useStreamLink } from "@/hooks/stream-link";
|
||||
import { FollowButton } from "@/element/follow-button";
|
||||
import { ClipButton } from "@/element/clip-button";
|
||||
|
||||
function ProfileInfo({ ev, goal }: { ev?: NostrEvent; goal?: TaggedNostrEvent }) {
|
||||
function ProfileInfo({ ev, goal }: { ev?: TaggedNostrEvent; goal?: TaggedNostrEvent }) {
|
||||
const system = useContext(SnortContext);
|
||||
const login = useLogin();
|
||||
const navigate = useNavigate();
|
||||
@ -85,6 +86,7 @@ function ProfileInfo({ ev, goal }: { ev?: NostrEvent; goal?: TaggedNostrEvent })
|
||||
</div>
|
||||
{ev && (
|
||||
<>
|
||||
<ClipButton ev={ev} />
|
||||
<ShareMenu ev={ev} />
|
||||
{zapTarget && (
|
||||
<SendZapsDialog
|
||||
|
Reference in New Issue
Block a user