File tree 5 files changed +130
-0
lines changed
5 files changed +130
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import About from "@/app/About";
9
9
import Catalog from "@/app/Catalog" ;
10
10
import Landing from "@/app/Landing" ;
11
11
import Layout from "@/app/Layout" ;
12
+ import FAQ from "@/app/FAQ" ;
12
13
13
14
const router = createBrowserRouter ( [
14
15
{
@@ -52,6 +53,15 @@ const router = createBrowserRouter([
52
53
} ,
53
54
] ,
54
55
} ,
56
+ {
57
+ element : < Layout footer = { false } /> ,
58
+ children : [
59
+ {
60
+ element : < FAQ /> ,
61
+ path : "/faq" ,
62
+ } ,
63
+ ] ,
64
+ } ,
55
65
] ) ;
56
66
57
67
export default function App ( ) {
Original file line number Diff line number Diff line change
1
+ .root {
2
+ display : flex ;
3
+ flex-direction : column ;
4
+
5
+ .container {
6
+ margin-top : 2rem ;
7
+ margin-left : auto ;
8
+ margin-right : auto ;
9
+ text-align : center ;
10
+ }
11
+
12
+ .text {
13
+ width : 512px ;
14
+ flex-shrink : 0 ;
15
+ margin-left : auto ;
16
+ margin-right : auto ;
17
+
18
+ .link {
19
+ display : flex ;
20
+ align-items : center ;
21
+ gap : 8px ;
22
+ color : var (--blue-500 );
23
+ font-size : 16px ;
24
+ font-weight : 500 ;
25
+ line-height : 1 ;
26
+ transition : all 100ms ease-in-out ;
27
+
28
+ & :hover {
29
+ color : var (--blue-600 );
30
+ }
31
+ }
32
+
33
+ .heading {
34
+ font-size : 32px ;
35
+ font-weight : 660 ;
36
+ font-feature-settings :
37
+ " cv05" on,
38
+ " cv13" on,
39
+ " ss07" on,
40
+ " cv12" on,
41
+ " cv06" on;
42
+ line-height : 1.25 ;
43
+ letter-spacing : -1% ;
44
+ margin-bottom : 16px ;
45
+ color : var (--slate-900 );
46
+ }
47
+
48
+ .description {
49
+ font-size : 16px ;
50
+ line-height : 1.5 ;
51
+ margin-bottom : 32px ;
52
+ color : var (--slate-500 );
53
+ }
54
+ }
55
+
56
+ .footer {
57
+ position : absolute ;
58
+ bottom : 0 ;
59
+ width : 100% ;
60
+ }
61
+ }
Original file line number Diff line number Diff line change
1
+ import Button from "@/components/Button" ;
2
+ import Footer from "@/components/Footer" ;
3
+
4
+ import styles from "./FAQ.module.scss" ;
5
+
6
+ const FAQ = ( ) => {
7
+ return (
8
+ < div className = { styles . root } >
9
+ < div className = { styles . container } >
10
+ < div className = { styles . text } >
11
+ < h1 className = { styles . heading } > Frequently Asked Questions</ h1 >
12
+ < h2 className = { styles . description } >
13
+ Answering your most commonly asked questions.
14
+ </ h2 >
15
+ < Button children = { "Contact Us" } className = { styles . container } />
16
+ </ div >
17
+ </ div >
18
+ { /* ADD ACCORDION ITEMS */ }
19
+ < div className = { styles . footer } >
20
+ < Footer />
21
+ </ div >
22
+ </ div >
23
+ ) ;
24
+ } ;
25
+
26
+ export default FAQ ;
Original file line number Diff line number Diff line change
1
+ import { ComponentPropsWithRef , ElementType , useState } from 'react' ;
2
+
3
+ import classNames from "classnames" ;
4
+
5
+ import styles from "./Accordion.module.scss" ;
6
+
7
+ // export default function Button<T extends ElementType = "button">({
8
+ // active,
9
+ // children,
10
+ // className,
11
+ // secondary,
12
+ // as,
13
+ // ...props
14
+ // }: ButtonProps<T> & Omit<ComponentPropsWithRef<T>, keyof ButtonProps<T>>) {
15
+ // const Component = as ?? "button";
16
+
17
+ // return (
18
+ // <Component
19
+ // className={classNames(
20
+ // styles.root,
21
+ // {
22
+ // [styles.active]: active,
23
+ // [styles.secondary]: secondary,
24
+ // },
25
+ // className
26
+ // )}
27
+ // {...props}
28
+ // >
29
+ // {children}
30
+ // </Component>
31
+ // );
32
+ // }
33
+
You can’t perform that action at this time.
0 commit comments