diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml new file mode 100644 index 0000000..2a99693 --- /dev/null +++ b/.gitea/workflows/release.yaml @@ -0,0 +1,27 @@ +name: release + +on: + push: + tags: + - '*' + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: oven-sh/setup-bun@v1 + with: + bun-version: latest + - run: | + bun install + bun run build + REPONAME=`basename $GITHUB_REPOSITORY` + mkdir out + mv dist out/$REPONAME + cd out && zip -r $REPONAME.zip $REPONAME + - uses: https://gitea.com/actions/release-action@main + with: + files: |- + bin/** + api_key: '${{secrets.RELEASE_TOKEN}}' diff --git a/src/App.svelte b/src/App.svelte index 23bb523..041f152 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -1,7 +1,40 @@ -
+
{#each [...$chats].reverse() as chat (`${chat.service}/${chat.data.id}`)} {@const author = chat.data.displayName ?? chat.data.name} -
+
{author}
{author} @@ -56,7 +89,7 @@ } .bubble { &::before { - @apply -left-2 top-0 block h-2 w-2 bg-slate-700 bg-opacity-80; + @apply -left-2 top-0 block h-2 w-2 bg-slate-800 bg-opacity-95; content: ' '; position: absolute; mask-image: linear-gradient( @@ -72,7 +105,8 @@ mask-image: linear-gradient( 180deg, rgba(0, 0, 0, 0) 0%, - rgba(0, 0, 0, 1) 50%, + rgba(0, 0, 0, 0.25) 15%, + rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 1) 100% ); }