Skip to content
Merged
Show file tree
Hide file tree
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
32 changes: 25 additions & 7 deletions pwa/app/(con)/[locale]/con/2025/tickets/RegisterPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { useContext, useEffect } from "react";
import { LanguageContext } from "contexts/con/LanguageContext";
import SectionTitle from "components/con/common/typography/SectionTitle";
import SectionSubTitle from "components/con/common/typography/SectionSubtitle";
import Script from "next/script";
import prices from "data/con/2025/prices";
import { Offer } from "types/con";
import dayjs from "dayjs";
Expand Down Expand Up @@ -40,12 +39,35 @@ export default function RegisterPage() {
const iframe = document.getElementById(
"yurplan-widget-141690"
) as HTMLIFrameElement | null;
if (!iframe) return;
const handleLoad = () => {
const loader = document.getElementById("loader");
loader?.classList.add("hidden");
};
iframe.addEventListener("load", handleLoad, true);
iframe?.addEventListener("load", handleLoad, true);

const SRC = "https://assets.yurplan.com/yurplan-v1/dist/widget.js";
const getYp = () =>
(window as unknown as { YurPlanWidgets?: { init: () => void } })
.YurPlanWidgets;

if (getYp()) {
getYp()?.init();
} else if (!document.querySelector(`script[src="${SRC}"]`)) {
const script = document.createElement("script");
script.src = SRC;
script.async = true;
document.body.appendChild(script);
}

const handlePageShow = (e: PageTransitionEvent) => {
if (e.persisted) getYp()?.init();
};
window.addEventListener("pageshow", handlePageShow);

return () => {
iframe?.removeEventListener("load", handleLoad, true);
window.removeEventListener("pageshow", handlePageShow);
};
}, []);

return (
Expand Down Expand Up @@ -184,10 +206,6 @@ export default function RegisterPage() {
data-id="141690"
></iframe>
</div>
<Script
type="text/javascript"
src="https://assets.yurplan.com/yurplan-v1/dist/widget.js"
/>
</div>
</div>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ track: '1'

# Building Desktop Apps with FrankenPHP 🇺🇸

HP on the desktop sounds like a bad idea. Until it works.
PHP on the desktop sounds like a bad idea. Until it works.

FrankenPHP isn't just a Caddy module, it's a Go library you can embed anywhere. FrankenWails combines it with Wails, Go's answer to Electron. The result: native desktop apps where PHP handles the backend, HTML/CSS/JS handles the UI, and Go is the glue. No Node.js, no Electron, no server. Just a single binary.

Expand Down
19 changes: 16 additions & 3 deletions pwa/data/con/2026/partners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,29 @@ const partners: Partner[] = [
name: "Bakslash",
logo: "bakslash",
link: "https://baksla.sh/",
rank: 3,
rank: 2,
},
{
name: "Clever Cloud",
logo: "clever-cloud",
link: "https://www.clever-cloud.com/",
rank: 2,
highlight: true,
},
{
name: "BearStudio",
logo: "bearstudio",
link: "https://www.bearstudio.fr/",
rank: 2,
},
{
name: "BitExpert,",
name: "BitExpert",
logo: "bitexpert",
link: "https://www.bitexpert.de/en",
rank: 4,
},
{
name: "DevIT Jobs,",
name: "DevIT Jobs",
logo: "devit",
link: "https://devitjobs.uk/",
rank: 4,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading