feat: add shareable meme permalinks

This commit is contained in:
2026-07-24 15:37:22 -03:00
parent 4d317ba1d3
commit 0bf215555a
7 changed files with 334 additions and 33 deletions
+79 -5
View File
@@ -339,12 +339,14 @@ a {
}
.text-action {
appearance: none;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 8px 10px;
border: 1px solid #1a1a1a;
border-radius: 0;
background: transparent;
color: var(--muted);
font-size: 10px;
@@ -371,6 +373,12 @@ a {
background: var(--surface-high);
}
.text-action.is-copied {
border-color: var(--primary);
background: rgb(0 255 65 / 12%);
color: var(--primary);
}
.feed-loader {
display: flex;
flex-direction: column;
@@ -523,6 +531,10 @@ dialog::backdrop {
box-shadow: 0 0 18px rgb(0 255 65 / 12%);
}
.share-panel {
width: min(640px, calc(100vw - 32px));
}
.modal-header,
.lightbox-toolbar {
display: flex;
@@ -576,6 +588,60 @@ dialog::backdrop {
color: var(--error);
}
.share-body {
padding: 18px 16px 16px;
}
.share-body label,
.share-status {
color: var(--outline);
font-size: 10px;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
}
.share-link-row {
display: flex;
gap: 8px;
margin-top: 8px;
}
.share-link-row input {
min-width: 0;
flex: 1 1 auto;
height: 40px;
padding: 0 12px;
border: 1px solid var(--outline-variant);
border-radius: 0;
outline: 0;
background: var(--surface-lowest);
color: var(--text);
font-size: 12px;
}
.share-link-row input:focus {
border-color: var(--primary-dim);
}
.share-copy {
display: inline-flex;
align-items: center;
gap: 6px;
min-height: 40px;
}
.share-copy:disabled {
cursor: wait;
opacity: 0.65;
}
.share-status {
min-height: 16px;
margin: 10px 0 0;
color: var(--primary-dim);
}
.modal-actions {
display: flex;
justify-content: flex-end;
@@ -641,12 +707,11 @@ dialog::backdrop {
background: #000;
}
.lightbox-download {
.lightbox-actions {
display: flex;
width: max-content;
margin: 12px 12px 12px auto;
align-items: center;
gap: 6px;
justify-content: flex-end;
gap: 8px;
margin: 12px;
}
.empty-state {
@@ -752,6 +817,15 @@ dialog::backdrop {
padding-inline: 14px;
}
.share-link-row {
align-items: stretch;
flex-direction: column;
}
.share-copy {
justify-content: center;
}
.shell {
padding-top: 84px;
}