Indywidualna strona dla premium

This commit is contained in:
dm
2025-12-18 08:22:03 +01:00
parent 669aea3078
commit a1740fcc31
7 changed files with 174 additions and 45 deletions

View File

@@ -424,7 +424,8 @@ export default function JamboxChannelsSearch() {
type="button"
class="f-chsearch-pkg"
onClick={() => window.open(
`/premium#tid-${encodeURIComponent(p.tid)}`,
// `/premium#tid-${encodeURIComponent(p.tid)}`,
`/premium/${p.tid}`,
"_blank",
"noopener,noreferrer"
)}

View File

@@ -99,7 +99,8 @@ export default function TvAddonsSection({
{a.tid ? (
<a
class="f-addon-more"
href={`/premium#tid-${encodeURIComponent(a.tid)}`}
// href={`/premium#tid-${encodeURIComponent(a.tid)}`}
href={`/premium/${a.tid}`}
target="_blank"
rel="noopener noreferrer"
aria-label={`Więcej informacji o pakiecie ${a.nazwa ?? ""} (otwiera się w nowej karcie)`}