Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
poolsar42 committed Aug 14, 2023
1 parent d23549b commit 0ac522b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 27 deletions.
Binary file removed apps/console/app/images/console-social.png
Binary file not shown.
26 changes: 1 addition & 25 deletions apps/passport/app/routes/authorize.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import { json, redirect } from '@remix-run/cloudflare'
import type {
LoaderFunction,
ActionFunction,
MetaFunction,
} from '@remix-run/cloudflare'
import type { LoaderFunction, ActionFunction } from '@remix-run/cloudflare'
import {
useLoaderData,
useNavigate,
Expand Down Expand Up @@ -403,26 +399,6 @@ export const action: ActionFunction = async ({ request, context }) => {
return redirect(redirectUrl.toString())
}

export const meta: MetaFunction = ({ data }) => {
return {
charset: 'utf-8',
title: 'Passport - Rollup',
viewport: 'width=device-width,initial-scale=1',
'og:url': 'https://passport.rollup.id',
'og:title': 'Passport - Rollup',
'og:description': 'Simple & Secure Private Auth',
'og:image':
'https://uploads-ssl.webflow.com/63d2527457e052627d01c416/64c91dd58d5781fa9a23ea85_OG%20(2).png',
'twitter:card': 'summary_large_image',
'twitter:site': '@rollupid_xyz',
'twitter:creator': '@rollupid_xyz',
'twitter:image':
'https://uploads-ssl.webflow.com/63d2527457e052627d01c416/64c91dd58d5781fa9a23ea85_OG%20(2).png',
'theme-color': '#ffffff',
'mobile-web-app-capable': 'yes',
'apple-mobile-web-app-capable': 'yes',
}
}
export default function Authorize() {
const {
clientId,
Expand Down
14 changes: 12 additions & 2 deletions apps/passport/app/routes/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ import { getCoreClient } from '~/platform.server'

import type { AddressURN } from '@proofzero/urns/address'
import type { NodeType } from '@proofzero/types/address'
import type { LoaderFunction } from '@remix-run/cloudflare'
import type { LinksFunction } from '@remix-run/cloudflare'
import type {
LoaderFunction,
MetaFunction,
LinksFunction,
} from '@remix-run/cloudflare'

import { getRollupReqFunctionErrorWrapper } from '@proofzero/utils/errors'

import { usePostHog } from 'posthog-js/react'
Expand Down Expand Up @@ -133,6 +137,12 @@ export const loader: LoaderFunction = getRollupReqFunctionErrorWrapper(
}
)

export const meta: MetaFunction = () => ({
charset: 'utf-8',
title: 'Passport Settings - Rollup',
viewport: 'width=device-width,initial-scale=1',
})

export default function SettingsLayout() {
const {
authorizedApps,
Expand Down

0 comments on commit 0ac522b

Please sign in to comment.