Skip to content

Commit 41665ee

Browse files
committed
format codebase with oxfmt
1 parent 4c15763 commit 41665ee

103 files changed

Lines changed: 154 additions & 186 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎next.config.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import type { NextConfig } from 'next';
2-
import { withSentryConfig } from '@sentry/nextjs/config';
31
import bundleAnalyzer from '@next/bundle-analyzer';
42
import createMDX from '@next/mdx';
3+
import { withSentryConfig } from '@sentry/nextjs/config';
4+
import type { NextConfig } from 'next';
55
import { svgoConfig } from './src/lib/config/svgo';
66

77
const hasBundleAnalyzer = process.env.ANALYZE === 'true';

‎src/.storybook/main.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { svgoConfig } from '../lib/config/svgo';
21
import type { StorybookConfig } from '@storybook/nextjs';
2+
import { svgoConfig } from '../lib/config/svgo';
33

44
const config: StorybookConfig = {
55
stories: [

‎src/.storybook/preview-head.html‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<link rel="preconnect" href="https://fonts.googleapis.com" />
22
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
3-
<link href="https://fonts.googleapis.com/css2?family=Encode+Sans:wght@400;500;700&family=Bebas+Neue&display=swap" rel="stylesheet" />
3+
<link
4+
href="https://fonts.googleapis.com/css2?family=Encode+Sans:wght@400;500;700&family=Bebas+Neue&display=swap"
5+
rel="stylesheet"
6+
/>
47
<style>
58
:root {
69
--font-encode: 'Encode Sans';

‎src/app/(home)/layout.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { PropsWithChildren } from 'react';
21
import Link from 'next/link';
2+
import type { PropsWithChildren } from 'react';
33
import HeroBanner from '@/components/HeroBanner/HeroBanner';
44
import JoinSection from '@/components/ReusableSections/JoinSection/JoinSection';
55
import SponsorsSection from '@/components/ReusableSections/SponsorsSection/SponsorsSection';

‎src/app/api/registration/new/route.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { NextResponse, type NextRequest } from 'next/server';
21
import Airtable from 'airtable';
3-
import { AIR_TABLE_BASE_ID, AIR_TABLE_TABLE_NAME } from '@/lib/config/environment';
2+
import { NextResponse, type NextRequest } from 'next/server';
43
import type { RegistrationFormValues } from '@/components/Forms/RegistrationForm/RegistrationForm';
4+
import { AIR_TABLE_BASE_ID, AIR_TABLE_TABLE_NAME } from '@/lib/config/environment';
55

66
const base = new Airtable({ apiKey: process.env.AIRTABLE_PAT }).base(AIR_TABLE_BASE_ID);
77

‎src/app/api/registration/update/route.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { NextResponse, type NextRequest } from 'next/server';
21
import Airtable from 'airtable';
3-
import { AIR_TABLE_BASE_ID, AIR_TABLE_TABLE_NAME } from '@/lib/config/environment';
2+
import { NextResponse, type NextRequest } from 'next/server';
43
import type { UpdateProfileFormShape } from '@/components/Forms/UpdateProfileForm/UpdateProfileForm';
4+
import { AIR_TABLE_BASE_ID, AIR_TABLE_TABLE_NAME } from '@/lib/config/environment';
55

66
const base = new Airtable({ apiKey: process.env.AIRTABLE_PAT }).base(AIR_TABLE_BASE_ID);
77

‎src/app/branding/page.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import type { Metadata } from 'next';
2-
import LogoSection from '@/components/Branding/LogoSection/LogoSection';
32
import ColorSection from '@/components/Branding/ColorSection/ColorSection';
43
import FontSection from '@/components/Branding/FontSection/FontSection';
4+
import LogoSection from '@/components/Branding/LogoSection/LogoSection';
55
import OutboundLink from '@/components/OutboundLink/OutboundLink';
6-
import { s3 } from '@/lib/constants/urls';
76
import { buttonVariants } from '@/components/ui/button';
7+
import { s3 } from '@/lib/constants/urls';
88

99
export const metadata: Metadata = { title: 'Branding Guide' };
1010

‎src/app/challenge/layout.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { ReactNode } from 'react';
21
import range from 'lodash/range';
2+
import type { ReactNode } from 'react';
33
import HeroBanner from '@/components/HeroBanner/HeroBanner';
44
import Section from '@/components/Section/Section';
55
import challengers from '@/static/operationcode_challenge/names';

‎src/app/chapters/page.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Metadata } from 'next';
2-
import Section from '@/components/Section/Section';
32
import FlatCard from '@/components/Cards/FlatCard/FlatCard';
43
import OutboundLink from '@/components/OutboundLink/OutboundLink';
4+
import Section from '@/components/Section/Section';
55

66
export const metadata: Metadata = { title: 'Chapters' };
77

‎src/app/corporate-training/layout.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
import type { ReactNode } from 'react';
21
import type { StaticImageData } from 'next/image';
32
import Image from 'next/image';
3+
import type { ReactNode } from 'react';
44
import HeroBanner from '@/components/HeroBanner/HeroBanner';
55
import OutboundLink from '@/components/OutboundLink/OutboundLink';
66
import { cn } from '@/lib/utils';
7-
import heroImage from '@/static/images/heroImage.jpg';
87
import bias1 from '@/static/images/bias1.jpg';
98
import bias2 from '@/static/images/bias2.jpg';
109
import bias3 from '@/static/images/bias3.jpg';
1110
import bias4 from '@/static/images/bias4.jpg';
1211
import bias5 from '@/static/images/bias5.jpg';
12+
import heroImage from '@/static/images/heroImage.jpg';
1313

1414
interface Bias {
1515
title: string;

0 commit comments

Comments
 (0)