Skip to content

Commit

Permalink
chore: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Feb 2, 2024
1 parent 6f26ccd commit 2f78102
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ local

# vercel
.vercel
.idea
.idea
5 changes: 0 additions & 5 deletions .idea/.gitignore

This file was deleted.

5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"prettier.ignorePath": ".gitignore" // Don't run prettier for files listed in .gitignore
"prettier.ignorePath": ".gitignore",
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
} // Don't run prettier for files listed in .gitignore
}
22 changes: 11 additions & 11 deletions src/components/templates/Hero.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import Link from "next/link";
import { useTranslation } from "react-i18next";
import Link from 'next/link';
import { useTranslation } from 'react-i18next';

import { Background } from "@/components/background/Background";
import { Button } from "@/components/button/Button";
import { HeroOneButton } from "@/components/hero/HeroOneButton";
import { NavbarTwoColumns } from "@/components/navigation/NavbarTwoColumns";
import { Section } from "@/layout/Section";
import { Background } from '@/components/background/Background';
import { Button } from '@/components/button/Button';
import { HeroOneButton } from '@/components/hero/HeroOneButton';
import { NavbarTwoColumns } from '@/components/navigation/NavbarTwoColumns';
import { Section } from '@/layout/Section';

import { Logo } from "./Logo";
import { Logo } from './Logo';

const Hero = () => {
const { t } = useTranslation();
Expand All @@ -26,8 +26,8 @@ const Hero = () => {
<HeroOneButton
title={
<>
<>{`${t("AI4SDLC")}\n`}</>
<span className="text-primary-500">{t("OS Solution")}</span>
<>{`${t('AI4SDLC')}\n`}</>
<span className="text-primary-500">{t('OS Solution')}</span>
</>
}
description="Unveiling Next-Gen Software Enginneering: Pioneering Architectural Paradigms with GenAI"
Expand All @@ -37,7 +37,7 @@ const Hero = () => {
target="_blank"
href="https://raw.githubusercontent.com/unit-mesh/whitebook/master/2023-whitebook.pdf"
>
<Button xl>{t("Download White Paper")}</Button>
<Button xl>{t('Download White Paper')}</Button>
</Link>
</>
}
Expand Down
2 changes: 2 additions & 0 deletions src/i18n/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ i18n
},
},
(err) => {
// eslint-disable-next-line no-console
if (err) return console.log('something went wrong loading', err);
// eslint-disable-next-line no-console
console.log('i18n loaded successfully');
return null;
},
Expand Down

0 comments on commit 2f78102

Please sign in to comment.