Skip to content

Open source alternative to Semrush and Ahrefs

Unlink the campaign page logo and widen mobile trial buttons (#986)

Carter Smith8b3cc94d05fe
diff --git a/web/src/components/landing-page.css b/web/src/components/landing-page.css
index 10ccc5f9..3aa8286e 100644
--- a/web/src/components/landing-page.css
+++ b/web/src/components/landing-page.css
@@ -967,6 +967,17 @@ body:has(.itc-campaign) {
gap: 16px 24px;
margin-top: 40px;
}
+/* On phones the trial buttons span the content, like the hero's. */
+@media (max-width: 559px) {
+ .itc-section-ctas > .itc-cta-pair,
+ .itc-section-ctas > .itc-hero-cta-group {
+ flex: 1 1 100%;
+ }
+ .itc-section-ctas > .itc-hero-cta-group {
+ align-items: stretch;
+ text-align: center;
+ }
+}
.itc-price-compare {
display: grid;
gap: 16px;
diff --git a/web/src/routes/_campaign.tsx b/web/src/routes/_campaign.tsx
index 6e0ac944..0fcb5710 100644
--- a/web/src/routes/_campaign.tsx
+++ b/web/src/routes/_campaign.tsx
@@ -1,11 +1,11 @@
-import { createFileRoute, Link, Outlet } from "@tanstack/react-router";
+import { createFileRoute, Outlet } from "@tanstack/react-router";
import { useEffect } from "react";
import { SIGNUP_URL } from "@/components/landing-page";
import { PrivacyChoicesLink } from "@/components/privacy-choices";
/**
- * Layout for paid-traffic landing pages. No site navigation: the only ways
- * out are the logo and the page's own calls to action.
+ * Layout for paid-traffic landing pages. No site navigation: the only way out
+ * is the page's own calls to action.
*/
export const Route = createFileRoute("/_campaign")({
head: () => ({
@@ -33,12 +33,7 @@ function CampaignLayout() {
<div className="itc itc-campaign">
<div className="mx-auto w-full max-w-6xl px-4 pt-6 sm:px-6 md:pt-8">
<nav className="itc-campaign-nav mx-auto flex min-h-14 max-w-5xl items-center justify-between gap-3 rounded-full border border-[var(--color-border-subtle)] bg-white/90 py-2 pl-5 pr-2 shadow-sm shadow-neutral-900/5">
- <Link
- to="/"
- className="text-sm font-semibold transition-opacity hover:opacity-80"
- >
- OpenSEO
- </Link>
+ <span className="text-sm font-semibold">OpenSEO</span>
<a
href={SIGNUP_URL}
className="inline-flex h-9 items-center rounded-full bg-neutral-950 px-4 text-sm font-medium text-white transition-colors hover:bg-neutral-800"