This commit is contained in:
Patrick Alvin Alcala 2026-03-25 16:01:16 +08:00
parent db48b587db
commit 50def158c2
13 changed files with 9 additions and 9 deletions

View file

@ -21,7 +21,7 @@ const config = toml.parse(fs.readFileSync('configs/config.site.toml', 'utf8'))
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" /> <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<meta name="name" content={config.website.name} /> <meta name="name" content={config.website.name} />
<meta name="description" content={config.website.description} /> <meta name="description" content={config.website.description} />
<meta name="title" property="og:title" content={config.website.name} /> <meta name="title" property="og:title" content={title} />
<meta name="keywords" content="HTML, CSS, JavaScript" /> <meta name="keywords" content="HTML, CSS, JavaScript" />
<meta name="developer" content={config.website.developer} /> <meta name="developer" content={config.website.developer} />
<meta name="designer" content={config.website.designer} /> <meta name="designer" content={config.website.designer} />

View file

@ -1,18 +1,18 @@
--- ---
interface Props { interface Props {
alignment?: 'row' | 'column' horizontal?: boolean
} }
const { alignment } = Astro.props const { horizontal } = Astro.props
--- ---
{ {
alignment ? ( horizontal ? (
<main class={`dasig-page-${alignment}`}> <main class={`dasig-page-column`}>
<slot /> <slot />
</main> </main>
) : ( ) : (
<main class="dasig-page"> <main class="dasig-page-row">
<slot /> <slot />
</main> </main>
) )

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 373 B

After

Width:  |  Height:  |  Size: 536 B

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 888 B

After

Width:  |  Height:  |  Size: 1 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 71 KiB

Before After
Before After

View file

@ -6,12 +6,12 @@ import PA1 from '../../@dasig/images/pat-alcala.avif'
import PA2 from '../../@dasig/images/pat-alcala.webp' import PA2 from '../../@dasig/images/pat-alcala.webp'
--- ---
<Layout title="Dasig - Astro"> <Layout title="Dasig - Static">
<Page alignment="column"> <Page>
<Column> <Column>
<Logo size={250} /> <Logo size={250} />
<h1>Dasig - Static</h1> <h2>An architectural web framework for static websites</h2>
<Counter /> <Counter />
<Footer> <Footer>