Commit 6511f3b
reflex-site-shared: canonical override + Try-for-free primary CTA (#6521)
Two small changes to reflex-site-shared for the Streamlit migration PR
series:
1. create_meta_tags grows an optional canonical kwarg. When set, the
rendered <link rel="canonical">, og:url, and twitter:url all point
at that URL instead of the page's own url, so search engines and
social crawlers index the same target. Default behavior unchanged
when the kwarg is omitted.
2. cta_card (bottom CTA on every marketing page) swaps Try-for-free
into the primary slot and demotes Book a Demo to the ghost variant
secondary. Affects every marketing-templated page across the three
apps once their reflex-site-shared lockfiles are bumped.
Pairs with:
- reflex-dev/marketing PR adding the /migration/streamlit lander.
- reflex-dev/blog PR refreshing /blog/reflex-streamlit with a
frontmatter canonical override pointing at the new lander.
Co-authored-by: Palash Awasthi <palash@Palashs-MacBook-Pro.local>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 048c7d8 commit 6511f3b
2 files changed
Lines changed: 21 additions & 10 deletions
File tree
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
130 | 134 | | |
131 | 135 | | |
132 | 136 | | |
| |||
135 | 139 | | |
136 | 140 | | |
137 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
138 | 148 | | |
139 | 149 | | |
140 | 150 | | |
141 | 151 | | |
142 | 152 | | |
| 153 | + | |
143 | 154 | | |
144 | 155 | | |
145 | 156 | | |
146 | 157 | | |
147 | 158 | | |
148 | 159 | | |
149 | 160 | | |
150 | | - | |
| 161 | + | |
151 | 162 | | |
152 | | - | |
| 163 | + | |
153 | 164 | | |
154 | 165 | | |
155 | 166 | | |
| |||
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 29 | | |
36 | 30 | | |
37 | 31 | | |
38 | 32 | | |
39 | | - | |
| 33 | + | |
40 | 34 | | |
41 | 35 | | |
42 | 36 | | |
43 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments