Skip to content

Commit

Permalink
feat: hero section base component (like really BASE)
Browse files Browse the repository at this point in the history
  • Loading branch information
wzarek committed May 13, 2024
1 parent 67a7932 commit 2400e9d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Client/reasn-client/apps/web/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
"use client";

import { Button } from "@reasn/ui";
import { HeroSection } from "@reasn/ui";

import styles from "../styles/index.module.css";

export default function Web() {
return (
<div className={styles.container}>
<h1>Web</h1>
<Button onClick={() => console.log("Pressed!")} text="Boop" />
<HeroSection />
</div>
);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react'

export const HeroSection = () => {
return (
<div className='bg-red-500'>HeroSection</div>
)
}
1 change: 1 addition & 0 deletions Client/reasn-client/packages/ui/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { Button, type ButtonProps } from "./button";
export { HeroSection } from "./components/main/HeroSection";

0 comments on commit 2400e9d

Please sign in to comment.