From 76199aab7a98b96e8c0c765151546156e634bb16 Mon Sep 17 00:00:00 2001
From: Maciej Krawczyk <63869461+wzarek@users.noreply.github.com>
Date: Wed, 15 May 2024 16:13:39 +0200
Subject: [PATCH] feat: base styling for hero section
---
Client/reasn-client/apps/web/app/page.tsx | 6 ++----
.../apps/web/styles/index.module.css | 3 ---
.../ui/src/components/main/HeroCard.tsx | 14 ++++++++++++++
.../ui/src/components/main/HeroSection.tsx | 13 ++++++++++++-
.../packages/ui/src/icons/Fire.tsx | 18 ++++++++++++++++++
.../packages/ui/src/icons/IconProps.ts | 5 +++++
6 files changed, 51 insertions(+), 8 deletions(-)
create mode 100644 Client/reasn-client/packages/ui/src/components/main/HeroCard.tsx
create mode 100644 Client/reasn-client/packages/ui/src/icons/Fire.tsx
create mode 100644 Client/reasn-client/packages/ui/src/icons/IconProps.ts
diff --git a/Client/reasn-client/apps/web/app/page.tsx b/Client/reasn-client/apps/web/app/page.tsx
index 1fb59eaf..f16ce2dc 100644
--- a/Client/reasn-client/apps/web/app/page.tsx
+++ b/Client/reasn-client/apps/web/app/page.tsx
@@ -1,12 +1,10 @@
"use client";
-import { HeroSection } from "@reasn/ui";
-
-import styles from "../styles/index.module.css";
+import { HeroSection } from "@reasn/ui/src";
export default function Web() {
return (
-
+
);
diff --git a/Client/reasn-client/apps/web/styles/index.module.css b/Client/reasn-client/apps/web/styles/index.module.css
index d2a4fa15..e69de29b 100644
--- a/Client/reasn-client/apps/web/styles/index.module.css
+++ b/Client/reasn-client/apps/web/styles/index.module.css
@@ -1,3 +0,0 @@
-.container {
- text-align: center;
-}
diff --git a/Client/reasn-client/packages/ui/src/components/main/HeroCard.tsx b/Client/reasn-client/packages/ui/src/components/main/HeroCard.tsx
new file mode 100644
index 00000000..05a19a94
--- /dev/null
+++ b/Client/reasn-client/packages/ui/src/components/main/HeroCard.tsx
@@ -0,0 +1,14 @@
+import React from 'react'
+
+export const HeroCard = () => {
+ return (
+
+
+
#platne
+
#wroclaw
+
#koncert
+
+
koncert fagaty
+
+ )
+}
diff --git a/Client/reasn-client/packages/ui/src/components/main/HeroSection.tsx b/Client/reasn-client/packages/ui/src/components/main/HeroSection.tsx
index 0a40ed03..19ec5ded 100644
--- a/Client/reasn-client/packages/ui/src/components/main/HeroSection.tsx
+++ b/Client/reasn-client/packages/ui/src/components/main/HeroSection.tsx
@@ -1,7 +1,18 @@
import React from 'react'
+import { Fire } from '../../icons/Fire'
+import { HeroCard } from './HeroCard'
export const HeroSection = () => {
return (
-
HeroSection
+
+
+
+
+
+ to jest teraz
na topie
+
+
+
+
)
}
\ No newline at end of file
diff --git a/Client/reasn-client/packages/ui/src/icons/Fire.tsx b/Client/reasn-client/packages/ui/src/icons/Fire.tsx
new file mode 100644
index 00000000..e4d47a48
--- /dev/null
+++ b/Client/reasn-client/packages/ui/src/icons/Fire.tsx
@@ -0,0 +1,18 @@
+import React from 'react'
+
+export const Fire = (props: IconProps) => {
+ const { className, colors, gradientTransform } = props
+
+ return (
+
+ )
+}
diff --git a/Client/reasn-client/packages/ui/src/icons/IconProps.ts b/Client/reasn-client/packages/ui/src/icons/IconProps.ts
new file mode 100644
index 00000000..d457bf06
--- /dev/null
+++ b/Client/reasn-client/packages/ui/src/icons/IconProps.ts
@@ -0,0 +1,5 @@
+type IconProps = {
+ className?: string;
+ colors?: string[];
+ gradientTransform?: string;
+};
\ No newline at end of file