Introduce prettier
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
import { useTranslations } from "next-intl";
|
||||
import { Divider } from "@nextui-org/react";
|
||||
import PaneMainTitle from "./PaneMainTitle";
|
||||
import PaneMainFeatures from "./PaneMainFeatures";
|
||||
import PaneDemoImages from "./PaneDemoImages";
|
||||
import { useTranslations } from 'next-intl';
|
||||
import { Divider } from '@nextui-org/react';
|
||||
import PaneMainTitle from './PaneMainTitle';
|
||||
import PaneMainFeatures from './PaneMainFeatures';
|
||||
import PaneDemoImages from './PaneDemoImages';
|
||||
|
||||
export default function Home(params: { locale: string }) {
|
||||
const t = useTranslations("Index");
|
||||
const t = useTranslations('Index');
|
||||
|
||||
const messages = {
|
||||
title: t("organize_test_cases"),
|
||||
caseEdit: t("case_edit"),
|
||||
caseHome: t("case_home"),
|
||||
caseRun: t("case_run"),
|
||||
title: t('organize_test_cases'),
|
||||
caseEdit: t('case_edit'),
|
||||
caseHome: t('case_home'),
|
||||
caseRun: t('case_run'),
|
||||
};
|
||||
|
||||
return (
|
||||
@@ -24,30 +24,30 @@ export default function Home(params: { locale: string }) {
|
||||
<div className="w-full md:w-5/12 p-4">
|
||||
<div
|
||||
style={{
|
||||
position: "relative",
|
||||
textAlign: "center",
|
||||
position: 'relative',
|
||||
textAlign: 'center',
|
||||
}}
|
||||
>
|
||||
<span
|
||||
style={{
|
||||
fontSize: "10rem",
|
||||
position: "relative",
|
||||
fontSize: '10rem',
|
||||
position: 'relative',
|
||||
zIndex: 1,
|
||||
marginLeft: "2.5rem",
|
||||
marginLeft: '2.5rem',
|
||||
}}
|
||||
>
|
||||
⚗️
|
||||
</span>
|
||||
<div
|
||||
style={{
|
||||
position: "absolute",
|
||||
position: 'absolute',
|
||||
top: 0,
|
||||
left: 0,
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
filter: "blur(48px)",
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
filter: 'blur(48px)',
|
||||
zIndex: 0,
|
||||
background: "linear-gradient(to bottom, #ffecd2, #fcb69f)",
|
||||
background: 'linear-gradient(to bottom, #ffecd2, #fcb69f)',
|
||||
}}
|
||||
></div>
|
||||
</div>
|
||||
@@ -57,7 +57,7 @@ export default function Home(params: { locale: string }) {
|
||||
<div
|
||||
className="flex flex-wrap flex-col items-center"
|
||||
style={{
|
||||
marginTop: "6rem",
|
||||
marginTop: '6rem',
|
||||
}}
|
||||
>
|
||||
<PaneMainFeatures />
|
||||
|
||||
Reference in New Issue
Block a user