tangled
alpha
login
or
join now
flo-bit.dev
/
blento
21
fork
atom
your personal website on atproto - mirror
blento.app
21
fork
atom
overview
issues
pulls
pipelines
update scope
Florian
1 month ago
90662d92
f4e2e6c7
+8
-2
2 changed files
expand all
collapse all
unified
split
src
lib
oauth
const.ts
website
EditBar.svelte
+1
-1
src/lib/oauth/const.ts
···
8
8
redirect_uris: [env.PUBLIC_DOMAIN + base],
9
9
10
10
scope:
11
11
-
'atproto repo:app.blento.card repo:app.blento.page repo:app.blento.settings repo:app.blento.comment repo:site.standard.publication repo:site.standard.document blob:*/* rpc:app.bsky.actor.getProfile?aud=did:web:api.bsky.app%23bsky_appview',
11
11
+
'atproto repo:app.blento.card repo:app.blento.page repo:app.blento.settings repo:app.blento.comment repo:site.standard.publication repo:site.standard.document repo:app.blento.guestbook.entry blob:*/* rpc:app.bsky.actor.getProfile?aud=did:web:api.bsky.app%23bsky_appview',
12
12
grant_types: ['authorization_code', 'refresh_token'],
13
13
response_types: ['code'],
14
14
token_endpoint_auth_method: 'none',
+7
-1
src/lib/website/EditBar.svelte
···
2
2
import { dev } from '$app/environment';
3
3
import { client } from '$lib/oauth';
4
4
import type { WebsiteData } from '$lib/types';
5
5
-
import { Button, Input, Navbar, Popover, Toggle } from '@foxui/core';
5
5
+
import { Button, Input, Modal, Navbar, Popover, Toggle } from '@foxui/core';
6
6
7
7
let {
8
8
data,
···
40
40
41
41
let imageInputRef: HTMLInputElement | undefined = $state();
42
42
let videoInputRef: HTMLInputElement | undefined = $state();
43
43
+
44
44
+
let shareModalOpen = $state(false);
43
45
</script>
44
46
45
47
<input
···
59
61
multiple
60
62
bind:this={videoInputRef}
61
63
/>
64
64
+
65
65
+
<Modal bind:open={shareModalOpen}>
66
66
+
67
67
+
</Modal>
62
68
63
69
{#if dev || (client.isLoggedIn && client.profile?.did === data.did)}
64
70
<Navbar