diff --git a/packages/frontend/public/wave-border-card.svg b/packages/frontend/public/wave-border-card.svg deleted file mode 100644 index 94137bb5..00000000 --- a/packages/frontend/public/wave-border-card.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/packages/frontend/public/wave-border-layout.svg b/packages/frontend/public/wave-border-layout.svg deleted file mode 100644 index d32a0dd4..00000000 --- a/packages/frontend/public/wave-border-layout.svg +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - diff --git a/packages/frontend/public/wavy-border-fill.svg b/packages/frontend/public/wavy-border-fill.svg new file mode 100644 index 00000000..4486705b --- /dev/null +++ b/packages/frontend/public/wavy-border-fill.svg @@ -0,0 +1,4 @@ + + + + diff --git a/packages/frontend/public/wavy-border-gradient.svg b/packages/frontend/public/wavy-border-gradient.svg deleted file mode 100644 index cc8203f1..00000000 --- a/packages/frontend/public/wavy-border-gradient.svg +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/packages/frontend/public/wavy-border-line-and-fill.svg b/packages/frontend/public/wavy-border-line-and-fill.svg new file mode 100644 index 00000000..27df94a3 --- /dev/null +++ b/packages/frontend/public/wavy-border-line-and-fill.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/packages/frontend/public/wavy-border-line.svg b/packages/frontend/public/wavy-border-line.svg index 68c68abf..eba75bd0 100644 --- a/packages/frontend/public/wavy-border-line.svg +++ b/packages/frontend/public/wavy-border-line.svg @@ -1,2 +1,10 @@ + + + + + + + + diff --git a/packages/frontend/src/components/projects/ProjectCard/ProjectCard.tsx b/packages/frontend/src/components/projects/ProjectCard/ProjectCard.tsx index 85603037..5c7efb15 100644 --- a/packages/frontend/src/components/projects/ProjectCard/ProjectCard.tsx +++ b/packages/frontend/src/components/projects/ProjectCard/ProjectCard.tsx @@ -87,7 +87,10 @@ export const ProjectCard = ({ {/* Wave */} - + {/* Lower content */}
{/* Latest deployment */} diff --git a/packages/frontend/src/components/shared/WavyBorder/WavyBorder.tsx b/packages/frontend/src/components/shared/WavyBorder/WavyBorder.tsx index 22f9fd33..805272f1 100644 --- a/packages/frontend/src/components/shared/WavyBorder/WavyBorder.tsx +++ b/packages/frontend/src/components/shared/WavyBorder/WavyBorder.tsx @@ -1,7 +1,7 @@ import React, { ComponentPropsWithoutRef, useMemo } from 'react'; import { cn } from 'utils/classnames'; -type WaveBorderVariant = 'card' | 'layout'; +type WaveBorderVariant = 'stroke' | 'stroke-and-fill'; export interface WavyBorderProps extends ComponentPropsWithoutRef<'div'> { variant?: WaveBorderVariant; @@ -9,27 +9,36 @@ export interface WavyBorderProps extends ComponentPropsWithoutRef<'div'> { export const WavyBorder = ({ className, - variant = 'card', + variant = 'stroke', ...props }: WavyBorderProps) => { const imageSrc = useMemo(() => { switch (variant) { - case 'card': - return '/wave-border-card.svg'; - case 'layout': - return '/wave-border-layout.svg'; + case 'stroke-and-fill': + return '/wavy-border-line-and-fill.svg'; + case 'stroke': default: - return '/wave-border-card.svg'; + return '/wavy-border-line.svg'; } }, [variant]); return (
+ > + {/* Wave */} +
+
); }; diff --git a/packages/frontend/src/pages/org-slug/projects/create/layout.tsx b/packages/frontend/src/pages/org-slug/projects/create/layout.tsx index 669fc562..3dad337a 100644 --- a/packages/frontend/src/pages/org-slug/projects/create/layout.tsx +++ b/packages/frontend/src/pages/org-slug/projects/create/layout.tsx @@ -29,7 +29,7 @@ export const CreateProjectLayout = ({
- +