Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update project references from Bluesky to Mention and add Vercel conf…
Browse files Browse the repository at this point in the history
…iguration for deployment
NateIsern committed Dec 19, 2024
1 parent d771200 commit 88eebf4
Showing 22 changed files with 1,072 additions and 128 deletions.
36 changes: 20 additions & 16 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -94,27 +94,31 @@ module.exports = {
},
],
},
ignorePatterns: [
'**/__mocks__/*.ts',
'src/platform/polyfills.ts',
'src/third-party',
'ios',
'android',
'coverage',
'*.lock',
'.husky',
'patches',
'bskyweb',
'*.html',
'bskyweb',
'src/locale/locales/_build/',
'src/locale/locales/**/*.js',
],
settings: {
componentWrapperFunctions: ['observer'],
},
parserOptions: {
sourceType: 'module',
ecmaVersion: 'latest',
},
overrides: [
{
files: ['**/*'],
excludedFiles: [
'**/__mocks__/*.ts',
'src/platform/polyfills.ts',
'src/third-party',
'ios',
'android',
'coverage',
'*.lock',
'.husky',
'patches',
'bskyweb',
'*.html',
'src/locale/locales/_build/',
'src/locale/locales/**/*.js',
],
},
],
}
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "Feature Request"
description: "Suggest an idea for the Bluesky app."
description: "Suggest an idea for the Mention app."
labels: ["feature-request"]
body:
- type: markdown
1 change: 0 additions & 1 deletion bskyembed/.eslintrc
Original file line number Diff line number Diff line change
@@ -4,7 +4,6 @@
"plugins": ["@typescript-eslint", "simple-import-sort"],
"extends": [
"eslint:recommended",
"preact",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
4 changes: 2 additions & 2 deletions bskyembed/index.html
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bluesky Embed</title>
<title>Mention Embed</title>
<link rel="apple-touch-icon" sizes="180x180" href="/static/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png">
<link rel="mask-icon" href="/static/safari-pinned-tab.svg" color="#1185fe">
<meta name="theme-color">
<meta name="application-name" content="Bluesky">
<meta name="application-name" content="Mention">
<meta name="generator" content="bskyweb">
</head>
<body>
45 changes: 24 additions & 21 deletions bskyembed/src/components/post.tsx
Original file line number Diff line number Diff line change
@@ -4,35 +4,35 @@ import {
AppBskyRichtextFacet,
RichText,
} from '@atproto/api'
import {h} from 'preact'
import { h } from 'preact'

import replyIcon from '../../assets/bubble_filled_stroke2_corner2_rounded.svg'
import likeIcon from '../../assets/heart2_filled_stroke2_corner0_rounded.svg'
import logo from '../../assets/logo.svg'
import repostIcon from '../../assets/repost_stroke2_corner2_rounded.svg'
import {CONTENT_LABELS} from '../labels'
import {getRkey, niceDate, prettyNumber} from '../utils'
import {Container} from './container'
import {Embed} from './embed'
import {Link} from './link'
import { CONTENT_LABELS } from '../labels'
import { getRkey, niceDate, prettyNumber } from '../utils'
import { Container } from './container'
import { Embed } from './embed'
import { Link } from './link'

interface Props {
thread: AppBskyFeedDefs.ThreadViewPost
}

export function Post({thread}: Props) {
export function Post({ thread }: Props): JSX.Element {
const post = thread.post

const isAuthorLabeled = post.author.labels?.some(label =>
CONTENT_LABELS.includes(label.val),
)
const isAuthorLabeled: boolean =
post.author.labels?.some(label => CONTENT_LABELS.includes(label.val)) ??
false

let record: AppBskyFeedPost.Record | null = null
if (AppBskyFeedPost.isRecord(post.record)) {
record = post.record
}

const href = `/profile/${post.author.did}/post/${getRkey(post)}`
const href: string = `/profile/${post.author.did}/post/${getRkey(post)}`
return (
<Container href={href}>
<div className="flex-1 flex-col flex gap-2" lang={record?.langs?.[0]}>
@@ -41,7 +41,7 @@ export function Post({thread}: Props) {
<div className="w-10 h-10 overflow-hidden rounded-full bg-neutral-300 dark:bg-slate-700 shrink-0">
<img
src={post.author.avatar}
style={isAuthorLabeled ? {filter: 'blur(2.5px)'} : undefined}
style={isAuthorLabeled ? { filter: 'blur(2.5px)' } : undefined}
/>
</div>
</Link>
@@ -99,31 +99,34 @@ export function Post({thread}: Props) {
<div className="flex-1" />
<p className="cursor-pointer text-brand dark:text-brandLighten font-bold hover:underline hidden min-[450px]:inline">
{post.replyCount
? `Read ${prettyNumber(post.replyCount)} ${
post.replyCount > 1 ? 'replies' : 'reply'
} on Bluesky`
: `View on Bluesky`}
? `Read ${prettyNumber(post.replyCount)} ${post.replyCount > 1 ? 'replies' : 'reply'
} on Mention`
: `View on Mention`}
</p>
<p className="cursor-pointer text-brand font-bold hover:underline min-[450px]:hidden">
<span className="hidden min-[380px]:inline">View on </span>Bluesky
<span className="hidden min-[380px]:inline">View on </span>Mention
</p>
</div>
</div>
</Container>
)
}

function PostContent({record}: {record: AppBskyFeedPost.Record | null}) {
function PostContent({
record,
}: {
record: AppBskyFeedPost.Record | null
}): JSX.Element | null {
if (!record) return null

const rt = new RichText({
const rt: RichText = new RichText({
text: record.text,
facets: record.facets,
})

const richText = []
const richText: (JSX.Element | string)[] = []

let counter = 0
let counter: number = 0
for (const segment of rt.segments()) {
if (
segment.link &&
13 changes: 6 additions & 7 deletions bskyogcard/src/components/StarterPack.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/* eslint-disable bsky-internal/avoid-unwrapped-text */
import React from 'react'
import {AppBskyGraphDefs, AppBskyGraphStarterpack} from '@atproto/api'
import { AppBskyGraphDefs, AppBskyGraphStarterpack } from '@atproto/api'

import {Butterfly} from './Butterfly.js'
import {Img} from './Img.js'
import { Butterfly } from './Butterfly.js'
import { Img } from './Img.js'

export const STARTERPACK_HEIGHT = 630
export const STARTERPACK_WIDTH = 1200
@@ -17,7 +16,7 @@ export function StarterPack(props: {
starterPack: AppBskyGraphDefs.StarterPackView
images: Map<string, Buffer>
}) {
const {starterPack, images} = props
const { starterPack, images } = props
const record = AppBskyGraphStarterpack.isRecord(starterPack.record)
? starterPack.record
: null
@@ -109,7 +108,7 @@ export function StarterPack(props: {
}}>
JOIN THE CONVERSATION
</div>
<div style={{display: 'flex'}}>
<div style={{ display: 'flex' }}>
{imagesAcross.map((image, i) => {
return (
<div
@@ -144,7 +143,7 @@ export function StarterPack(props: {
justifyContent: 'center',
padding: '30px 30px 10px',
}}>
on <Butterfly width="65" style={{margin: '-7px 10px 0'}} /> Bluesky
on <Butterfly width="65" style={{ margin: '-7px 10px 0' }} /> Bluesky
</div>
</div>
</div>
1 change: 1 addition & 0 deletions bskyweb/.gitignore
Original file line number Diff line number Diff line change
@@ -28,3 +28,4 @@ embedr-static/polyfills-*.js

# Don't ignore this file
!.gitignore
.vercel
6 changes: 3 additions & 3 deletions bskyweb/templates/base.html
Original file line number Diff line number Diff line change
@@ -92,9 +92,9 @@
<link rel="icon" type="image/png" sizes="16x16" href="{{ staticCDNHost }}/static/favicon-16x16.png">
<link rel="mask-icon" href="{{ staticCDNHost }}/static/safari-pinned-tab.svg" color="#1185fe">
<meta name="theme-color">
<meta name="application-name" content="Bluesky">
<meta name="application-name" content="Mention">
<meta name="generator" content="bskyweb">
<meta property="og:site_name" content="Bluesky Social" />
<meta property="og:site_name" content="Mention by Oxy" />
<link type="application/activity+json" href="" />

{% block html_head_extra -%}{%- endblock %}
@@ -111,7 +111,7 @@
<noscript>
<h1 lang="en">JavaScript Required</h1>
<p lang="en">This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
<p lang="en">Learn more about Bluesky at <a href="https://bsky.social">bsky.social</a> and <a href="https://atproto.com">atproto.com</a>.
<p lang="en">Learn more about Mention at <a href="https://oxy.so/mention">oxy.so/mention</a> and <a href="https://oxy.so">oxy.so</a>.
{% block noscript_extra %}{% endblock %}
</noscript>
{% endblock -%}
4 changes: 2 additions & 2 deletions bskyweb/templates/error.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% extends "base.html" %}

{% block head_title %}Error {{ statusCode }} - Bluesky{% endblock %}
{% block head_title %}Error {{ statusCode }} - Mention{% endblock %}

{% block noscript_extra %}
{%- if statusCode == 404 %}
@@ -22,6 +22,6 @@ <h1>404: Not Found</h1>
{{ block.Super }}
{% else %}
<h1>{{ statusCode }}: Server Error</h1>
<p>Sorry about that! Our <a href="https://bluesky.statuspage.io/">Status Page</a> might have more context.
<p>Sorry about that! Our <a href="https://mention.statuspage.io/">Status Page</a> might have more context.
{% endif %}
{% endblock -%}
12 changes: 6 additions & 6 deletions bskyweb/templates/home.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{% extends "base.html" %}

{% block head_title %}Bluesky{% endblock %}
{% block head_title %}Mention{% endblock %}

{% block html_head_extra -%}
<meta property="og:title" content="Bluesky" />
<meta name="twitter:title" content="Bluesky" />
<meta property="og:title" content="Mention" />
<meta name="twitter:title" content="Mention" />

<meta name="description" content="Social media as it should be. Find your community among millions of users, unleash your creativity, and have some fun again." />
<meta name="og:description" content="Social media as it should be. Find your community among millions of users, unleash your creativity, and have some fun again." />
<meta name="twitter:description" content="Social media as it should be. Find your community among millions of users, unleash your creativity, and have some fun again." />

<meta property="og:url" content="https://bsky.app" />
<meta name="twitter:url" content="https://bsky.app" />
<meta property="og:url" content="https://mention.earth" />
<meta name="twitter:url" content="https://mention.earth" />

<meta property="og:image" content="https://bsky.app/static/social-card-default-gradient.png" />
<meta property="twitter:image" content="https://bsky.app/static/social-card-default-gradient.png" />

<meta name="twitter:site" content="@bluesky" />
<meta name="twitter:site" content="@MentionbyOxy" />
<meta name="twitter:card" content="summary_large_image" />
{%- endblock %}

4 changes: 2 additions & 2 deletions bskyweb/templates/post.html
Original file line number Diff line number Diff line change
@@ -2,9 +2,9 @@

{% block head_title %}
{%- if postView -%}
@{{ postView.Author.Handle }} on Bluesky
@{{ postView.Author.Handle }} on Mention
{%- else -%}
Bluesky
Mention
{%- endif -%}
{% endblock %}

6 changes: 3 additions & 3 deletions bskyweb/templates/profile.html
Original file line number Diff line number Diff line change
@@ -2,15 +2,15 @@

{% block head_title %}
{%- if profileView -%}
@{{ profileView.Handle }} on Bluesky
@{{ profileView.Handle }} on Mention
{%- else -%}
Bluesky
Mention
{%- endif -%}
{% endblock %}

{% block html_head_extra -%}
{%- if profileView -%}
<meta property="og:site_name" content="Bluesky Social">
<meta property="og:site_name" content="Mention">
<meta property="og:type" content="profile">
<meta property="profile:username" content="{{ profileView.Handle }}">
{%- if requestURI %}
4 changes: 2 additions & 2 deletions bskyweb/templates/starterpack.html
Original file line number Diff line number Diff line change
@@ -17,8 +17,8 @@
<meta property="og:title" content="{{ title }}" />
<meta name="twitter:title" content="{{ title }}" />
{%- else -%}
<meta property="og:title" content="Bluesky" />
<meta name="twitter:title" content="Bluesky" />
<meta property="og:title" content="Mention" />
<meta name="twitter:title" content="Mention" />
{% endif -%}
<meta name="description" content="Join the conversation" />
<meta name="og:description" content="Join the conversation" />
16 changes: 16 additions & 0 deletions bskyweb/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"version": 2,
"builds": [
{
"src": "cmd/bskyweb/main.go",
"use": "@vercel/go"
},
{
"src": "public/*",
"use": "@vercel/static"
}
],
"routes": [
{ "src": "/(.*)", "dest": "/public/$1" }
]
}
4 changes: 2 additions & 2 deletions modules/BlueskyNSE/Info.plist
Original file line number Diff line number Diff line change
@@ -10,11 +10,11 @@
<string>$(PRODUCT_MODULE_NAME).NotificationService</string>
</dict>
<key>MainAppScheme</key>
<string>bluesky</string>
<string>mention</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundleDisplayName</key>
<string>Bluesky Notifications</string>
<string>Mention Notifications</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleVersion</key>
2 changes: 1 addition & 1 deletion modules/Share-with-Bluesky/Info.plist
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@
<string>com.apple.share-services</string>
</dict>
<key>MainAppScheme</key>
<string>bluesky</string>
<string>mention</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundleDisplayName</key>
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@ class ExpoReceiveAndroidIntentsModule : Module() {
private fun handleTextIntent(intent: Intent) {
intent.getStringExtra(Intent.EXTRA_TEXT)?.let {
val encoded = URLEncoder.encode(it, "UTF-8")
"bluesky://intent/compose?text=$encoded".toUri().let { uri ->
"mention://intent/compose?text=$encoded".toUri().let { uri ->
val newIntent = Intent(Intent.ACTION_VIEW, uri)
appContext.currentActivity?.startActivity(newIntent)
}
@@ -122,7 +122,7 @@ class ExpoReceiveAndroidIntentsModule : Module() {

val encoded = URLEncoder.encode(allParams, "UTF-8")

"bluesky://intent/compose?imageUris=$encoded".toUri().let {
"mention://intent/compose?imageUris=$encoded".toUri().let {
val newIntent = Intent(Intent.ACTION_VIEW, it)
appContext.currentActivity?.startActivity(newIntent)
}
@@ -147,7 +147,7 @@ class ExpoReceiveAndroidIntentsModule : Module() {

val info = getVideoInfo(uri) ?: return

"bluesky://intent/compose?videoUri=${URLEncoder.encode(file.path, "UTF-8")}|${info["width"]}|${info["height"]}".toUri().let {
"mention://intent/compose?videoUri=${URLEncoder.encode(file.path, "UTF-8")}|${info["width"]}|${info["height"]}".toUri().let {
val newIntent = Intent(Intent.ACTION_VIEW, it)
appContext.currentActivity?.startActivity(newIntent)
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -162,6 +162,7 @@
"normalize-url": "^8.0.0",
"patch-package": "^6.5.1",
"postinstall-postinstall": "^2.1.0",
"preact": "^10.25.3",
"psl": "^1.9.0",
"react": "18.2.0",
"react-compiler-runtime": "19.0.0-beta-a7bf2bd-20241110",
@@ -237,6 +238,7 @@
"babel-plugin-react-compiler": "19.0.0-beta-a7bf2bd-20241110",
"babel-preset-expo": "^12.0.2",
"eslint": "^8.19.0",
"eslint-config-preact": "^1.5.0",
"eslint-plugin-bsky-internal": "link:./eslint",
"eslint-plugin-ft-flow": "^2.0.3",
"eslint-plugin-lingui": "^0.2.0",
48 changes: 24 additions & 24 deletions src/components/NewskieDialog.tsx
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
import React from 'react'
import {View} from 'react-native'
import {AppBskyActorDefs, moderateProfile} from '@atproto/api'
import {msg, Trans} from '@lingui/macro'
import {useLingui} from '@lingui/react'
import {differenceInSeconds} from 'date-fns'
import { View } from 'react-native'
import { AppBskyActorDefs, moderateProfile } from '@atproto/api'
import { msg, Trans } from '@lingui/macro'
import { useLingui } from '@lingui/react'
import { differenceInSeconds } from 'date-fns'

import {HITSLOP_10} from '#/lib/constants'
import {useGetTimeAgo} from '#/lib/hooks/useTimeAgo'
import {sanitizeDisplayName} from '#/lib/strings/display-names'
import {isNative} from '#/platform/detection'
import {useModerationOpts} from '#/state/preferences/moderation-opts'
import {useSession} from '#/state/session'
import {atoms as a, useTheme} from '#/alf'
import {Button, ButtonText} from '#/components/Button'
import { HITSLOP_10 } from '#/lib/constants'
import { useGetTimeAgo } from '#/lib/hooks/useTimeAgo'
import { sanitizeDisplayName } from '#/lib/strings/display-names'
import { isNative } from '#/platform/detection'
import { useModerationOpts } from '#/state/preferences/moderation-opts'
import { useSession } from '#/state/session'
import { atoms as a, useTheme } from '#/alf'
import { Button, ButtonText } from '#/components/Button'
import * as Dialog from '#/components/Dialog'
import {useDialogControl} from '#/components/Dialog'
import {Newskie} from '#/components/icons/Newskie'
import { useDialogControl } from '#/components/Dialog'
import { Newskie } from '#/components/icons/Newskie'
import * as StarterPackCard from '#/components/StarterPack/StarterPackCard'
import {Text} from '#/components/Typography'
import { Text } from '#/components/Typography'

export function NewskieDialog({
profile,
@@ -26,10 +26,10 @@ export function NewskieDialog({
profile: AppBskyActorDefs.ProfileViewDetailed
disabled?: boolean
}) {
const {_} = useLingui()
const { _ } = useLingui()
const t = useTheme()
const moderationOpts = useModerationOpts()
const {currentAccount} = useSession()
const { currentAccount } = useSession()
const timeAgo = useGetTimeAgo()
const control = useDialogControl()

@@ -66,7 +66,7 @@ export function NewskieDialog({
)}
hitSlop={HITSLOP_10}
onPress={control.open}>
{({hovered, pressed}) => (
{({ hovered, pressed }) => (
<Newskie
size="lg"
fill="#FFC404"
@@ -81,7 +81,7 @@ export function NewskieDialog({
<Dialog.Handle />
<Dialog.ScrollableInner
label={_(msg`New user info dialog`)}
style={[{width: 'auto', maxWidth: 400, minWidth: 200}]}>
style={[{ width: 'auto', maxWidth: 400, minWidth: 200 }]}>
<View style={[a.gap_md]}>
<View style={[a.align_center]}>
<View
@@ -109,13 +109,13 @@ export function NewskieDialog({
<Text style={[a.text_md, a.text_center, a.leading_snug]}>
{profile.joinedViaStarterPack ? (
<Trans>
{profileName} joined Bluesky using a starter pack{' '}
{timeAgo(createdAt, now, {format: 'long'})} ago
{profileName} joined Mention using a starter pack{' '}
{timeAgo(createdAt, now, { format: 'long' })} ago
</Trans>
) : (
<Trans>
{profileName} joined Bluesky{' '}
{timeAgo(createdAt, now, {format: 'long'})} ago
{profileName} joined Mention{' '}
{timeAgo(createdAt, now, { format: 'long' })} ago
</Trans>
)}
</Text>
46 changes: 23 additions & 23 deletions src/components/dialogs/Signin.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import React from 'react'
import {View} from 'react-native'
import {msg, Trans} from '@lingui/macro'
import {useLingui} from '@lingui/react'
import { View } from 'react-native'
import { msg, Trans } from '@lingui/macro'
import { useLingui } from '@lingui/react'

import {isNative} from '#/platform/detection'
import {useLoggedOutViewControls} from '#/state/shell/logged-out'
import {useCloseAllActiveElements} from '#/state/util'
import {Logo} from '#/view/icons/Logo'
import {Logotype} from '#/view/icons/Logotype'
import {atoms as a, useBreakpoints, useTheme} from '#/alf'
import {Button, ButtonText} from '#/components/Button'
import { isNative } from '#/platform/detection'
import { useLoggedOutViewControls } from '#/state/shell/logged-out'
import { useCloseAllActiveElements } from '#/state/util'
import { Logo } from '#/view/icons/Logo'
import { Logotype } from '#/view/icons/Logotype'
import { atoms as a, useBreakpoints, useTheme } from '#/alf'
import { Button, ButtonText } from '#/components/Button'
import * as Dialog from '#/components/Dialog'
import {useGlobalDialogsControlContext} from '#/components/dialogs/Context'
import {Text} from '#/components/Typography'
import { useGlobalDialogsControlContext } from '#/components/dialogs/Context'
import { Text } from '#/components/Typography'

export function SigninDialog() {
const {signinDialogControl: control} = useGlobalDialogsControlContext()
const { signinDialogControl: control } = useGlobalDialogsControlContext()
return (
<Dialog.Outer control={control}>
<Dialog.Handle />
@@ -24,27 +24,27 @@ export function SigninDialog() {
)
}

function SigninDialogInner({}: {control: Dialog.DialogOuterProps['control']}) {
function SigninDialogInner({ }: { control: Dialog.DialogOuterProps['control'] }) {
const t = useTheme()
const {_} = useLingui()
const {gtMobile} = useBreakpoints()
const {requestSwitchToAccount} = useLoggedOutViewControls()
const { _ } = useLingui()
const { gtMobile } = useBreakpoints()
const { requestSwitchToAccount } = useLoggedOutViewControls()
const closeAllActiveElements = useCloseAllActiveElements()

const showSignIn = React.useCallback(() => {
closeAllActiveElements()
requestSwitchToAccount({requestedAccount: 'none'})
requestSwitchToAccount({ requestedAccount: 'none' })
}, [requestSwitchToAccount, closeAllActiveElements])

const showCreateAccount = React.useCallback(() => {
closeAllActiveElements()
requestSwitchToAccount({requestedAccount: 'new'})
requestSwitchToAccount({ requestedAccount: 'new' })
}, [requestSwitchToAccount, closeAllActiveElements])

return (
<Dialog.ScrollableInner
label={_(msg`Sign into Bluesky or create a new account`)}
style={[gtMobile ? {width: 'auto', maxWidth: 420} : a.w_full]}>
label={_(msg`Sign into Mention or create a new account`)}
style={[gtMobile ? { width: 'auto', maxWidth: 420 } : a.w_full]}>
<View style={[!isNative && a.p_2xl]}>
<View
style={[
@@ -55,7 +55,7 @@ function SigninDialogInner({}: {control: Dialog.DialogOuterProps['control']}) {
a.pb_lg,
]}>
<Logo width={36} />
<View style={{paddingTop: 6}}>
<View style={{ paddingTop: 6 }}>
<Logotype width={120} fill={t.atoms.text.color} />
</View>
</View>
@@ -101,7 +101,7 @@ function SigninDialogInner({}: {control: Dialog.DialogOuterProps['control']}) {
</Button>
</View>

{isNative && <View style={{height: 10}} />}
{isNative && <View style={{ height: 10 }} />}
</View>

<Dialog.Close />
8 changes: 8 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"builds": [
{ "src": "web-build/**", "use": "@vercel/static" }
],
"routes": [
{ "src": "/(.*)", "dest": "/index.html" }
]
}
930 changes: 921 additions & 9 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 88eebf4

Please sign in to comment.