Skip to content

Commit

Permalink
Merge pull request #3643 from omnivore-app/feat/firefox-get-started
Browse files Browse the repository at this point in the history
Add a get started page for firefox extension users
  • Loading branch information
jacksonh authored Mar 7, 2024
2 parents efcc964 + fda30a0 commit 1f101e3
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 2 deletions.
81 changes: 81 additions & 0 deletions packages/web/pages/landing/firefox-get-started.tsx
Original file line number Diff line number Diff line change
@@ -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>
)
}
4 changes: 2 additions & 2 deletions pkg/extension/src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
3 changes: 3 additions & 0 deletions pkg/extension/src/views/installed.html
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,10 @@ <h2>Privacy</h2>

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) {
Expand Down

0 comments on commit 1f101e3

Please sign in to comment.