diff --git a/@dasig/components/Row.tsx b/@dasig/components/Row.tsx index 65df878..e71871d 100644 --- a/@dasig/components/Row.tsx +++ b/@dasig/components/Row.tsx @@ -5,19 +5,20 @@ interface Props { children: JSXElement content?: 'left' | 'center' | 'right' | 'split' | 'spaced' | 'even' gap?: number + wrap?: boolean } export default (props: Props) => { return ( <> -
+
{props.children}
-
{props.children}
+
{props.children}
) diff --git a/@dasig/styles/Row.sass b/@dasig/styles/Row.sass index 53a5fc7..08d08a2 100644 --- a/@dasig/styles/Row.sass +++ b/@dasig/styles/Row.sass @@ -1,7 +1,7 @@ .dasig-row-left display: flex flex-direction: row - flex-wrap: wrap + // flex-wrap: wrap justify-content: flex-start align-items: center align-content: center @@ -9,7 +9,7 @@ .dasig-row-center display: flex flex-direction: row - flex-wrap: wrap + // flex-wrap: wrap justify-content: center align-items: center align-content: center @@ -17,7 +17,7 @@ .dasig-row-right display: flex flex-direction: row - flex-wrap: wrap + // flex-wrap: wrap justify-content: flex-end align-items: center align-content: center @@ -25,7 +25,7 @@ .dasig-row-split display: flex flex-direction: row - flex-wrap: wrap + // flex-wrap: wrap justify-content: space-between align-items: center align-content: center @@ -33,7 +33,7 @@ .dasig-row-spaced display: flex flex-direction: row - flex-wrap: wrap + // flex-wrap: wrap justify-content: space-around align-items: center align-content: center @@ -41,7 +41,7 @@ .dasig-row-even display: flex flex-direction: row - flex-wrap: wrap + // flex-wrap: wrap justify-content: space-evenly align-items: center align-content: center diff --git a/configs/design/site.sass b/configs/design/site.sass index 207da5f..4718768 100644 --- a/configs/design/site.sass +++ b/configs/design/site.sass @@ -1,2 +1,4 @@ -$light-background: #adafb4 -$dark-background: #08192c +@use './colors' as colors + +$light-background: colors.$white +$dark-background: colors.$black diff --git a/src/components/Article.astro b/src/components/Article.astro index 5148b20..bc61f57 100644 --- a/src/components/Article.astro +++ b/src/components/Article.astro @@ -14,38 +14,72 @@ interface Props { const { title, subtitle, date, imageA, imageW, alt, minutes } = Astro.props --- -
- +
+ - - - {alt} + + + {alt}
- {title} -

{subtitle}

+ {title} +

{subtitle}

- - {date} - : - {minutes} min read - - +
+ + {date} + : + {minutes} min read + +
+
- diff --git a/src/components/Input/Input.tsx b/src/components/Input/Input.tsx deleted file mode 100644 index ae89b0c..0000000 --- a/src/components/Input/Input.tsx +++ /dev/null @@ -1,12 +0,0 @@ -import Input from '../../../@dasig/components/Input' -import { createSignal } from 'solid-js' - -const [sample, setSample] = createSignal('') - -export default () => { - return ( - <> - setSample(val)}> - - ) -} diff --git a/src/pages/index.astro b/src/pages/index.astro index 07e93cb..a880b65 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -7,13 +7,39 @@ import AA from '../../@dasig/images/sample.avif' import AW from '../../@dasig/images/sample.webp' --- - - -
+ + + +
+
+
+
+
+
+
-
- + +