Skip to content

Commit

Permalink
chore: move components from src/app to src/components
Browse files Browse the repository at this point in the history
  • Loading branch information
neoncitylights committed Aug 28, 2023
1 parent 85465e8 commit 438a83a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/faq/utils.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { WithId } from 'mongodb'

import { Accordion } from '@/components/Accordion'
import { WavyPattern } from '@/components/WavyPattern'
import { FaqModel } from '@/lib/db/models/Faq'

import { queryDbForItems } from '../utils'
import { WavyPattern } from '../WavyPattern'

export function FaqSection({
faqs,
Expand Down
6 changes: 3 additions & 3 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,20 @@ import { twJoin } from 'tailwind-merge'

import { Box } from '@/components/Box'
import { LinkButton } from '@/components/Button'
import { ClippedBadge } from '@/components/ClippedBadge'
import { SponsorTicket } from '@/components/SponsorTicket'
import { WavyPattern } from '@/components/WavyPattern'
import clientPromise from '@/lib/db'
import { Post } from '@/lib/db/models/Post'
import User, { JsonUser } from '@/lib/db/models/User'
import { getEnhancedSession } from '@/lib/utils/server'

import { ApplicationForm } from './ApplicationForm'
import Card from './Card'
import { ClippedBadge } from './ClippedBadge'
import { FaqSection, getFaqs } from './faq/utils'
import { HackTicket } from './HackTicket'
import styles from './page.module.css'
import PostRenderer from './post/[slug]/PostRenderer'
import { SponsorTicket } from './SponsorTicket'
import { WavyPattern } from './WavyPattern'
// https://beta.nextjs.org/docs/api-reference/segment-config#dynamic
// We read from the database on this route, so this has to be dynamic.
export const dynamic = 'force-dynamic'
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 438a83a

Please sign in to comment.