diff --git a/CryptoHackAI-web/public/Image.svg b/CryptoHackAI-web/public/Image.svg new file mode 100644 index 0000000..394ad3f --- /dev/null +++ b/CryptoHackAI-web/public/Image.svg @@ -0,0 +1,3 @@ + + + diff --git a/CryptoHackAI-web/src/app/components/Card.tsx b/CryptoHackAI-web/src/app/components/Card.tsx new file mode 100644 index 0000000..cd2452b --- /dev/null +++ b/CryptoHackAI-web/src/app/components/Card.tsx @@ -0,0 +1,33 @@ +import React from 'react'; + +interface CardProps { + content: string; + title: string; + className: string; + contentStyle: string; +} + +const Card: React.FC = ({ + content, + title, + className, + contentStyle, +}) => { + return ( +
+

{title}

+ +
+

+ {content} +

+
+
+ ); +}; + +export default Card; diff --git a/CryptoHackAI-web/src/app/globals.css b/CryptoHackAI-web/src/app/globals.css index e8a692e..05d491f 100644 --- a/CryptoHackAI-web/src/app/globals.css +++ b/CryptoHackAI-web/src/app/globals.css @@ -19,3 +19,10 @@ body { background: var(--background); font-family: Arial, Helvetica, sans-serif; } +.scrollbar-hide::-webkit-scrollbar { + display: none; +} +.scrollbar-hide { + scrollbar-width: none; + -ms-overflow-style: none; +} diff --git a/CryptoHackAI-web/src/app/new-idea/page.tsx b/CryptoHackAI-web/src/app/new-idea/page.tsx new file mode 100644 index 0000000..4c8ce54 --- /dev/null +++ b/CryptoHackAI-web/src/app/new-idea/page.tsx @@ -0,0 +1,73 @@ +'use client'; + +import Image from 'next/image'; +import NEW_IDEA from '../utils/constants'; +import Card from '../components/Card'; + +const img = '/image.svg'; + +const Page = () => { + return ( +
+
+

{NEW_IDEA.name}

+ +
+ image +

+ AI Generated +
Image +

+
+ +
+ + +
+
+ +
+ + +
+ + + +
+
+
+ ); +}; + +export default Page; diff --git a/CryptoHackAI-web/src/app/utils/constants.ts b/CryptoHackAI-web/src/app/utils/constants.ts new file mode 100644 index 0000000..ec999ae --- /dev/null +++ b/CryptoHackAI-web/src/app/utils/constants.ts @@ -0,0 +1,12 @@ + + + +const NEW_IDEA = { + name: "Idea Name", + image: "", + description: `Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.\n\nLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.`, + impact: `Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the ���1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.\n\nLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.`, + uniqueness: `Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.\n\nLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.`, + } + + export default NEW_IDEA; \ No newline at end of file