diff --git a/app/about/page.tsx b/app/about/page.tsx deleted file mode 100644 index 47f7f00..0000000 --- a/app/about/page.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import Image from "next/image"; - -export default function Home() { - return ( -
-
-

404

-

Page not found

-

Sorry, we couldn’t find the page you’re looking for.

-
- - Go back home - - - Contact support - -
-
-
- ); -} diff --git a/app/page.tsx b/app/page.tsx index e84cac1..3fb85a8 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,23 +1,50 @@ -import Image from "next/image"; -async function getData() { - const res = await fetch('https://my-json-server.typicode.com/typicode/demo/posts'); - // The return value is *not* serialized - // You can return Date, Map, Set, etc. - - if (!res.ok) { - // This will activate the closest `error.js` Error Boundary - throw new Error('Failed to fetch data'); - } - - return res.json() +import { Fragment } from 'react' +import { Menu, MenuButton, MenuItem, MenuItems, Transition } from '@headlessui/react' +import { ChevronDownIcon } from '@heroicons/react/20/solid' +function classNames(...classes) { + return classes.filter(Boolean).join(' ') } - -export default async function Home() { - const data = await getData(); +export default function Example() { return ( -
-

{ data[ 1 ].title }

-
- ); +
+
+
+
+ +
+

+ Start using flash cards +
+ Begin with our app today. +

+

+ Get questions from a multitude of different subjects that include cybersecurity, geography and C++ +

+
+ + Get started + + +
+
+
+
+
+ ) } diff --git a/app/sessionconfig/page.tsx b/app/sessionconfig/page.tsx new file mode 100644 index 0000000..d6785fe --- /dev/null +++ b/app/sessionconfig/page.tsx @@ -0,0 +1,144 @@ +import { CheckIcon } from '@heroicons/react/20/solid' + +const includedFeatures = [ + 'Private forum access', + 'Member resources', + 'Entry to annual conference', + 'Official member t-shirt', +] + +export default function Example() { + return ( +
+
+
+
+ +
+

Learn cybersecurity

+

+ Learning cybersecurity is like becoming the guardian of the digital realm. + It's about mastering the art of protecting information, systems, and networks from cyber threats. + From understanding encryption algorithms to detecting malware, every lesson equips you with tools to fortify against cyber-attacks. +

+
+
+
+
+

+ Start + now! +

+ + Begin + +

+ Take a short quiz to begin learning faster than ever +

+
+
+
+
+
+ +
+

Learn cybersecurity

+

+ Learning cybersecurity is like becoming the guardian of the digital realm. + It's about mastering the art of protecting information, systems, and networks from cyber threats. + From understanding encryption algorithms to detecting malware, every lesson equips you with tools to fortify against cyber-attacks. +

+
+
+
+
+

+ Start + now! +

+ + Begin + +

+ Take a short quiz to begin learning faster than ever +

+
+
+
+
+
+ +
+

Learn cybersecurity

+

+ Learning cybersecurity is like becoming the guardian of the digital realm. + It's about mastering the art of protecting information, systems, and networks from cyber threats. + From understanding encryption algorithms to detecting malware, every lesson equips you with tools to fortify against cyber-attacks. +

+
+
+
+
+

+ Start + now! +

+ + Begin + +

+ Take a short quiz to begin learning faster than ever +

+
+
+
+
+
+
+ ) +} diff --git a/public/logo-no-background.png b/public/logo-no-background.png new file mode 100644 index 0000000..a6c9f37 Binary files /dev/null and b/public/logo-no-background.png differ diff --git a/tsconfig.json b/tsconfig.json index e7ff90f..d9cb4b3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,6 +12,7 @@ "isolatedModules": true, "jsx": "preserve", "incremental": true, + "noImplicitAny": false, "plugins": [ { "name": "next" @@ -21,6 +22,6 @@ "@/*": ["./*"] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "app/components/Dropdown.js"], "exclude": ["node_modules"] }