7 Commits

Author SHA1 Message Date
b77883a16c Revert "Merge pull request '3D' (#4) from 3D into main"
This reverts commit e69e20f753, reversing
changes made to 0ac37261a8.
2026-05-16 21:12:28 +01:00
e69e20f753 Merge pull request '3D' (#4) from 3D into main
Reviewed-on: #4
2026-05-16 20:49:27 +01:00
9186d90aac Separate mobile 3D callout from model 2026-05-16 18:58:19 +01:00
3bed358990 Polish mobile 3D annotations 2026-05-16 18:55:37 +01:00
c6143d7d13 Tune 3D model responsive scale 2026-05-16 18:52:38 +01:00
4ccfaf7b92 Refine 3D showcase framing 2026-05-16 18:49:21 +01:00
24beb5aa5e Add annotated glasses 3D showcase 2026-05-16 18:43:40 +01:00
4 changed files with 5 additions and 13 deletions

View File

@@ -6,8 +6,6 @@ All notable changes to the New Optic website will be documented in this file.
### Changed
- Added a New York-style display font stack for large latin headings while keeping SF-style UI text.
- Switched the latin typography to an SF Pro-style system font stack for a more Apple-like feel.
- Removed the desktop liquid glass WebGL layer from navbar and CTA controls so text remains readable and glass surfaces do not show dark rendering artifacts while scrolling.
- Replaced the mobile hamburger dropdown with a fast, solid menu animation without bounce or stretch effects.
- Kept the language switcher visible in the mobile top navigation bar.

View File

@@ -6,8 +6,6 @@
color-scheme: light;
--bg: #f6f5f2;
--ink: #111317;
--font-sans: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
--font-display: "New York Large", "New York", "NewYork", ui-serif, Georgia, Cambria, "Times New Roman", serif;
}
* {
@@ -26,7 +24,7 @@ body {
url('/assets/New-optic-BG-mobile.webp') center top / cover scroll,
linear-gradient(180deg, #fbfaf8 0%, #f6f5f2 42%, #ffffff 100%);
color: var(--ink);
font-family: var(--font-sans);
font-family: var(--font-sans), system-ui, sans-serif;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
@@ -69,10 +67,6 @@ body[dir="rtl"] {
font-family: var(--font-arabic), system-ui, sans-serif;
}
body:not([dir="rtl"]) :where(h1, h2) {
font-family: var(--font-display);
}
a {
color: inherit;
text-decoration: none;

View File

@@ -1,9 +1,10 @@
import type { Metadata } from "next";
import { Noto_Kufi_Arabic } from "next/font/google";
import { Inter, Noto_Kufi_Arabic } from "next/font/google";
import "./globals.css";
import { business } from "@/config/business";
import { fr } from "@/messages/fr";
const inter = Inter({ subsets: ["latin"], variable: "--font-sans", display: "swap" });
const arabic = Noto_Kufi_Arabic({ subsets: ["arabic"], variable: "--font-arabic", display: "swap" });
export const metadata: Metadata = {
@@ -27,7 +28,7 @@ export const metadata: Metadata = {
export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
return (
<html lang="fr" className={`${arabic.variable} scroll-smooth`}>
<html lang="fr" className={`${inter.variable} ${arabic.variable} scroll-smooth`}>
<body>
{children}
</body>

View File

@@ -11,8 +11,7 @@ const config: Config = {
optical: "#315f8f"
},
fontFamily: {
sans: ["var(--font-sans)"],
display: ["var(--font-display)"],
sans: ["var(--font-sans)", "Inter", "system-ui", "sans-serif"],
arabic: ["var(--font-arabic)", "system-ui", "sans-serif"]
},
boxShadow: {