Merge pull request #3643 from omnivore-app/feat/firefox-get-started

Add a get started page for firefox extension users
This commit is contained in:
Jackson Harper 2024-03-07 15:12:27 +08:00 committed by GitHub
commit 1f101e328e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 86 additions and 2 deletions

View file

@ -0,0 +1,81 @@
import Link from 'next/link'
import { PageMetaData } from '../../components/patterns/PageMetaData'
import { About } from '../../components/templates/About'
import { VStack } from '../../components/elements/LayoutPrimitives'
export default function LandingPage(): JSX.Element {
return (
<VStack
alignment="center"
distribution="start"
css={{
background: '#3D3D3D',
color: '#EDEDED',
p: '50px',
minHeight: '100vh',
width: '100vw',
}}
>
<PageMetaData
title="Omnivore"
path="/landing/firefox-get-started"
ogImage="/static/images/og-homepage-03.png"
description="Omnivore is the free, open source, read-it-later app for serious readers."
/>
<VStack
alignment="center"
distribution="start"
css={{
background: '#3D3D3D',
color: '#EDEDED',
maxWidth: '520px',
a: {
color: '$omnivoreCtaYellow',
},
}}
>
<h1>Thank you for install the Omnivore Firefox Extension</h1>
<p>
Thank you for installing our Firefox extension. A few considerations
for new Firefox users
</p>
<p>
1. To use Omnivore you need an Omnivore account. You can sign up for
free from our <Link href="/login">login page.</Link> Before using the
extension you should create your account and login.
</p>
<p>
2. By default the extension uses your Omnivore authentication cookie
to connect to our backend when saving pages. This means your security
settings must allow the extension access to this cookie. If you are
using Firefox containers we will not have access to the cookie so you
will need to use an API key to authenticate. You can read more about
this{' '}
<a
href="https://docs.omnivore.app/using/saving.html#authentication-issues"
rel="noreferrer"
>
here.
</a>
</p>
<p>
3. We have a welcoming community on Discord that can help with many
problems. If you need support you can{' '}
<a href="https://discord.gg/h2z5rppzz9" rel="noreferrer">
join our community on Discord.
</a>
</p>
<p>
4. You can close this tab now and get started saving and enjoying your
reading.
</p>
</VStack>
</VStack>
)
}

View file

@ -2,8 +2,8 @@
"manifest_version": 2,
"name": "process.env.EXTENSION_NAME",
"short_name": "process.env.EXTENSION_NAME",
"version": "2.8.9",
"description": "Save PDFs and Articles to your Omnivore library",
"version": "2.10.0",
"description": "Save PDFs and articles to your Omnivore library",
"author": "Omnivore Media, Inc",
"default_locale": "en",
"developer": {

View file

@ -103,7 +103,10 @@
if (!consentCheckbox.checked) {
alert('You must grant consent to use this extension.')
return
}
document.location.href = 'https://omnivore.app/landing/firefox-get-started'
}
document.getElementById('uninstall-link').addEventListener('click', function (e) {