mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 10:25:58 +00:00
prettier lint login
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
module.exports = {
|
||||
extends: 'next/core-web-vitals',
|
||||
ignorePatterns: ['external/**/*.ts'],
|
||||
extends: "next/core-web-vitals",
|
||||
ignorePatterns: ["external/**/*.ts"],
|
||||
};
|
||||
|
||||
@@ -9,16 +9,16 @@ const nextConfig = {
|
||||
images: {
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: 'zitadel.com',
|
||||
port: '',
|
||||
pathname: '/**',
|
||||
protocol: "https",
|
||||
hostname: "zitadel.com",
|
||||
port: "",
|
||||
pathname: "/**",
|
||||
},
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: 'zitadel.cloud',
|
||||
port: '',
|
||||
pathname: '/**',
|
||||
protocol: "https",
|
||||
hostname: "zitadel.cloud",
|
||||
port: "",
|
||||
pathname: "/**",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"scripts": {
|
||||
"build": "next build",
|
||||
"dev": "next dev",
|
||||
"lint": "next lint",
|
||||
"lint": "next lint && prettier --check .",
|
||||
"lint-staged": "lint-staged",
|
||||
"start": "next start",
|
||||
"test": "yarn prettier:check &nexarn lint",
|
||||
|
||||
@@ -16,4 +16,3 @@ The Login UI should provide the following functionality:
|
||||
## Documentation
|
||||
|
||||
https://beta.nextjs.org/docs
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ArrowRightIcon } from '@heroicons/react/24/solid';
|
||||
import { ArrowRightIcon } from "@heroicons/react/24/solid";
|
||||
|
||||
export const ExternalLink = ({
|
||||
children,
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import clsx from 'clsx';
|
||||
import clsx from "clsx";
|
||||
|
||||
export const SkeletonCard = ({ isLoading }: { isLoading?: boolean }) => (
|
||||
<div
|
||||
className={clsx('rounded-2xl bg-gray-900/80 p-4', {
|
||||
'relative overflow-hidden before:absolute before:inset-0 before:-translate-x-full before:animate-[shimmer_1.5s_infinite] before:bg-gradient-to-r before:from-transparent before:via-white/10 before:to-transparent':
|
||||
className={clsx("rounded-2xl bg-gray-900/80 p-4", {
|
||||
"relative overflow-hidden before:absolute before:inset-0 before:-translate-x-full before:animate-[shimmer_1.5s_infinite] before:bg-gradient-to-r before:from-transparent before:via-white/10 before:to-transparent":
|
||||
isLoading,
|
||||
})}
|
||||
>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Tab } from '#/ui/Tab';
|
||||
import { Tab } from "#/ui/Tab";
|
||||
|
||||
export type Item = {
|
||||
text: string;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { FC } from 'react';
|
||||
import { FC } from "react";
|
||||
|
||||
export const ZitadelLogoDark: FC = (props) => (
|
||||
<svg
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { FC } from 'react';
|
||||
import { FC } from "react";
|
||||
|
||||
export const ZitadelLogoLight: FC = (props) => (
|
||||
<svg
|
||||
|
||||
Reference in New Issue
Block a user