Skip to content

Commit 8952f88

Browse files
authored
Merge pull request #314 from HackRU/dev
Update FAQ.tsx
2 parents 9cd3bef + d2d3d00 commit 8952f88

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

app/(pre-dashboard)/(landing)/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default async function Page() {
4646
{ <GenericSection title="Past Team Members">
4747
<PastTeam />
4848
</GenericSection> } */}
49-
<div className="-mt-[1000px]">
49+
<div className="mt-[-200px] md:mt-[-500px] lg:mt-[-1000px]">
5050
<Image
5151
src="/landing/F2025/bottom.png"
5252
alt="bottom image"

app/(pre-dashboard)/(landing)/sections/FAQ/FAQ.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ import React from 'react';
33
import { hackRUFAQ } from '@/app/lib/constants';
44
import Accordian from './Accordion';
55
import { useState } from 'react';
6+
import { inter } from '@/app/ui/fonts';
67

78
function QuestionContainer() {
89
const [activeAccordion, setActiveAccordion] = useState(-1);
910

1011
return (
11-
<div className="w-full whitespace-pre-line">
12+
<div className="w-full whitespace-pre-line bg-gray-900/20">
1213
{Object.keys(hackRUFAQ).map((question: string, i: number) => (
1314
<Accordian
1415
key={i}
@@ -28,7 +29,7 @@ export default function FAQ() {
2829
return (
2930
<div
3031
id="FAQ"
31-
className="relative z-10 flex h-[67rem] w-full flex-col items-center justify-start overflow-visible sm:h-[50rem] md:h-[43rem]"
32+
className={`relative z-10 flex h-[67rem] w-full flex-col items-center justify-start overflow-visible sm:h-[50rem] md:h-[43rem] ${inter.className}`}
3233
>
3334
<div className="relative flex w-full flex-col items-center px-[10vw] pb-[10rem] xl:px-[15vw]">
3435
<QuestionContainer />

app/(pre-dashboard)/(landing)/sections/GenericSection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default function GenericSection(props: GenericSectionProps) {
6767
) : (
6868
<div>
6969
{props.title == 'FAQ' ? (
70-
<div className="flex items-center justify-center p-4">
70+
<div className="flex items-center justify-center p-4 pb-32">
7171
<p className="absolute z-50 text-lg text-gold-100 text-white sm:text-4xl md:pl-8 md:pt-2 md:text-2xl lg:text-4xl">
7272
FAQ
7373
</p>

0 commit comments

Comments
 (0)