diff --git a/src/components/GridItem.astro b/src/components/GridItem.astro index 4860fca..3d85ffe 100644 --- a/src/components/GridItem.astro +++ b/src/components/GridItem.astro @@ -1,67 +1,106 @@ --- +import Icon from './Icon.astro'; + export interface Props { + id: string; title: string; text: string; url: string; - elemClass?: Array; - btnClass?: Array; - dataJs?: string; + width?: number; } const { + id, title, text, url, - elemClass = [], - btnClass = [], - dataJs = "", + width = 9, } = Astro.props; --- -
- - - - - - - - {title} - + - diff --git a/src/components/HostedService.astro b/src/components/HostedService.astro index 392761e..3f1e472 100644 --- a/src/components/HostedService.astro +++ b/src/components/HostedService.astro @@ -12,23 +12,11 @@ const { name, description, url, iconUrl = `${url}/favicon.ico` } = Astro.props; --- - - diff --git a/src/components/Profile.astro b/src/components/Profile.astro index e043752..12e7cb0 100644 --- a/src/components/Profile.astro +++ b/src/components/Profile.astro @@ -8,26 +8,37 @@ export interface Props { name: string; icon: string; copyName?: boolean; + note?: string; } -const { app, url, name, icon, copyName = false } = Astro.props; +const { + app, url, name, icon, + copyName = false, + note = "", +} = Astro.props; --- - + + + + + + + + - - diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 43b7825..7fe18bb 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -19,6 +19,7 @@ const { title, description } = Astro.props; {title} +
@@ -44,7 +45,7 @@ const { title, description } = Astro.props; flex-direction: column; } - main { + main { margin: auto; padding: @main-padding; max-width: @max-width; @@ -113,3 +114,11 @@ const { title, description } = Astro.props; } } + + diff --git a/src/layouts/Modal.astro b/src/layouts/Modal.astro index 7248e0a..4e55a9d 100644 --- a/src/layouts/Modal.astro +++ b/src/layouts/Modal.astro @@ -9,7 +9,7 @@ const { id } = Astro.props; ---