Rearranged components and styles

This commit is contained in:
Patrick Alvin Alcala 2025-09-15 09:42:38 +08:00
parent 797ecba7b4
commit 16bb1e3e56
34 changed files with 36 additions and 38 deletions

View file

@ -1,9 +1,9 @@
import './Background.sass'
import './styles/Background.sass'
import { Show, createSignal } from 'solid-js'
import fs from 'fs'
import webpPath from '../../images/background.webp'
import avifPath from '../../images/background.avif'
import noBackground from '../../images/no-background.webp'
import webpPath from './images/background.webp'
import avifPath from './images/background.avif'
import noBackground from './images/no-background.webp'
interface Props {
image?: boolean

View file

@ -1,6 +1,5 @@
import type { ImageMetadata } from 'astro'
import './Box.sass'
import { Show, type JSXElement, createMemo } from 'solid-js'
import './styles/Box.sass'
import { type JSXElement, createMemo } from 'solid-js'
interface Props {
thickness: number

View file

@ -1,4 +1,4 @@
import './Button.sass'
import './styles/Button.sass'
import { Show, Switch, Match } from 'solid-js'
interface Props {

View file

@ -1,5 +1,5 @@
import './styles/Column.sass'
import type { JSXElement } from 'solid-js'
import './Column.sass'
interface Props {
children: JSXElement

View file

@ -1,4 +1,4 @@
import './Footer.sass'
import './styles/Footer.sass'
import type { JSXElement } from 'solid-js'
interface Props {

View file

@ -1,4 +1,4 @@
import './Form.sass'
import './styles/Form.sass'
import type { JSXElement } from 'solid-js'
interface Props {

View file

@ -1,7 +1,7 @@
import './HTML.sass'
import './styles/HTML.sass'
import { type JSXElement, Show } from 'solid-js'
import background1 from '../../images/background.avif'
import background2 from '../../images/background.webp'
import background1 from './images/background.avif'
import background2 from './images/background.webp'
interface Props {
title: string

View file

@ -1,4 +1,4 @@
import './Input.sass'
import './styles/Input.sass'
import { createSignal } from 'solid-js'
interface Props {

View file

@ -1,4 +1,4 @@
import './Link.sass'
import './styles/Link.sass'
interface Props {
to: string

View file

@ -1,5 +1,5 @@
import webpPath from '../../images/logo.webp'
import avifPath from '../../images/logo.avif'
import webpPath from './images/logo.webp'
import avifPath from './images/logo.avif'
interface Props {
size?: number

View file

@ -1,6 +1,5 @@
import './Navbar.sass'
import { Show } from 'solid-js'
import Row from '../Row/Row'
import './styles/Navbar.sass'
import Row from './Row'
interface Props {
transparent?: boolean

View file

@ -1,4 +1,4 @@
import './Page.sass'
import './styles/Page.sass'
import { Show } from 'solid-js'
interface Props {

View file

@ -1,4 +1,4 @@
import './Row.sass'
import './styles/Row.sass'
import { Show, type JSXElement } from 'solid-js'
interface Props {