Rearranged components and styles
This commit is contained in:
parent
797ecba7b4
commit
16bb1e3e56
34 changed files with 36 additions and 38 deletions
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import './Button.sass'
|
||||
import './styles/Button.sass'
|
||||
import { Show, Switch, Match } from 'solid-js'
|
||||
|
||||
interface Props {
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
import './styles/Column.sass'
|
||||
import type { JSXElement } from 'solid-js'
|
||||
import './Column.sass'
|
||||
|
||||
interface Props {
|
||||
children: JSXElement
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import './Footer.sass'
|
||||
import './styles/Footer.sass'
|
||||
import type { JSXElement } from 'solid-js'
|
||||
|
||||
interface Props {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import './Form.sass'
|
||||
import './styles/Form.sass'
|
||||
import type { JSXElement } from 'solid-js'
|
||||
|
||||
interface Props {
|
||||
|
|
@ -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
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import './Input.sass'
|
||||
import './styles/Input.sass'
|
||||
import { createSignal } from 'solid-js'
|
||||
|
||||
interface Props {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import './Link.sass'
|
||||
import './styles/Link.sass'
|
||||
|
||||
interface Props {
|
||||
to: string
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import './Page.sass'
|
||||
import './styles/Page.sass'
|
||||
import { Show } from 'solid-js'
|
||||
|
||||
interface Props {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import './Row.sass'
|
||||
import './styles/Row.sass'
|
||||
import { Show, type JSXElement } from 'solid-js'
|
||||
|
||||
interface Props {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import Input from '../../../fwt/components/Input/Input'
|
||||
import Input from '../../../fwt/Input'
|
||||
import { createSignal } from 'solid-js'
|
||||
|
||||
const [sample, setSample] = createSignal('')
|
||||
|
|
|
|||
|
|
@ -4,9 +4,9 @@ const { title } = Astro.props
|
|||
const websiteName = 'Template'
|
||||
const websiteDescription = 'This is just a template.'
|
||||
|
||||
import Background from '../../fwt/components/Background/Background'
|
||||
import Background from '../../fwt/Background'
|
||||
// import OptimizeBackground from '../../fwt/components/Optimizer/OptimizeBackground'
|
||||
import HTML from '../../fwt/components/HTML/HTML'
|
||||
import HTML from '../../fwt/HTML'
|
||||
---
|
||||
|
||||
<HTML title={title} name={websiteName} description={websiteDescription} font="inter">
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
---
|
||||
import Layout from '../layouts/Layout.astro'
|
||||
import Button from '../../fwt/components/Button/Button'
|
||||
import Logo from '../../fwt/components/Logo/Logo'
|
||||
import Button from '../../fwt/Button'
|
||||
import Logo from '../../fwt/Logo'
|
||||
// import OptimizeLogo from '../../fwt/components/Optimizer/OptimizeLogo'
|
||||
// import OptimizeImage from '../../fwt/components/Optimizer/OptimizeImage'
|
||||
import Link from '../../fwt/components/Link/Link'
|
||||
import Link from '../../fwt/Link'
|
||||
import Counter from '../components/Counter/Counter'
|
||||
import Page from '../../fwt/components/Page/Page'
|
||||
import Footer from '../../fwt/components/Footer/Footer'
|
||||
import Row from '../../fwt/components/Row/Row'
|
||||
import Image from '../../fwt/components/Image/Image'
|
||||
import Page from '../../fwt/Page'
|
||||
import Footer from '../../fwt/Footer'
|
||||
import Row from '../../fwt/Row'
|
||||
import Image from '../../fwt/Image'
|
||||
import PA1 from '../../fwt/images/pat-alcala.avif'
|
||||
import PA2 from '../../fwt/images/pat-alcala.webp'
|
||||
import Copyright from '../../fwt/components/Copyright/Copyright'
|
||||
import Copyright from '../../fwt/Copyright'
|
||||
|
||||
// const sample = import.meta.env.SAMPLE
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
---
|
||||
import Layout from '../layouts/Layout.astro'
|
||||
import Button from '../../fwt/components/Button/Button'
|
||||
import Image from '../../fwt/components/Image/Image'
|
||||
import Page from '../../fwt/components/Page/Page'
|
||||
import Button from '../../fwt/Button'
|
||||
import Image from '../../fwt/Image'
|
||||
import Page from '../../fwt/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 Row from '../../fwt/Row'
|
||||
// import Column from '../../fwt/components/Column/Column'
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue