got started on new look. pivoting to api implementations now
This commit is contained in:
parent
aa12f5443c
commit
17e769c598
29 changed files with 1080 additions and 136 deletions
|
@ -4,11 +4,13 @@ import css from "./hero.module.css";
|
|||
|
||||
type HeroProps = {
|
||||
entry: Entry;
|
||||
class?: string;
|
||||
};
|
||||
|
||||
export function Hero(props: HeroProps) {
|
||||
return (
|
||||
<div class={css.container}>
|
||||
<div class={`${css.container} ${props.class ?? ''}`}>
|
||||
|
||||
<h2 class={css.title}>{props.entry.title}</h2>
|
||||
|
||||
<img src={props.entry.thumbnail} class={css.thumbnail} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue