diff --git a/src/app/pages/FAQ/FAQ.scss b/src/app/pages/FAQ/FAQ.scss
index d49ff2c..72d39d5 100644
--- a/src/app/pages/FAQ/FAQ.scss
+++ b/src/app/pages/FAQ/FAQ.scss
@@ -1,11 +1,79 @@
#faq {
+ $mobile-apricot-lower-breakpoint: 720px;
+ display: flex;
+ flex-direction: column;
+ position: relative;
+
h2 {
margin-bottom: $main-padding-mobile-block;
}
+ #apricot-container,
+ .apricot.mobile {
+ display: none;
+ z-index: -1;
+ }
+
@media (min-width: $mobile-breakpoint) {
+ overflow: hidden;
+ h2 {
+ margin-bottom: calc($main-padding-mobile-block);
+ }
+ }
+
+ @media ($mobile-apricot-lower-breakpoint < width < $tablet-breakpoint) {
+ .apricot.mobile {
+ display: block;
+ position: absolute;
+ width: 30%;
+ height: auto;
+ }
+
+ #apricot-1 {
+ top: 20%;
+ left: -20%;
+ transform: rotate(20deg);
+ }
+
+ #apricot-2 {
+ bottom: 20%;
+ right: -15%;
+ transform: rotate(-30deg);
+ }
+ }
+
+ @media (min-width: $desktop-breakpoint) {
h2 {
- margin-bottom: $main-padding-desktop-block;
+ margin-bottom: calc($main-padding-mobile-block - 24px);
+ }
+
+ #apricot-container {
+ display: flex;
+ position: absolute;
+ align-items: baseline;
+ justify-content: center;
+ gap: 10%;
+ bottom: -5%;
+ width: calc(100% - 2 * $main-padding-desktop-inline);
+
+ .apricot {
+ transform: rotate(-10deg);
+
+ apricot-3 {
+ height: 15%;
+ width: 15%;
+ }
+
+ apricot-4 {
+ height: 20%;
+ width: 20%;
+ }
+
+ apricot-5 {
+ height: 25%;
+ width: 25%;
+ }
+ }
}
}
}
diff --git a/src/app/pages/FAQ/FAQ.tsx b/src/app/pages/FAQ/FAQ.tsx
index 5d5c5a9..e5521a3 100644
--- a/src/app/pages/FAQ/FAQ.tsx
+++ b/src/app/pages/FAQ/FAQ.tsx
@@ -1,7 +1,9 @@
import './FAQ.scss';
-import { PageRef } from '@/page';
import MyAccordion from '@/components/MyAccordion/MyAccordion';
import { FAQContent } from './constants';
+import Image from 'next/image';
+import Apricot from '@/assets/images/Apricot.webp';
+import { PageRef } from '@/page';
type FAQProps = {
faqRef: PageRef;
@@ -13,6 +15,25 @@ export default function FAQ({ faqRef }: FAQProps) {
.04 / FAQ
Frequently Asked Questions
+
+
+
+
+
+
+
+
+
);
}
diff --git a/src/app/pages/FAQ/constants.ts b/src/app/pages/FAQ/constants.ts
index 6be59d8..be30798 100644
--- a/src/app/pages/FAQ/constants.ts
+++ b/src/app/pages/FAQ/constants.ts
@@ -1,9 +1,9 @@
export const FAQContent = [
{
id: 'item-1',
- header: 'Who is eligible?',
+ header: 'Who is eligible to participate in UP-Grade?',
content:
- 'Eligibility is offered to all UCSD students and recent graduates — of various backgrounds, experience levels, and majors! We encourage anyone interested to apply, to learn and offer their one-of-a-kind knowledge!'
+ 'Eligibility is offered to all UCSD students and recent graduates — of various backgrounds, experience levels, and majors! We encourage anyone interested to apply, to learn, and offer their unique knowledge.'
},
{
id: 'item-2',
@@ -14,7 +14,7 @@ export const FAQContent = [
id: 'item-3',
header: 'How many people will be accepted?',
content:
- 'UP-Grade will have 6 student teams, with 6 participants in each team — 36 participants total. For each topic, there will be 2 teams assigned.'
+ 'UP-Grade will have 7 student teams, with 6 participants in each team — 42 participants total.'
},
{
id: 'item-4',
diff --git a/src/app/styles/variables.scss b/src/app/styles/variables.scss
index 3d39ffb..8c64ded 100644
--- a/src/app/styles/variables.scss
+++ b/src/app/styles/variables.scss
@@ -11,7 +11,8 @@ $subheading-font: var(--font-uncutsans-medium);
// Breakpoints
$mobile-breakpoint: 550px;
-$tablet-breakpoint: 1000px;
+$tablet-breakpoint: 979px;
+$desktop-breakpoint: 1440px;
// Sizes
$nav-width: clamp(250px, 200px + 11vw, 470px);