Skip to content

Commit

Permalink
refa: adjust background of tutorials (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebald authored Jul 2, 2024
1 parent 46c4c19 commit 23c80d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/hideout.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/components/Title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const Title = ({ title, caption, image }: TitleProps) => (
className={[
'relative grid place-items-center',
'bg-[linear-gradient(to_bottom,_var(--tw-gradient-stops)),var(--bg-image)] bg-repeat [background-size:auto,var(--bg-size)]',
'from-violet-700/15 via-secondary-50 via-70% to-secondary-50',
'from-primary-800/25 via-secondary-50 via-80% to-secondary-50',
].join(' ')}
style={
{
Expand All @@ -26,7 +26,7 @@ export const Title = ({ title, caption, image }: TitleProps) => (
>
<div className="absolute inset-x-0 top-0 h-8 bg-gradient-to-b from-neutral-700/50 via-neutral-700/10 via-20% to-transparent" />

<div className="px-20 pb-32 pt-52 text-center [background-image:radial-gradient(ellipse_at_bottom,rgba(248,250,252,1)_0%,rgba(248,250,252,1)_40%,transparent_70%)]">
<div className="px-20 pb-32 pt-52 text-center [background-image:radial-gradient(ellipse_at_center_90%,rgba(248,250,252,1)_0%,rgba(248,250,252,1)_40%,transparent_60%)]">
<h1 className="p-0 text-secondary-950">{title}</h1>
<div className="-mt-8 text-lg text-secondary-950/60">{caption}</div>
</div>
Expand Down

0 comments on commit 23c80d9

Please sign in to comment.