4 Commits

Author SHA1 Message Date
08a309abea Merge branch 'development' 2025-10-21 17:32:10 +03:00
d344652a2f add crisp 2025-10-21 17:28:07 +03:00
bdbec5fd49 fix: update 404 page HTML with new static assets 2025-10-21 15:01:58 +02:00
4d89745a57 fix download link 2025-10-20 18:31:29 +03:00
15 changed files with 51 additions and 26 deletions

View File

@@ -1,9 +1,12 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
output: 'export', output: 'export',
trailingSlash: true,
images: { images: {
unoptimized: true, unoptimized: true,
}, },
} }
module.exports = nextConfig module.exports = nextConfig

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 110 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 107 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,6 @@
import { type Metadata } from 'next' import { type Metadata } from 'next'
import { Inter } from 'next/font/google' import { Inter } from 'next/font/google'
import Script from 'next/script'
import clsx from 'clsx' import clsx from 'clsx'
import '@/styles/tailwind.css' import '@/styles/tailwind.css'
@@ -29,7 +30,28 @@ export default function RootLayout({
}) { }) {
return ( return (
<html lang="en" className={clsx('bg-gray-50 antialiased', inter.variable)}> <html lang="en" className={clsx('bg-gray-50 antialiased', inter.variable)}>
<body>{children}</body> <body>
{children}
{/* Crisp Chat */}
<Script
id="crisp-init"
strategy="afterInteractive"
dangerouslySetInnerHTML={{
__html: `
window.$crisp = [];
window.CRISP_WEBSITE_ID = "1a5a5241-91cb-4a41-8323-5ba5ec574da0";
(function () {
d = document;
s = d.createElement("script");
s.src = "https://client.crisp.chat/l.js";
s.async = 1;
d.getElementsByTagName("head")[0].appendChild(s);
})();
`,
}}
/>
</body>
</html> </html>
) )
} }