Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[banner] add refereral source for GA tracking #572

Merged
merged 1 commit into from
Jul 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/pages/LandingPage/Components/PlaygroundBanner.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "@aptos-labs/aptos-names-connector/dist/index.css";
import {Banner} from "../../../components/Banner";
import {
Button,
Expand All @@ -16,13 +15,13 @@ export function PlaygroundBanner() {
const theme = useTheme();
const isOnMobile = !useMediaQuery(theme.breakpoints.up("md"));

const text = "Explore more fun stuff at Web3 Playground!";
const text = "Explore more fun stuff at Web3 Playground!"; // TODO(jill): update the copy

const learnMoreButton = (
<Button
href="https://aptos-playground.web.app"
href="https://playground.dev.gcp.aptosdev.com/?utm_source=explorer&utm_medium=banner" // TODO(jill): update to the production URL
variant="text"
target="_blan"
target="_blank"
sx={{alignSelf: "flex-start", transform: `translateX(-0.5rem)`}}
>
<Typography>LEARN MORE</Typography>
Expand Down