Skip to content

Commit 4de52d1

Browse files
committed
Open up for signups
Signed-off-by: Marko Anastasov <[email protected]>
1 parent 408cdcc commit 4de52d1

File tree

6 files changed

+73
-33
lines changed

6 files changed

+73
-33
lines changed

.dev.vars.example

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ PUBLIC_LINKEDIN_URL="https://www.linkedin.com/company/92810497/"
88
PUBLIC_X_URL="https://x.com/operately"
99
PUBLIC_YOUTUBE_URL="https://www.youtube.com/@operately"
1010
PUBLIC_CLOUD_WAITLIST_URL="https://docs.google.com/forms/d/e/1FAIpQLSebV6j1nIvyjvyLptZ95mHXoj42XrnBmd5znVnUzU_6ATAJgw/viewform"
11-
PUBLIC_BOOK_A_DEMO_URL=""
11+
PUBLIC_BOOK_A_DEMO_URL=""
12+
SIGN_UP_URL="https://app.operately.com/sign_up"
13+
LOG_IN_URL="https://app.operately.com/log_in"

.env

+2
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ PUBLIC_X_URL="https://x.com/operately"
77
PUBLIC_YOUTUBE_URL="https://www.youtube.com/@operately"
88
PUBLIC_CLOUD_WAITLIST_URL="https://docs.google.com/forms/d/e/1FAIpQLSebV6j1nIvyjvyLptZ95mHXoj42XrnBmd5znVnUzU_6ATAJgw/viewform"
99
PUBLIC_BOOK_A_DEMO_URL="https://calendar.app.google/TG8G5urd1HEG6SZV6 "
10+
SIGN_UP_URL="https://app.operately.com/sign_up"
11+
LOG_IN_URL="https://app.operately.com/log_in"

src/components/Footer.astro

