diff --git a/.astro/content-assets.mjs b/.astro/content-assets.mjs deleted file mode 100644 index 2b8b823..0000000 --- a/.astro/content-assets.mjs +++ /dev/null @@ -1 +0,0 @@ -export default new Map(); \ No newline at end of file diff --git a/.astro/content-modules.mjs b/.astro/content-modules.mjs deleted file mode 100644 index 2b8b823..0000000 --- a/.astro/content-modules.mjs +++ /dev/null @@ -1 +0,0 @@ -export default new Map(); \ No newline at end of file diff --git a/.astro/content.d.ts b/.astro/content.d.ts deleted file mode 100644 index c0082cc..0000000 --- a/.astro/content.d.ts +++ /dev/null @@ -1,199 +0,0 @@ -declare module 'astro:content' { - export interface RenderResult { - Content: import('astro/runtime/server/index.js').AstroComponentFactory; - headings: import('astro').MarkdownHeading[]; - remarkPluginFrontmatter: Record; - } - interface Render { - '.md': Promise; - } - - export interface RenderedContent { - html: string; - metadata?: { - imagePaths: Array; - [key: string]: unknown; - }; - } -} - -declare module 'astro:content' { - type Flatten = T extends { [K: string]: infer U } ? U : never; - - export type CollectionKey = keyof AnyEntryMap; - export type CollectionEntry = Flatten; - - export type ContentCollectionKey = keyof ContentEntryMap; - export type DataCollectionKey = keyof DataEntryMap; - - type AllValuesOf = T extends any ? T[keyof T] : never; - type ValidContentEntrySlug = AllValuesOf< - ContentEntryMap[C] - >['slug']; - - export type ReferenceDataEntry< - C extends CollectionKey, - E extends keyof DataEntryMap[C] = string, - > = { - collection: C; - id: E; - }; - export type ReferenceContentEntry< - C extends keyof ContentEntryMap, - E extends ValidContentEntrySlug | (string & {}) = string, - > = { - collection: C; - slug: E; - }; - export type ReferenceLiveEntry = { - collection: C; - id: string; - }; - - /** @deprecated Use `getEntry` instead. */ - export function getEntryBySlug< - C extends keyof ContentEntryMap, - E extends ValidContentEntrySlug | (string & {}), - >( - collection: C, - // Note that this has to accept a regular string too, for SSR - entrySlug: E, - ): E extends ValidContentEntrySlug - ? Promise> - : Promise | undefined>; - - /** @deprecated Use `getEntry` instead. */ - export function getDataEntryById( - collection: C, - entryId: E, - ): Promise>; - - export function getCollection>( - collection: C, - filter?: (entry: CollectionEntry) => entry is E, - ): Promise; - export function getCollection( - collection: C, - filter?: (entry: CollectionEntry) => unknown, - ): Promise[]>; - - export function getLiveCollection( - collection: C, - filter?: LiveLoaderCollectionFilterType, - ): Promise< - import('astro').LiveDataCollectionResult, LiveLoaderErrorType> - >; - - export function getEntry< - C extends keyof ContentEntryMap, - E extends ValidContentEntrySlug | (string & {}), - >( - entry: ReferenceContentEntry, - ): E extends ValidContentEntrySlug - ? Promise> - : Promise | undefined>; - export function getEntry< - C extends keyof DataEntryMap, - E extends keyof DataEntryMap[C] | (string & {}), - >( - entry: ReferenceDataEntry, - ): E extends keyof DataEntryMap[C] - ? Promise - : Promise | undefined>; - export function getEntry< - C extends keyof ContentEntryMap, - E extends ValidContentEntrySlug | (string & {}), - >( - collection: C, - slug: E, - ): E extends ValidContentEntrySlug - ? Promise> - : Promise | undefined>; - export function getEntry< - C extends keyof DataEntryMap, - E extends keyof DataEntryMap[C] | (string & {}), - >( - collection: C, - id: E, - ): E extends keyof DataEntryMap[C] - ? string extends keyof DataEntryMap[C] - ? Promise | undefined - : Promise - : Promise | undefined>; - export function getLiveEntry( - collection: C, - filter: string | LiveLoaderEntryFilterType, - ): Promise, LiveLoaderErrorType>>; - - /** Resolve an array of entry references from the same collection */ - export function getEntries( - entries: ReferenceContentEntry>[], - ): Promise[]>; - export function getEntries( - entries: ReferenceDataEntry[], - ): Promise[]>; - - export function render( - entry: AnyEntryMap[C][string], - ): Promise; - - export function reference( - collection: C, - ): import('astro/zod').ZodEffects< - import('astro/zod').ZodString, - C extends keyof ContentEntryMap - ? ReferenceContentEntry> - : ReferenceDataEntry - >; - // Allow generic `string` to avoid excessive type errors in the config - // if `dev` is not running to update as you edit. - // Invalid collection names will be caught at build time. - export function reference( - collection: C, - ): import('astro/zod').ZodEffects; - - type ReturnTypeOrOriginal = T extends (...args: any[]) => infer R ? R : T; - type InferEntrySchema = import('astro/zod').infer< - ReturnTypeOrOriginal['schema']> - >; - - type ContentEntryMap = { - - }; - - type DataEntryMap = { - - }; - - type AnyEntryMap = ContentEntryMap & DataEntryMap; - - type ExtractLoaderTypes = T extends import('astro/loaders').LiveLoader< - infer TData, - infer TEntryFilter, - infer TCollectionFilter, - infer TError - > - ? { data: TData; entryFilter: TEntryFilter; collectionFilter: TCollectionFilter; error: TError } - : { data: never; entryFilter: never; collectionFilter: never; error: never }; - type ExtractDataType = ExtractLoaderTypes['data']; - type ExtractEntryFilterType = ExtractLoaderTypes['entryFilter']; - type ExtractCollectionFilterType = ExtractLoaderTypes['collectionFilter']; - type ExtractErrorType = ExtractLoaderTypes['error']; - - type LiveLoaderDataType = - LiveContentConfig['collections'][C]['schema'] extends undefined - ? ExtractDataType - : import('astro/zod').infer< - Exclude - >; - type LiveLoaderEntryFilterType = - ExtractEntryFilterType; - type LiveLoaderCollectionFilterType = - ExtractCollectionFilterType; - type LiveLoaderErrorType = ExtractErrorType< - LiveContentConfig['collections'][C]['loader'] - >; - - export type ContentConfig = typeof import("../src/content.config.mjs"); - export type LiveContentConfig = never; -} diff --git a/.astro/data-store.json b/.astro/data-store.json deleted file mode 100644 index 888bd1b..0000000 --- a/.astro/data-store.json +++ /dev/null @@ -1 +0,0 @@ -[["Map",1,2],"meta::meta",["Map",3,4,5,6],"astro-version","5.13.8","astro-config-digest","{\"root\":{},\"srcDir\":{},\"publicDir\":{},\"outDir\":{},\"cacheDir\":{},\"site\":\"http://localhost:4321\",\"compressHTML\":true,\"base\":\"/\",\"trailingSlash\":\"ignore\",\"output\":\"static\",\"scopedStyleStrategy\":\"attribute\",\"build\":{\"format\":\"directory\",\"client\":{},\"server\":{},\"assets\":\"_fwt\",\"serverEntry\":\"entry.mjs\",\"redirects\":true,\"inlineStylesheets\":\"never\",\"concurrency\":1},\"server\":{\"open\":false,\"host\":false,\"port\":4321,\"streaming\":true,\"allowedHosts\":[]},\"redirects\":{},\"prefetch\":true,\"image\":{\"endpoint\":{\"route\":\"/_image\"},\"service\":{\"entrypoint\":\"astro/assets/services/sharp\",\"config\":{}},\"domains\":[],\"remotePatterns\":[],\"responsiveStyles\":false},\"devToolbar\":{\"enabled\":true},\"markdown\":{\"syntaxHighlight\":{\"type\":\"shiki\",\"excludeLangs\":[\"math\"]},\"shikiConfig\":{\"langs\":[],\"langAlias\":{},\"theme\":\"github-dark\",\"themes\":{},\"wrap\":false,\"transformers\":[]},\"remarkPlugins\":[],\"rehypePlugins\":[],\"remarkRehype\":{},\"gfm\":true,\"smartypants\":true},\"security\":{\"checkOrigin\":true},\"env\":{\"schema\":{},\"validateSecrets\":false},\"experimental\":{\"clientPrerender\":false,\"contentIntellisense\":false,\"headingIdCompat\":false,\"preserveScriptOrder\":false,\"liveContentCollections\":false,\"csp\":false,\"staticImportMetaEnv\":false,\"chromeDevtoolsWorkspace\":false},\"legacy\":{\"collections\":false}}"] \ No newline at end of file diff --git a/.astro/settings.json b/.astro/settings.json deleted file mode 100644 index a787bf4..0000000 --- a/.astro/settings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "_variables": { - "lastUpdateCheck": 1758157364090 - } -} \ No newline at end of file diff --git a/.astro/types.d.ts b/.astro/types.d.ts deleted file mode 100644 index 03d7cc4..0000000 --- a/.astro/types.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -/// -/// \ No newline at end of file diff --git a/fwt/Optimizers/OptimizeBackground.tsx b/fwt/Optimizers/OptimizeBackground.tsx deleted file mode 100644 index 1c27caf..0000000 --- a/fwt/Optimizers/OptimizeBackground.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import sharp from 'sharp' - -const convertBackground = async () => { - const inputSrc = 'src/assets/images/background.png' - const webpOutput = 'fwt/images/background.webp' - const avifOutput = 'fwt/images/background.avif' - - const avifBuffer = await sharp(inputSrc).avif({ quality: 60 }).resize(1920).toBuffer() - await sharp(avifBuffer).toFile(avifOutput) - - const webpBuffer = await sharp(inputSrc).webp({ quality: 75 }).resize(1920).toBuffer() - await sharp(webpBuffer).toFile(webpOutput) -} - -export default () => { - convertBackground() -} diff --git a/fwt/Optimizers/OptimizeImage.tsx b/fwt/Optimizers/OptimizeImage.tsx deleted file mode 100644 index 00afd77..0000000 --- a/fwt/Optimizers/OptimizeImage.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import sharp from 'sharp' - -interface Props { - src: string - size?: number -} - -const convertImage = async (props: Props) => { - const avifOutputPath = `fwt/images/${props.src.split('.').slice(0, -1).join('.')}.avif` - const webpOutputPath = `fwt/images/${props.src.split('.').slice(0, -1).join('.')}.webp` - - const avifBuffer = await sharp(`src/assets/images/${props.src}`).avif({ quality: 60 }).resize(props.size).toBuffer() - await sharp(avifBuffer).toFile(avifOutputPath) - - const webpBuffer = await sharp(`src/assets/images/${props.src}`).webp({ quality: 75 }).resize(props.size).toBuffer() - await sharp(webpBuffer).toFile(webpOutputPath) -} - -export default (props: Props) => { - convertImage(props) -} diff --git a/fwt/Optimizers/OptimizeLogo.tsx b/fwt/Optimizers/OptimizeLogo.tsx deleted file mode 100644 index f948031..0000000 --- a/fwt/Optimizers/OptimizeLogo.tsx +++ /dev/null @@ -1,34 +0,0 @@ -import sharp from 'sharp' - -interface Props { - size?: number - favicon?: boolean -} - -const convertLogo = async (props: Props) => { - const inputSrc = 'src/assets/images/logo.png' - const webpImage = 'fwt/images/logo.webp' - const avifImage = 'fwt/images/logo.avif' - - const avifBuffer = await sharp(inputSrc).avif({ quality: 60 }).resize(props.size).toBuffer() - await sharp(avifBuffer).toFile(avifImage) - - const webpBuffer = await sharp(inputSrc).webp({ quality: 75 }).resize(props.size).toBuffer() - await sharp(webpBuffer).toFile(webpImage) -} - -const generateFavicon = async (props: Props) => { - const inputSrc = 'src/assets/images/logo.png' - const favicon = 'public/favicon.png' - - const faviconBuffer = await sharp(inputSrc).png({ quality: 90 }).resize(50).toBuffer() - await sharp(faviconBuffer).toFile(favicon) -} - -export default (props: Props) => { - convertLogo(props) - - if (props.favicon) { - generateFavicon(props) - } -} diff --git a/fwt/components/Background.tsx b/fwt/components/Background.tsx deleted file mode 100644 index e10af59..0000000 --- a/fwt/components/Background.tsx +++ /dev/null @@ -1,50 +0,0 @@ -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' - -interface Props { - image?: boolean - color?: string -} - -let [imageLoaded, setImageLoaded] = createSignal(false) - -const checkBackground = () => { - if (!fs.existsSync(avifPath.src) && !fs.existsSync(webpPath.src)) { - setImageLoaded(true) - } else { - setImageLoaded(false) - } -} - -export default (props: Props) => { - checkBackground() - - return ( - <> - - - - - - - An image background - - - - - - An alternative background if found no image background - - - - - -
- - - ) -} diff --git a/fwt/components/Box.tsx b/fwt/components/Box.tsx deleted file mode 100644 index d27815f..0000000 --- a/fwt/components/Box.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import '../styles/Box.sass' -import { type JSXElement, createMemo } from 'solid-js' - -interface Props { - thickness: number - color?: string - children: JSXElement - curved?: boolean -} - -export default (props: Props) => { - const boxClass = createMemo(() => (props.curved ? 'curvedbox' : 'box')) - - return ( -
- {props.children} -
- ) -} diff --git a/fwt/components/Button.tsx b/fwt/components/Button.tsx deleted file mode 100644 index 0ac4e8c..0000000 --- a/fwt/components/Button.tsx +++ /dev/null @@ -1,83 +0,0 @@ -import '../styles/Button.sass' -import { Show, Switch, Match } from 'solid-js' - -interface Props { - label?: string - to?: string - onClick?: () => void - edges?: 'curved' | 'rounded' | 'flat' - design?: 'bu-primary' | 'bu-link' | 'bu-info' | 'bu-success' | 'bu-warning' | 'bu-danger' | 'bu-dark' | 'bu-light' | 'bu-text' | 'bu-ghost' | 'bo-primary' | 'bo-secondary' | 'bo-success' | 'bo-danger' | 'bo-warning' | 'bo-info' | 'bo-light' | 'bo-dark' | 'bo-link' - submit?: boolean - newtab?: boolean -} - -const getBorderRadius = (edge: Props['edges']) => { - switch (edge) { - case 'curved': - return 'border-radius: 6px' - case 'rounded': - return 'border-radius: 32px' - case 'flat': - return 'border-radius: 0' - default: - return 'border-radius: 0' - } -} - -export default (props: Props) => { - const borderRadius = getBorderRadius(props.edges) - - return ( - <> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ) -} diff --git a/fwt/components/Column.tsx b/fwt/components/Column.tsx deleted file mode 100644 index e683a7c..0000000 --- a/fwt/components/Column.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import '../styles/Column.sass' -import type { JSXElement } from 'solid-js' - -interface Props { - children: JSXElement - content?: 'top' | 'center' | 'right' | 'split' | 'spaced' - gap?: number -} - -export default (props: Props) => { - return ( - <> -
- {props.children} -
- - ) -} diff --git a/fwt/components/Copyright.tsx b/fwt/components/Copyright.tsx deleted file mode 100644 index b8338d7..0000000 --- a/fwt/components/Copyright.tsx +++ /dev/null @@ -1,14 +0,0 @@ -interface Props { - year: string - name: string -} - -export default (props: Props) => { - return ( - <> - - Copyright © {props.year} {props.name} All Rights Reserved. - - - ) -} diff --git a/fwt/components/Display.tsx b/fwt/components/Display.tsx deleted file mode 100644 index 3f78103..0000000 --- a/fwt/components/Display.tsx +++ /dev/null @@ -1,41 +0,0 @@ -import '../styles/Viewport.sass' -import { type JSXElement, Switch, Match } from 'solid-js' - -interface Props { - children: JSXElement - desktop?: boolean - tablet?: boolean - mobile?: boolean -} - -export default (props: Props) => { - return ( - <> - - -
{props.children}
-
- - -
{props.children}
-
- - -
{props.children}
-
- - -
{props.children}
-
- - -
{props.children}
-
- - -
{props.children}
-
-
- - ) -} diff --git a/fwt/components/Footer.tsx b/fwt/components/Footer.tsx deleted file mode 100644 index 0f00944..0000000 --- a/fwt/components/Footer.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import '../styles/Footer.sass' -import type { JSXElement } from 'solid-js' - -interface Props { - children: JSXElement -} - -export default (props: Props) => { - return ( - <> -
- {props.children} -
- - ) -} diff --git a/fwt/components/Form.tsx b/fwt/components/Form.tsx deleted file mode 100644 index 28c00a9..0000000 --- a/fwt/components/Form.tsx +++ /dev/null @@ -1,16 +0,0 @@ -import '../styles/Form.sass' -import type { JSXElement } from 'solid-js' - -interface Props { - children: JSXElement -} - -export default (props: Props) => { - return ( - <> -
- {props.children} -
- - ) -} diff --git a/fwt/components/HTML.tsx b/fwt/components/HTML.tsx deleted file mode 100644 index dda61e9..0000000 --- a/fwt/components/HTML.tsx +++ /dev/null @@ -1,46 +0,0 @@ -import '../styles/HTML.sass' -import { type JSXElement, Show } from 'solid-js' -import background1 from '../images/background.avif' -import background2 from '../images/background.webp' - -interface Props { - title: string - name: string - description: string - children: JSXElement - font?: 'roboto' | 'inter' | 'montserrat' | 'open-sans' | 'public-sans' - preloadBackground?: boolean - author: string -} - -export default (props: Props) => { - return ( - <> - - - - - - - - - - - - - - - - - - - - - {props.title} - - - {props.children} - - - ) -} diff --git a/fwt/components/Image.tsx b/fwt/components/Image.tsx deleted file mode 100644 index d885641..0000000 --- a/fwt/components/Image.tsx +++ /dev/null @@ -1,19 +0,0 @@ -interface Props { - avif: string - webp: string - size?: number - alt?: string - radius?: number -} - -export default (props: Props) => { - return ( - <> - - - - {props.alt} - - - ) -} diff --git a/fwt/components/Input.tsx b/fwt/components/Input.tsx deleted file mode 100644 index 2ff9a6f..0000000 --- a/fwt/components/Input.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import '../styles/Input.sass' -import { createSignal } from 'solid-js' - -interface Props { - placeholder?: string - value?: string - onChange?: (value: string) => void -} - -export default (props: Props) => { - const [inputValue, setInputValue] = createSignal(props.value || '') - - const handleChange = (event: Event) => { - const target = event.target as HTMLInputElement - const newValue = target.value - setInputValue(newValue) - if (props.onChange) { - props.onChange(newValue) - } - } - - return ( - <> - - - ) -} diff --git a/fwt/components/Link.tsx b/fwt/components/Link.tsx deleted file mode 100644 index 75b0b4f..0000000 --- a/fwt/components/Link.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import '../styles/Link.sass' - -interface Props { - to: string - children?: any - newtab?: boolean -} - -export default (props: Props) => { - return ( - <> - - {props.children} - - - ) -} diff --git a/fwt/components/Logo.tsx b/fwt/components/Logo.tsx deleted file mode 100644 index ba1c8d6..0000000 --- a/fwt/components/Logo.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import webpPath from '../images/logo.webp' -import avifPath from '../images/logo.avif' - -interface Props { - size?: number - alt?: string -} - -export default (props: Props) => { - return ( - <> - - - - logo - - - ) -} diff --git a/fwt/components/Modal.tsx b/fwt/components/Modal.tsx deleted file mode 100644 index ada5eb5..0000000 --- a/fwt/components/Modal.tsx +++ /dev/null @@ -1,72 +0,0 @@ -// - -import '../styles/Modal.sass' -import { type JSXElement, Show, createSignal } from 'solid-js' -import gsap from 'gsap' -import Button from './Button' - -interface Props { - children: JSXElement - background?: string - color?: string - border?: string -} - -export default (props: Props) => { - let dialogRef!: HTMLDivElement - - const [open, setOpen] = createSignal(false) - - const openHandler = () => { - gsap.to(dialogRef, { - duration: 0, - display: 'flex', - ease: 'power2.out', - }) - } - - const closeHandler = () => { - gsap.to(dialogRef, { - duration: 0, - display: 'none', - ease: 'power2.out', - }) - } - - return ( - <> - - - ) -} diff --git a/fwt/components/ModalButton.tsx b/fwt/components/ModalButton.tsx deleted file mode 100644 index 00ed1e8..0000000 --- a/fwt/components/ModalButton.tsx +++ /dev/null @@ -1,44 +0,0 @@ -import '../styles/Button.sass' -import { Show, Switch, Match } from 'solid-js' - -interface Props { - label?: string - onClick?: () => void - edges?: 'curved' | 'rounded' | 'flat' - design?: 'bu-primary' | 'bu-link' | 'bu-info' | 'bu-success' | 'bu-warning' | 'bu-danger' | 'bu-dark' | 'bu-light' | 'bu-text' | 'bu-ghost' | 'bo-primary' | 'bo-secondary' | 'bo-success' | 'bo-danger' | 'bo-warning' | 'bo-info' | 'bo-light' | 'bo-dark' | 'bo-link' -} - -const getBorderRadius = (edge: Props['edges']) => { - switch (edge) { - case 'curved': - return 'border-radius: 6px' - case 'rounded': - return 'border-radius: 32px' - case 'flat': - return 'border-radius: 0' - default: - return 'border-radius: 0' - } -} - -export default (props: Props) => { - const borderRadius = getBorderRadius(props.edges) - - return ( - <> - - - - - - - - - - - ) -} diff --git a/fwt/components/Navbar.tsx b/fwt/components/Navbar.tsx deleted file mode 100644 index f87864b..0000000 --- a/fwt/components/Navbar.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import '../styles/Navbar.sass' -import Row from './Row' - -interface Props { - transparent?: boolean - children: HTMLElement -} - -export default (props: Props) => { - return ( - <> - - - ) -} diff --git a/fwt/components/Padding.tsx b/fwt/components/Padding.tsx deleted file mode 100644 index b18c8f6..0000000 --- a/fwt/components/Padding.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import { type JSXElement } from 'solid-js' - -interface Props { - left: number - right: number - top?: number - bottom?: number - children: JSXElement -} - -export default (props: Props) => { - return
{props.children}
-} diff --git a/fwt/components/Page.tsx b/fwt/components/Page.tsx deleted file mode 100644 index de14c7d..0000000 --- a/fwt/components/Page.tsx +++ /dev/null @@ -1,20 +0,0 @@ -import '../styles/Page.sass' -import { Show } from 'solid-js' - -interface Props { - children?: any - alignment?: 'row' | 'column' -} - -export default (props: Props) => { - return ( - <> - -
{props.children}
-
- -
{props.children}
-
- - ) -} diff --git a/fwt/components/Row.tsx b/fwt/components/Row.tsx deleted file mode 100644 index d560e8b..0000000 --- a/fwt/components/Row.tsx +++ /dev/null @@ -1,24 +0,0 @@ -import '../styles/Row.sass' -import { Show, type JSXElement } from 'solid-js' - -interface Props { - children: JSXElement - content?: 'left' | 'center' | 'right' | 'split' | 'spaced' | 'even' - gap?: number -} - -export default (props: Props) => { - return ( - <> - -
- {props.children} -
-
- - -
{props.children}
-
- - ) -} diff --git a/fwt/images/background.avif b/fwt/images/background.avif deleted file mode 100644 index c3a3fad..0000000 Binary files a/fwt/images/background.avif and /dev/null differ diff --git a/fwt/images/background.webp b/fwt/images/background.webp deleted file mode 100644 index da9ba89..0000000 Binary files a/fwt/images/background.webp and /dev/null differ diff --git a/fwt/images/logo.avif b/fwt/images/logo.avif deleted file mode 100644 index 019df1d..0000000 Binary files a/fwt/images/logo.avif and /dev/null differ diff --git a/fwt/images/logo.webp b/fwt/images/logo.webp deleted file mode 100644 index cc106d8..0000000 Binary files a/fwt/images/logo.webp and /dev/null differ diff --git a/fwt/images/no-background.webp b/fwt/images/no-background.webp deleted file mode 100644 index 87c7f4c..0000000 Binary files a/fwt/images/no-background.webp and /dev/null differ diff --git a/fwt/images/pat-alcala.avif b/fwt/images/pat-alcala.avif deleted file mode 100644 index 6e280e0..0000000 Binary files a/fwt/images/pat-alcala.avif and /dev/null differ diff --git a/fwt/images/pat-alcala.webp b/fwt/images/pat-alcala.webp deleted file mode 100644 index 7ee78c6..0000000 Binary files a/fwt/images/pat-alcala.webp and /dev/null differ diff --git a/fwt/images/sample.avif b/fwt/images/sample.avif deleted file mode 100644 index 78c62db..0000000 Binary files a/fwt/images/sample.avif and /dev/null differ diff --git a/fwt/images/sample.webp b/fwt/images/sample.webp deleted file mode 100644 index 0cb2279..0000000 Binary files a/fwt/images/sample.webp and /dev/null differ diff --git a/fwt/index.ts b/fwt/index.ts deleted file mode 100644 index 011cbf1..0000000 --- a/fwt/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -export { default as Background } from './components/Background' -export { default as Box } from './components/Box' -export { default as Button } from './components/Button' -export { default as Column } from './components/Column' -export { default as Copyright } from './components/Copyright' -export { default as Footer } from './components/Footer' -export { default as Form } from './components/Form' -export { default as HTML } from './components/HTML' -export { default as Image } from './components/Image' -export { default as Link } from './components/Link' -export { default as Logo } from './components/Logo' -export { default as Navbar } from './components/Navbar' -export { default as Page } from './components/Page' -export { default as Row } from './components/Row' -export { default as Display } from './components/Display' -export { default as Padding } from './components/Padding' -export { default as Modal } from './components/Modal' -export { default as ModalButton } from './components/ModalButton' -export { default as Input } from './components/Input' - -export { default as OptimizeBackground } from './Optimizers/OptimizeBackground' -export { default as OptimizeImage } from './Optimizers/OptimizeImage' -export { default as OptimizeLogo } from './Optimizers/OptimizeLogo' diff --git a/fwt/styles/Background.sass b/fwt/styles/Background.sass deleted file mode 100644 index 1e0b5bc..0000000 --- a/fwt/styles/Background.sass +++ /dev/null @@ -1 +0,0 @@ -@use '/src/styles/classes.sass' diff --git a/fwt/styles/Box.sass b/fwt/styles/Box.sass deleted file mode 100644 index 17165bb..0000000 --- a/fwt/styles/Box.sass +++ /dev/null @@ -1,6 +0,0 @@ -.box - padding: 1rem - -.curvedbox - @extend .box - border-radius: 8px diff --git a/fwt/styles/Button.sass b/fwt/styles/Button.sass deleted file mode 100644 index 329ba1d..0000000 --- a/fwt/styles/Button.sass +++ /dev/null @@ -1,223 +0,0 @@ -@use '/src/styles/variables.sass' as vars -@use '/src/styles/fonts.sass' as fonts -@use 'sass:color' - -$bulmaPrimary: rgb(0, 235, 199) -$bulmaPrimaryText: rgb(0, 31, 26) -$bulmaLink: rgb(92, 111, 255) -$bulmaLinkText: rgb(245, 246, 255) -$bulmaInfo: rgb(128, 217, 255) -$bulmaInfoText: rgb(0, 36, 51) -$bulmaSuccess: rgb(91, 205, 154) -$bulmaSuccessText: rgb(10, 31, 21) -$bulmaWarning: rgb(255, 191, 41) -$bulmaWarningText: rgb(41, 29, 0) -$bulmaDanger: rgb(255, 128, 153) -$bulmaDangerText: rgb(26, 0, 5) -$bulmaLight: rgb(255, 255, 255) -$bulmaLightText: rgb(46, 51, 61) -$bulmaDark: rgb(57, 63, 76) -$bulmaDarkText: rgb(243, 244, 246) -$bulmaText: rgb(31, 34, 41) -$bulmaTextText: rgb(235, 236, 240) -$bulmaGhost: rgba(0,0,0,0) -$bulmaGhostText: rgb(66, 88, 255) - -$bootstrapTextLight: rgb(255, 255, 253) -$bootstrapTextDark: rgb(0, 0, 2) -$bootstrapTextLink: rgb(139, 185, 254) -$bootstrapPrimary: rgb(13, 110, 253) -$bootstrapSecondary: rgb(92, 99, 106) -$bootstrapSuccess: rgb(21, 115, 71) -$bootstrapDanger: rgb(187, 45, 59) -$bootstrapWarning: rgb(255, 202, 44) -$bootstrapInfo: rgb(49, 210, 242) -$bootstrapLight: rgb(211, 212, 213) -$bootstrapDark: rgb(33, 37, 41) - -.button - background-color: vars.$primaryColor - border: none - color: white - padding: 0.5rem 1.25rem - text-align: center - text-decoration: none - display: inline-block - font-size: 1rem - font-weight: 500 - cursor: pointer - transition: all 0.2s ease-out - - &:hover - background-color: color.adjust(vars.$primaryColor, $blackness: 20%) - - &:active - transform: scale(0.95) - -.bu-primary - @extend .button - font-family: fonts.$Inter - background-color: $bulmaPrimary - color: $bulmaPrimaryText - border: none - font-size: 1rem - border-radius: 0.375rem - font-weight: 500 - padding: 0.5rem 1.25rem - height: 2.5rem - - &:hover - background-color: color.adjust($bulmaPrimary, $lightness: 10%) - -.bu-link - @extend .bu-primary - background-color: $bulmaLink - color: $bulmaLinkText - - &:hover - background-color: color.adjust($bulmaLink, $lightness: 5%) - -.bu-info - @extend .bu-primary - background-color: $bulmaInfo - color: $bulmaInfoText - - &:hover - background-color: color.adjust($bulmaInfo, $lightness: 5%) - -.bu-success - @extend .bu-primary - background-color: $bulmaSuccess - color: $bulmaSuccessText - - &:hover - background-color: color.adjust($bulmaSuccess, $lightness: 5%) - -.bu-warning - @extend .bu-primary - background-color: $bulmaWarning - color: $bulmaWarningText - - &:hover - background-color: color.adjust($bulmaWarning, $lightness: 5%) - -.bu-danger - @extend .bu-primary - background-color: $bulmaDanger - color: $bulmaDangerText - - &:hover - background-color: color.adjust($bulmaDanger, $lightness: 5%) - -.bu-light - @extend .bu-primary - background-color: $bulmaLight - color: $bulmaLightText - - &:hover - background-color: color.adjust($bulmaLight, $lightness: 5%) - -.bu-dark - @extend .bu-primary - background-color: $bulmaDark - color: $bulmaDarkText - - &:hover - background-color: color.adjust($bulmaDark, $lightness: 5%) - -.bu-text - @extend .bu-primary - background-color: rgba(0,0,0,0) - color: $bulmaTextText - text-decoration: underline - - &:hover - background-color: hsl(221,14%,14%) - -.bu-ghost - @extend .bu-primary - background-color: $bulmaGhost - color: $bulmaGhostText - - &:hover - background-color: transparent - text-decoration: underline - -.bo-primary - @extend .button - font-family: 'Segoe UI', fonts.$Roboto - background-color: $bootstrapPrimary - color: $bootstrapTextLight - border: none - font-size: 1rem - border-radius: 0.375rem - font-weight: 400 - padding: 0.5rem 1.25rem - height: 2.5rem - margin: 0.25rem 0.125rem - - &:hover - background-color: color.adjust($bootstrapPrimary, $blackness: 10%) - -.bo-secondary - @extend .bo-primary - background-color: $bootstrapSecondary - - &:hover - background-color: color.adjust($bootstrapSecondary, $blackness: 10%) - -.bo-success - @extend .bo-primary - background-color: $bootstrapSuccess - - &:hover - background-color: color.adjust($bootstrapSuccess, $blackness: 10%) - -.bo-danger - @extend .bo-primary - background-color: $bootstrapDanger - - &:hover - background-color: color.adjust($bootstrapDanger, $blackness: 10%) - -.bo-warning - @extend .bo-primary - background-color: $bootstrapWarning - color: $bootstrapTextDark - - &:hover - background-color: color.adjust($bootstrapWarning, $lightness: 5%) - -.bo-info - @extend .bo-primary - background-color: $bootstrapInfo - color: $bootstrapTextDark - - &:hover - background-color: color.adjust($bootstrapInfo, $lightness: 5%) - -.bo-light - @extend .bo-primary - background-color: $bootstrapLight - color: $bootstrapTextDark - - &:hover - background-color: color.adjust($bootstrapLight, $blackness: 10%) - -.bo-dark - @extend .bo-primary - background-color: $bootstrapDark - // color: $bootstrapTextDark - - &:hover - background-color: color.adjust($bootstrapDark, $lightness: 10%) - -.bo-link - @extend .bo-primary - background-color: transparent - color: $bootstrapTextLink - text-decoration: underline - - &:hover - color: color.adjust($bootstrapTextLink, $lightness: 5%) - background-color: transparent diff --git a/fwt/styles/Column.sass b/fwt/styles/Column.sass deleted file mode 100644 index b26f108..0000000 --- a/fwt/styles/Column.sass +++ /dev/null @@ -1,39 +0,0 @@ -.column-top - display: flex - flex-direction: column - flex-wrap: wrap - justify-content: flex-start - align-items: center - align-content: center - -.column-center - display: flex - flex-direction: column - flex-wrap: wrap - justify-content: center - align-items: center - align-content: center - -.column-right - display: flex - flex-direction: column - flex-wrap: wrap - justify-content: flex-end - align-items: center - align-content: center - -.column-split - display: flex - flex-direction: column - flex-wrap: wrap - justify-content: space-between - align-items: center - align-content: center - -.column-spaced - display: flex - flex-direction: column - flex-wrap: wrap - justify-content: space-around - align-items: center - align-content: center diff --git a/fwt/styles/Footer.sass b/fwt/styles/Footer.sass deleted file mode 100644 index 0215b16..0000000 --- a/fwt/styles/Footer.sass +++ /dev/null @@ -1,13 +0,0 @@ -@use '/src/styles/breakpoint.sass' as view - -.footer - padding: 1rem 0 - margin: 0 2rem - position: fixed - bottom: 0 - width: 100% - opacity: 0.8 - font-size: 1rem - - @media only screen and (max-width: view.$tablet) - font-size: 0.75rem diff --git a/fwt/styles/Form.sass b/fwt/styles/Form.sass deleted file mode 100644 index e69de29..0000000 diff --git a/fwt/styles/HTML.sass b/fwt/styles/HTML.sass deleted file mode 100644 index 92e9d1c..0000000 --- a/fwt/styles/HTML.sass +++ /dev/null @@ -1,25 +0,0 @@ -@use '/src/styles/variables.sass' as vars -@use '/src/styles/fonts.sass' as fonts - -.body - color: vars.$textColor - -.inter - @extend .body - font-family: fonts.$Inter - -.roboto - @extend .body - font-family: fonts.$Roboto - -.montserrat - @extend .body - font-family: fonts.$Montserrat - -.open-sans - @extend .body - font-family: fonts.$OpenSans - -.public-sans - @extend .body - font-family: fonts.$PublicSans diff --git a/fwt/styles/Input.sass b/fwt/styles/Input.sass deleted file mode 100644 index 391937c..0000000 --- a/fwt/styles/Input.sass +++ /dev/null @@ -1,27 +0,0 @@ -.input - font-size: 1rem - padding: 0.5rem 1rem - width: 100% - border: 2px solid #ccc - border-radius: 4px - outline: none - transition: border-color 0.3s, box-shadow 0.3s - - &:focus - border-color: #3377AC - box-shadow: 0 0 5px rgba(51, 119, 168, 0.3) - - &::placeholder - color: #888 - font-style: italic - - &:disabled - background-color: #f0f0f0 - border-color: #ddd - - &--error - border-color: #ff4d4f - box-shadow: 0 0 5px rgba(255, 77, 79, 0.3) - - &:focus - border-color: #e81123 diff --git a/fwt/styles/Link.sass b/fwt/styles/Link.sass deleted file mode 100644 index efc3b4f..0000000 --- a/fwt/styles/Link.sass +++ /dev/null @@ -1,3 +0,0 @@ -a - text-decoration: none - color: inherit diff --git a/fwt/styles/Modal.sass b/fwt/styles/Modal.sass deleted file mode 100644 index 9f8368d..0000000 --- a/fwt/styles/Modal.sass +++ /dev/null @@ -1,20 +0,0 @@ -@use '/src/styles/variables.sass' as vars -@use 'sass:color' - -.modal - display: flex - justify-content: center - align-items: center - position: fixed - top: 0 - left: 0 - width: 100% - height: 100% - backdrop-filter: blur(20px) - background-color: rgba(color.adjust(vars.$background, $blackness: 5%), 0.6) - z-index: 999 - - &__content - border-radius: 8px - padding: 2rem - position: relative diff --git a/fwt/styles/Navbar.sass b/fwt/styles/Navbar.sass deleted file mode 100644 index edbda91..0000000 --- a/fwt/styles/Navbar.sass +++ /dev/null @@ -1,7 +0,0 @@ -.nav - position: fixed - top: 0 - width: 100% - padding: 1rem 0 - // margin: 5rem - diff --git a/fwt/styles/Page.sass b/fwt/styles/Page.sass deleted file mode 100644 index 4f6e85d..0000000 --- a/fwt/styles/Page.sass +++ /dev/null @@ -1,13 +0,0 @@ -.page - margin: 2rem - height: auto - min-height: 90vh - -.column - @extend .page - display: flex - flex-direction: column - -.row - @extend .column - flex-direction: row diff --git a/fwt/styles/Row.sass b/fwt/styles/Row.sass deleted file mode 100644 index 6162bbe..0000000 --- a/fwt/styles/Row.sass +++ /dev/null @@ -1,47 +0,0 @@ -.row-left - display: flex - flex-direction: row - flex-wrap: wrap - justify-content: flex-start - align-items: center - align-content: center - -.row-center - display: flex - flex-direction: row - flex-wrap: wrap - justify-content: center - align-items: center - align-content: center - -.row-right - display: flex - flex-direction: row - flex-wrap: wrap - justify-content: flex-end - align-items: center - align-content: center - -.row-split - display: flex - flex-direction: row - flex-wrap: wrap - justify-content: space-between - align-items: center - align-content: center - -.row-spaced - display: flex - flex-direction: row - flex-wrap: wrap - justify-content: space-around - align-items: center - align-content: center - -.row-even - display: flex - flex-direction: row - flex-wrap: wrap - justify-content: space-evenly - align-items: center - align-content: center diff --git a/fwt/styles/Viewport.sass b/fwt/styles/Viewport.sass deleted file mode 100644 index 6c4b1f0..0000000 --- a/fwt/styles/Viewport.sass +++ /dev/null @@ -1 +0,0 @@ -@use '/src/styles/breakpoint.sass'