This repository has been archived by the owner on May 31, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore(example-with-next): move to manual fs usage * chore(example-with-astro): move to manual fs usage * chore(plaiceholder): remove file path type * chore(@plaiceholder/tailwindcss): manual fs * chore(plaiceholder): clean-up unnecessary extraction * chore(plaiceholder): further consolidation * chore: delete 11ty + remix examples due to maintenance overhead * refactor(plaiceholder): remove blurhash support * refactor(plaiceholder): remove img in favour of metadata * feat: color * docs: update * docs: move to nextra * chore(example-with-next): use app directory * chore(example-with-astro): update to [email protected], use assets * chore: update sharp * chore(example-with-astro): use fileURLToPath * chore(example-with-astro): try URL * feat(@plaiceholder/tailwindcss): resolver * chore(example-with-next): remove src dir * refactor(@plaiceholder/tailwindcss): make esm only * refactor(@plaiceholder/next): make esm only * refactor(@plaiceholder/ui): make esm only * chore: pnpm@8, node@18 * chore(example-with-next): remove @plaiceholder/tailwindcss due to lack of esm config support * refactor(plaiceholder): make esm only * feat(plaiceholder): pixels * chore(packages): update deps * feat(plaiceholder): add autoOrient * refactor(plaiceholder): revert removeAlpha by default * docs: update usage * docs: update tailwind plugin documentation * docs: esm disclaimers * docs: migration guide * docs: expand migration guide * docs: sponsors * chore: create FUNDING.yml * chore(@plaiceholder/next): add peerDep * chore(plaiceholder): migrate types * chore(plaiceholder): make modulate nonnullable * chore: update readme
- Loading branch information
Showing
202 changed files
with
6,540 additions
and
17,140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
custom: https://joebell.co.uk/sponsors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
pnpm pre-commit | ||
pnpm precommit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
16.15.1 | ||
18.13.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import React from "react"; | ||
import { cx } from "class-variance-authority"; | ||
import styles from "./styles.module.css"; | ||
|
||
interface IntroHeaderProps { | ||
headline: string; | ||
tagline: string; | ||
} | ||
|
||
function IntroHeader({ headline, tagline }: IntroHeaderProps) { | ||
return ( | ||
<header className={cx("nx-mt-4", styles.container)}> | ||
<p | ||
className={cx( | ||
"nx-text-4xl nx-font-bold nx-tracking-tight nx-text-slate-900 dark:nx-text-slate-100", | ||
styles.headline | ||
)} | ||
> | ||
{headline} | ||
</p> | ||
<p className={styles.tagline}>{tagline}</p> | ||
</header> | ||
); | ||
} | ||
|
||
export default IntroHeader; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.container { | ||
margin-bottom: 2.5rem; | ||
} | ||
|
||
.container > * { | ||
display: block; | ||
margin: 0; | ||
} | ||
|
||
.container > * + * { | ||
margin-top: 1rem; | ||
} | ||
|
||
.headline { | ||
line-height: 2.5rem; | ||
max-width: 24ch; | ||
} | ||
|
||
.tagline { | ||
font-size: 1.2rem; | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
3dede8b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
example-with-astro – ./examples/astro
example-with-astro-plaiceholder.vercel.app
example-with-astro-git-main-plaiceholder.vercel.app
with-astro.plaiceholder.co
plaiceholder-xi.vercel.app
3dede8b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
example-with-next – ./examples/next
example-with-next-git-main-plaiceholder.vercel.app
example-with-next-plaiceholder.vercel.app
plaiceholder-with-next.vercel.app
with-next.plaiceholder.co
3dede8b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
docs – ./docs
plaiceholder.co
docs-plaiceholder.vercel.app
docs-git-main-plaiceholder.vercel.app
plaiceholder-docs.vercel.app
www.plaiceholder.co