+35-15
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ const githubUrl = import.meta.env.PUBLIC_GITHUB_URL;
1212
const linkedinUrl = import.meta.env.PUBLIC_LINKEDIN_URL;
1313
const xUrl = import.meta.env.PUBLIC_X_URL;
1414
const youtubeUrl = import.meta.env.PUBLIC_YOUTUBE_URL;
15-
const bookaDemoUrl = import.meta.env.PUBLIC_BOOK_A_DEMO_URL;
15+
const signUpUrl = import.meta.env.SIGN_UP_URL;
16+
const logInUrl = import.meta.env.LOG_IN_URL;
1617
1718
const navigation = {
1819
product: [
19-
{ name: "Book a demo", href: bookaDemoUrl },
20+
{ name: "Features", href: "/features" },
2021
{ name: "Releases", href: "/releases" },
2122
{ name: "Roadmap", href: "/roadmap" },
2223
{ name: "Status", href: "https://status.operately.com" },
@@ -37,10 +38,10 @@ const navigation = {
3738
},
3839
{ name: "Jobs", href: "/jobs" },
3940
],
40-
legal: [
41-
{ name: "Terms of service", href: "/legal/terms" },
42-
{ name: "Privacy policy", href: "/legal/privacy-policy" },
43-
{ name: "Security policy", href: "/legal/security-policy" },
41+
getStarted: [
42+
{ name: "Sign up", href: signUpUrl },
43+
{ name: "Log in", href: logInUrl },
44+
{ name: "Self-host", href: "/install" },
4445
],
4546
social: [
4647
{
@@ -69,6 +70,11 @@ const navigation = {
6970
icon: (props) => YouTubeIcon(props),
7071
},
7172
],
73+
legal: [
74+
{ name: "Terms of service", href: "/legal/terms" },
75+
{ name: "Privacy policy", href: "/legal/privacy-policy" },
76+
{ name: "Security policy", href: "/legal/security-policy" },
77+
],
7278
};
7379
---
7480

@@ -155,10 +161,10 @@ const navigation = {
155161
</ul>
156162
</div>
157163
<div class="mt-10 md:mt-0">
158-
<h3 class="text-sm/6 font-semibold text-gray-900">Legal</h3>
164+
<h3 class="text-sm/6 font-semibold text-gray-900">Get Started</h3>
159165
<ul role="list" class="mt-6 space-y-4">
160166
{
161-
navigation.legal.map((item) => (
167+
navigation.getStarted.map((item) => (
162168
<li>
163169
<a
164170
href={item.href}
@@ -175,13 +181,27 @@ const navigation = {
175181
</div>
176182
</div>
177183
<div class="mt-16 border-t border-gray-900/10 pt-8 sm:mt-20 lg:mt-24">
178-
<p class="text-sm/6 text-gray-600">
179-
&copy; {new Date().getFullYear()} Operately doo · All rights reserved ·
180-
<a
181-
href="https://github.com/operately/website"
182-
class="hover:text-operately-blue">Source</a
183-
>
184-
</p>
184+
<div class="flex items-center justify-between">
185+
<p class="text-sm/6 text-gray-600">
186+
&copy; {new Date().getFullYear()} Operately doo · All rights reserved ·
187+
<a
188+
href="https://github.com/operately/website"
189+
class="hover:text-operately-blue">Source</a
190+
>
191+
</p>
192+
<div class="flex gap-x-8">
193+
{
194+
navigation.legal.map((item) => (
195+
<a
196+
href={item.href}
197+
class="text-sm/6 text-gray-600 hover:text-operately-blue"
198+
>
199+
{item.name}
200+
</a>
201+
))
202+
}
203+
</div>
204+
</div>
185205
</div>
186206
</div>
187207
</footer>

src/components/Navigation.jsx

+27-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"use client";
22

3-
const cloudWaitlistUrl = import.meta.env.PUBLIC_CLOUD_WAITLIST_URL;
3+
const signUpUrl = import.meta.env.SIGN_UP_URL;
4+
const logInUrl = import.meta.env.LOG_IN_URL;
45
const bookaDemoUrl = import.meta.env.PUBLIC_BOOK_A_DEMO_URL;
56
const discordUrl = import.meta.env.PUBLIC_DISCORD_URL;
67
const blogUrl = import.meta.env.PUBLIC_BLOG_URL;
@@ -23,13 +24,11 @@ import {
2324
} from "@headlessui/react";
2425

2526
import {
26-
ArrowUp,
2727
ChevronDown,
2828
Layout,
2929
PackageCheck,
3030
Binoculars,
3131
CalendarDays,
32-
Mail,
3332
Menu,
3433
X,
3534
} from "lucide-react";
@@ -101,7 +100,7 @@ export default function Navigation() {
101100
<Menu aria-hidden="true" className="size-6" />
102101
</button>
103102
</div>
104-
<PopoverGroup className="hidden lg:flex lg:gap-x-12">
103+
<PopoverGroup className="hidden lg:flex lg:gap-x-8">
105104
{/* Product menu */}
106105
<Popover className="relative">
107106
<PopoverButton className="flex items-center gap-x-1 text-sm/6 font-semibold text-gray-900">
@@ -176,21 +175,28 @@ export default function Navigation() {
176175
</PopoverGroup>
177176

178177
{/* CTAs */}
179-
<div className="hidden lg:flex lg:flex-1 lg:items-center lg:justify-end lg:gap-x-6">
178+
<div className="hidden lg:flex lg:flex-1 lg:items-center lg:justify-end lg:gap-x-4">
180179
<a
181180
href={bookaDemoUrl}
182181
rel="nofollow"
183-
className="rounded-md bg-white px-3 py-2 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50"
182+
className="text-sm font-semibold text-gray-900 hover:text-edgy-blue whitespace-nowrap"
184183
>
185184
Book a demo
186185
</a>
186+
<div className="h-6 w-px bg-gray-200" aria-hidden="true" />
187187
<a
188-
href={cloudWaitlistUrl}
188+
href={logInUrl}
189189
rel="nofollow"
190-
className="inline-flex items-center gap-x-1.5 rounded-md bg-edgy-blue px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-operately-blue focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-edgy-blue"
190+
className="text-sm font-semibold text-gray-900 hover:text-edgy-blue whitespace-nowrap"
191191
>
192-
Join cloud waitlist
193-
<Mail aria-hidden="true" className="size-5 -mr-0.5" />
192+
Log in
193+
</a>
194+
<a
195+
href={signUpUrl}
196+
rel="nofollow"
197+
className="inline-flex items-center gap-x-1.5 rounded-md bg-edgy-blue px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-operately-blue focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-edgy-blue whitespace-nowrap"
198+
>
199+
Get Operately free
194200
</a>
195201
</div>
196202
</nav>
@@ -279,15 +285,24 @@ export default function Navigation() {
279285
<div className="py-6">
280286
<a
281287
href={bookaDemoUrl}
288+
rel="nofollow"
282289
className="-mx-3 block rounded-lg px-3 py-2.5 text-base/7 font-semibold text-gray-900 hover:bg-gray-50"
283290
>
284291
Book a demo
285292
</a>
286293
<a
287-
href={cloudWaitlistUrl}
294+
href={logInUrl}
295+
rel="nofollow"
288296
className="-mx-3 block rounded-lg px-3 py-2.5 text-base/7 font-semibold text-gray-900 hover:bg-gray-50"
289297
>
290-
Join cloud waitlist
298+
Log in
299+
</a>
300+
<a
301+
href={signUpUrl}
302+
rel="nofollow"
303+
className="mt-4 block rounded-md bg-edgy-blue px-3 py-2 text-center text-base/7 font-semibold text-white shadow-sm hover:bg-operately-blue"
304+
>
305+
Get Operately free
291306
</a>
292307
</div>
293308
</div>

src/pages/_features/CTA.astro

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
const waitlistUrl = import.meta.env.PUBLIC_CLOUD_WAITLIST_URL;
2+
const signUpUrl = import.meta.env.SIGN_UP_URL;
33
---
44

55
<div class="bg-white">
@@ -17,9 +17,9 @@ const waitlistUrl = import.meta.env.PUBLIC_CLOUD_WAITLIST_URL;
1717
</p>
1818
<div class="mt-10 flex items-center justify-center gap-x-6">
1919
<a
20-
href={waitlistUrl}
20+
href={signUpUrl}
2121
class="rounded-md bg-operately-blue px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-operately-dark-blue focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:bg-operately-dark-blue"
22-
>Join cloud waitlist</a
22+
>Get Operately free</a
2323
>
2424
<a href="/install" class="text-sm font-semibold leading-6 text-gray-900"
2525
>Self-host today <span aria-hidden="true">→</span></a

src/pages/_index/Hero.astro

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ interface Props {
1010
}
1111
1212
const { latestRelease } = Astro.props;
13+
const signUpUrl = import.meta.env.SIGN_UP_URL;
1314
---
1415

1516
<div class="bg-white">
@@ -63,10 +64,10 @@ const { latestRelease } = Astro.props;
6364
class="mt-10 flex flex-col sm:flex-row items-center justify-center gap-y-4 sm:gap-y-0 gap-x-6"
6465
>
6566
<a
66-
href="https://docs.google.com/forms/d/e/1FAIpQLSebV6j1nIvyjvyLptZ95mHXoj42XrnBmd5znVnUzU_6ATAJgw/viewform"
67+
href={signUpUrl}
6768
class="rounded-md bg-edgy-blue px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-operately-blue focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-edgy-blue w-auto inline-block"
6869
>
69-
Join cloud waitlist
70+
Get Operately free
7071
</a>
7172
<a
7273
href="/install"

0 commit comments

Comments
 (0)