Skip to content

Commit

Permalink
added by wash
Browse files Browse the repository at this point in the history
  • Loading branch information
jptaylor committed Jun 26, 2024
1 parent a31aa54 commit d85f582
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
Binary file added public/color-wash-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/Splash.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type SplashProps = {

const Splash: React.FC<SplashProps> = ({ handleReady }) => {
return (
<main className="w-full h-full flex items-center justify-center bg-primary-200 p-4">
<main className="w-full h-full flex items-center justify-center bg-primary-200 p-4 bg-[length:auto_50%] lg:bg-auto bg-colorWash bg-no-repeat bg-right-top">
<div className="flex flex-col gap-8 lg:gap-12 items-center max-w-full lg:max-w-3xl">
<h1 className="scroll-m-20 text-4xl font-extrabold tracking-tight lg:text-5xl text-balance">
The World&apos;s Fastest Voice Bot Demo
Expand Down
2 changes: 1 addition & 1 deletion src/components/ui/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const buttonVariants = cva(
ghost:
"border-primary-200 bg-white text-primary hover:border-primary-300 hover:bg-white/0 disabled:text-primary-foreground/50",
outline: "button-outline",
light: "button-light",
light: "border-transparent bg-transparent hover:bg-primary-50/20",
icon: "bg-transparent border-0 hover:bg-primary-200",
},
size: {
Expand Down
1 change: 1 addition & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default {
},
},
backgroundImage: {
colorWash: "url('/color-wash-bg.png')",
cardBorder: `linear-gradient(90deg, white, white), linear-gradient(0deg, ${colors.gray[300]}, ${colors.gray[200]})`,
selectArrow:
"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQgNkw4IDEwTDEyIDYiIHN0cm9rZT0iIzY0NzQ4QiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=')",
Expand Down

0 comments on commit d85f582

Please sign in to comment.