From cccb6c52caafd342911319f2f509ff8e59b55965 Mon Sep 17 00:00:00 2001 From: Arkadiusz Lachowicz Date: Sun, 14 Jun 2026 21:50:30 +0200 Subject: [PATCH 1/2] Prepare website rollout --- Dockerfile | 3 +++ app/globals.css | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 560f8d0..f9d5d58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,5 +61,8 @@ RUN set -eu; \ } > /srv/build-info.json EXPOSE 3000 +RUN mkdir -p /config/caddy /data/caddy \ + && chown -R caddy:caddy /config /data \ + && setcap -r /usr/bin/caddy USER caddy ENTRYPOINT ["caddy", "run", "--config=/etc/caddy/Caddyfile"] diff --git a/app/globals.css b/app/globals.css index e2c4567..f2edc76 100644 --- a/app/globals.css +++ b/app/globals.css @@ -374,7 +374,7 @@ body { --service-column-gap: clamp(3rem, 6vw, 5rem); --service-axis-offset: clamp(1.5rem, 3vw, 2.5rem); position: relative; - margin-top: clamp(1.5rem, 3.5vw, 3rem); + margin-top: clamp(2.75rem, 5vw, 4.25rem); border-top: 1px solid rgba(255, 255, 255, 0.12); border-bottom: 1px solid rgba(255, 255, 255, 0.12); } From 77a7ea5fa74eea46527510fe2c287521223c9d4a Mon Sep 17 00:00:00 2001 From: Arkadiusz Lachowicz Date: Mon, 15 Jun 2026 14:11:24 +0200 Subject: [PATCH 2/2] Refresh site presentation and pricing PDF --- app/components/Navbar.tsx | 47 ++- app/data/aboutContent.ts | 4 +- app/data/pricing-rates.json | 8 + app/fonts/FuturaPT/pdf/FuturaCyrillicBook.ttf | Bin 0 -> 63748 bytes app/fonts/FuturaPT/pdf/FuturaCyrillicDemi.ttf | Bin 0 -> 65852 bytes .../FuturaPT/pdf/FuturaCyrillicMedium.ttf | Bin 0 -> 66312 bytes public/brand/devsh-logo-glow.png | Bin 0 -> 27046 bytes scripts/generate-pricing-pdf.mjs | 321 ++++++++++++------ 8 files changed, 266 insertions(+), 114 deletions(-) create mode 100644 app/fonts/FuturaPT/pdf/FuturaCyrillicBook.ttf create mode 100644 app/fonts/FuturaPT/pdf/FuturaCyrillicDemi.ttf create mode 100644 app/fonts/FuturaPT/pdf/FuturaCyrillicMedium.ttf create mode 100644 public/brand/devsh-logo-glow.png diff --git a/app/components/Navbar.tsx b/app/components/Navbar.tsx index f38521e..2fba869 100644 --- a/app/components/Navbar.tsx +++ b/app/components/Navbar.tsx @@ -3,7 +3,7 @@ import Image from "next/image" import Link from "next/link" import { usePathname } from "next/navigation" -import DevshLogo from "@/public/devsh_transparent_1920.png" +import DevshLogo from "@/public/brand/devsh-logo-glow.png" import { ReactNode, useEffect, useState } from "react" import { motion } from "framer-motion" @@ -30,10 +30,25 @@ function DropdownIcon() { ) } -function NavbarLink({children, href, onClick}: {children: ReactNode, href: string, onClick?: () => void}) { +function NavbarLink({children, href, active, onClick}: {children: ReactNode, href: string, active?: boolean, onClick?: () => void}) { return ( -
  • - {children} +
  • + + {children} +
  • ) } @@ -46,20 +61,24 @@ export default function Navbar() { setIsDropdownEnabled(false) }, [pathname]) + const isActive = (href: string) => ( + href === "/" ? pathname === "/" : pathname === href + ) + return ( -