Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refa: adjust background of tutorials #79

Merged
merged 1 commit into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading