diff --git a/fwt/components/Column/Column.sass b/fwt/components/Column/Column.sass deleted file mode 100644 index 7a9309e..0000000 --- a/fwt/components/Column/Column.sass +++ /dev/null @@ -1,39 +0,0 @@ -.top - display: flex - flex-direction: column - flex-wrap: wrap - justify-content: flex-start - align-items: center - align-content: center - -.center - display: flex - flex-direction: column - flex-wrap: wrap - justify-content: center - align-items: center - align-content: center - -.right - display: flex - flex-direction: column - flex-wrap: wrap - justify-content: flex-end - align-items: center - align-content: center - -.split - display: flex - flex-direction: column - flex-wrap: wrap - justify-content: space-between - align-items: center - align-content: center - -.spaced - display: flex - flex-direction: column - flex-wrap: wrap - justify-content: space-around - align-items: center - align-content: center diff --git a/fwt/components/Column/Column.tsx b/fwt/components/Column/Column.tsx deleted file mode 100644 index 9e84a11..0000000 --- a/fwt/components/Column/Column.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import './Column.sass' - -interface Props { - children: any - content: 'top' | 'center' | 'right' | 'split' | 'spaced' - gap?: number -} - -export default (props: Props) => { - return ( - <> -
- {props.children} -
- - ) -} diff --git a/fwt/components/Image/Image.tsx b/fwt/components/Image/Image.tsx index d885641..2df6d4c 100644 --- a/fwt/components/Image/Image.tsx +++ b/fwt/components/Image/Image.tsx @@ -3,7 +3,6 @@ interface Props { webp: string size?: number alt?: string - radius?: number } export default (props: Props) => { @@ -12,7 +11,7 @@ export default (props: Props) => { - {props.alt} + {props.alt} ) diff --git a/fwt/components/Row/Row.sass b/fwt/components/Row/Row.sass deleted file mode 100644 index a103f5c..0000000 --- a/fwt/components/Row/Row.sass +++ /dev/null @@ -1,47 +0,0 @@ -.left - display: flex - flex-direction: row - flex-wrap: wrap - justify-content: flex-start - align-items: center - align-content: center - -.center - display: flex - flex-direction: row - flex-wrap: wrap - justify-content: center - align-items: center - align-content: center - -.right - display: flex - flex-direction: row - flex-wrap: wrap - justify-content: flex-end - align-items: center - align-content: center - -.split - display: flex - flex-direction: row - flex-wrap: wrap - justify-content: space-between - align-items: center - align-content: center - -.spaced - display: flex - flex-direction: row - flex-wrap: wrap - justify-content: space-around - align-items: center - align-content: center - -.even - display: flex - flex-direction: row - flex-wrap: wrap - justify-content: space-evenly - align-items: center - align-content: center diff --git a/fwt/components/Row/Row.tsx b/fwt/components/Row/Row.tsx deleted file mode 100644 index feb34a5..0000000 --- a/fwt/components/Row/Row.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import './Row.sass' -// import { Switch, Match } from 'solid-js' - -interface Props { - children: any - content: 'left' | 'center' | 'right' | 'split' | 'spaced' | 'even' - gap?: number -} - -export default (props: Props) => { - return ( - <> -
- {props.children} -
- - ) -} diff --git a/src/pages/next.astro b/src/pages/next.astro index 367262c..c3b3cf4 100644 --- a/src/pages/next.astro +++ b/src/pages/next.astro @@ -5,9 +5,7 @@ import Image from '../../fwt/components/Image/Image' import Page from '../../fwt/components/Page/Page' import sample1 from '../../fwt/images/sample.avif' import sample2 from '../../fwt/images/sample.webp' -import OptimizeImage from '../../fwt/components/Optimizer/OptimizeImage' -import Row from '../../fwt/components/Row/Row' -import Column from '../../fwt/components/Column/Column' +import OptimizeImage from '../../fwt/components/Optimizer/OptimizeImage.tsx' --- @@ -16,13 +14,11 @@ import Column from '../../fwt/components/Column/Column'