build and format

This commit is contained in:
2026-04-22 08:59:26 +03:30
parent aace4da04a
commit 88b9f5c387
16 changed files with 239 additions and 240 deletions

2
next-env.d.ts vendored
View File

@@ -1,6 +1,6 @@
/// <reference types="next" /> /// <reference types="next" />
/// <reference types="next/image-types/global" /> /// <reference types="next/image-types/global" />
import "./.next/dev/types/routes.d.ts"; import "./.next/types/routes.d.ts";
// NOTE: This file should not be edited // NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. // see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

View File

@@ -1,5 +1,5 @@
{ {
"name": "cinematales", "name": "ruya",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",

View File

@@ -11,4 +11,3 @@ export default function Home() {
</main> </main>
); );
} }

View File

@@ -1,4 +1,4 @@
import { createNavigation } from 'next-intl/navigation' import { createNavigation } from "next-intl/navigation";
import { routing } from './routing' import { routing } from "./routing";
export const { Link, redirect, usePathname, useRouter, getPathname } = createNavigation(routing) export const { Link, redirect, usePathname, useRouter, getPathname } = createNavigation(routing);

View File

@@ -1,9 +1,9 @@
'use client' "use client";
import { useLocale } from 'next-intl' import { useLocale } from "next-intl";
import { Direction, getDirection } from './direction' import { Direction, getDirection } from "./direction";
export function useDirection(): Direction { export function useDirection(): Direction {
const locale = useLocale() const locale = useLocale();
return getDirection(locale) return getDirection(locale);
} }

View File

@@ -1,6 +1,6 @@
import { clsx, type ClassValue } from 'clsx' import { clsx, type ClassValue } from "clsx";
import { twMerge } from 'tailwind-merge' import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) { export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs)) return twMerge(clsx(inputs));
} }

View File

@@ -1,8 +1,8 @@
import createMiddleware from 'next-intl/middleware' import createMiddleware from "next-intl/middleware";
import { routing } from './i18n/routing' import { routing } from "./i18n/routing";
export default createMiddleware(routing) export default createMiddleware(routing);
export const config = { export const config = {
matcher: '/((?!api|trpc|_next|_vercel|.*\\..*).*)', matcher: "/((?!api|trpc|_next|_vercel|.*\\..*).*)",
} };