Skip to content

Commit

Permalink
Update website
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Nov 6, 2023
1 parent b38cc68 commit 3272ad7
Show file tree
Hide file tree
Showing 782 changed files with 1,394 additions and 4,037 deletions.
3,168 changes: 262 additions & 2,906 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ packages:
- 'examples/*'
- 'website'
- 'shared'
- '../../shared'
- '../../'
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"experimentalDecorators": true,
"baseUrl": ".",
Expand Down
6 changes: 3 additions & 3 deletions website/app/[locale]/(root)/blog/_page.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import Article from 'websites-shared/components/Article';
import Article from 'websites/components/Article';
import DocHeader from '~/layouts/DocHeader';
import DocFooter from '~/layouts/DocFooter';
import { queryDictionary } from 'websites-shared/dictionaries';
import { queryDictionary } from 'websites/dictionaries';
// @ts-expect-error
import allBlogMetadata from './*/metadata.js'
import Image from 'next/image';
import { l } from 'to-line';
import dayjs from 'dayjs';
import Link from 'websites-shared/components/Link';
import Link from 'websites/components/Link';
import metadata from './metadata.js'
import { generate } from '~/utils/metadata'

Expand Down
2 changes: 1 addition & 1 deletion website/app/[locale]/(root)/blog/metadata.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Metadata } from 'websites-shared/types/Metadata'
import { Metadata } from 'websites/types/Metadata'

const metadata: Metadata = {
title: 'Master CSS 2.0',
Expand Down
2 changes: 1 addition & 1 deletion website/app/[locale]/(root)/blog/v2/metadata.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Metadata } from 'websites-shared/types/Metadata'
import { Metadata } from 'websites/types/Metadata'

const metadata: Metadata = {
title: 'Master CSS 2.0',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Props } from 'websites-shared/types/Props'
import { Props } from 'websites/types/Props'
import create from '~/og-image'
import metadata from './metadata'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import Demo from 'websites-shared/components/Demo'
import Code from 'websites-shared/components/Code'
import Demo from 'websites/components/Demo'
import Code from 'websites/components/Code'
import SyntaxTable from '~/components/SyntaxTable'
import syntaxes from '../syntaxes'
import line from 'to-line'
Expand Down
2 changes: 1 addition & 1 deletion website/app/[locale]/(root)/docs/accent-color/metadata.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Metadata } from 'websites-shared/types/Metadata'
import { Metadata } from 'websites/types/Metadata'

const metadata: Metadata = {
title: 'Accent Color',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Props } from 'websites-shared/types/Props'
import { Props } from 'websites/types/Props'
import create from '~/og-image'
import metadata from './metadata'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import Demo from 'websites-shared/components/Demo'
import Code from 'websites-shared/components/Code'
import Demo from 'websites/components/Demo'
import Code from 'websites/components/Code'
import SyntaxTable from '~/components/SyntaxTable'
import syntaxes from '../syntaxes'
import line from 'to-line'
Expand Down
2 changes: 1 addition & 1 deletion website/app/[locale]/(root)/docs/align-content/metadata.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Metadata } from 'websites-shared/types/Metadata'
import { Metadata } from 'websites/types/Metadata'

const metadata: Metadata = {
title: 'Align Content',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Props } from 'websites-shared/types/Props'
import { Props } from 'websites/types/Props'
import create from '~/og-image'
import metadata from './metadata'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import Demo from 'websites-shared/components/Demo'
import Code from 'websites-shared/components/Code'
import Demo from 'websites/components/Demo'
import Code from 'websites/components/Code'
import SyntaxTable from '~/components/SyntaxTable'
import syntaxes from '../syntaxes'
import line from 'to-line'
Expand Down
2 changes: 1 addition & 1 deletion website/app/[locale]/(root)/docs/align-items/metadata.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Metadata } from 'websites-shared/types/Metadata'
import { Metadata } from 'websites/types/Metadata'

const metadata: Metadata = {
title: 'Align Items',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Props } from 'websites-shared/types/Props'
import { Props } from 'websites/types/Props'
import create from '~/og-image'
import metadata from './metadata'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import Demo from 'websites-shared/components/Demo'
import Code from 'websites-shared/components/Code'
import Demo from 'websites/components/Demo'
import Code from 'websites/components/Code'
import SyntaxTable from '~/components/SyntaxTable'
import syntaxes from '../syntaxes'
import line from 'to-line'
Expand Down
2 changes: 1 addition & 1 deletion website/app/[locale]/(root)/docs/align-self/metadata.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Metadata } from 'websites-shared/types/Metadata'
import { Metadata } from 'websites/types/Metadata'

const metadata: Metadata = {
title: 'Align Self',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Props } from 'websites-shared/types/Props'
import { Props } from 'websites/types/Props'
import create from '~/og-image'
import metadata from './metadata'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import Demo from 'websites-shared/components/Demo'
import Code from 'websites-shared/components/Code'
import Demo from 'websites/components/Demo'
import Code from 'websites/components/Code'
import SyntaxTable from '~/components/SyntaxTable'
import syntaxes from '../syntaxes'
import line from 'to-line'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Metadata } from 'websites-shared/types/Metadata'
import { Metadata } from 'websites/types/Metadata'

const metadata: Metadata = {
title: 'Animation Delay',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Props } from 'websites-shared/types/Props'
import { Props } from 'websites/types/Props'
import create from '~/og-image'
import metadata from './metadata'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import Demo from 'websites-shared/components/Demo'
import DemoPanel from 'websites-shared/components/DemoPanel'
import Demo from 'websites/components/Demo'
import DemoPanel from 'websites/components/DemoPanel'
import Image from 'next/image'
import { l } from 'to-line'
import { IconRefresh, IconRotate, IconRotateClockwise } from '@tabler/icons-react'
import Code from 'websites-shared/components/Code'
import Code from 'websites/components/Code'

export default ({ className }: any) => {
const iconClassName = l(className, 'app-icon-primary stroke:.5 48x48 @rotate|1s|linear|infinite')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import Demo from 'websites-shared/components/Demo'
import Code from 'websites-shared/components/Code'
import Demo from 'websites/components/Demo'
import Code from 'websites/components/Code'
import SyntaxTable from '~/components/SyntaxTable'
import syntaxes from '../syntaxes'
import line from 'to-line'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Metadata } from 'websites-shared/types/Metadata'
import { Metadata } from 'websites/types/Metadata'

const metadata: Metadata = {
title: 'Animation Direction',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Props } from 'websites-shared/types/Props'
import { Props } from 'websites/types/Props'
import create from '~/og-image'
import metadata from './metadata'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import Demo from 'websites-shared/components/Demo'
import Code from 'websites-shared/components/Code'
import Demo from 'websites/components/Demo'
import Code from 'websites/components/Code'
import SyntaxTable from '~/components/SyntaxTable'
import syntaxes from '../syntaxes'
import line from 'to-line'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Metadata } from 'websites-shared/types/Metadata'
import { Metadata } from 'websites/types/Metadata'

const metadata: Metadata = {
title: 'Animation Duration',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Props } from 'websites-shared/types/Props'
import { Props } from 'websites/types/Props'
import create from '~/og-image'
import metadata from './metadata'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
'use client'

import Demo from 'websites-shared/components/Demo'
import DemoPanel from 'websites-shared/components/DemoPanel'
import Demo from 'websites/components/Demo'
import DemoPanel from 'websites/components/DemoPanel'
import Image from 'next/image'
import { l } from 'to-line'
import { IconCar } from '@tabler/icons-react'
import Code from 'websites-shared/components/Code'
import CodeTabs from 'websites-shared/components/CodeTabs'
import Code from 'websites/components/Code'
import CodeTabs from 'websites/components/CodeTabs'
import dedent from 'ts-dedent'
import { useEffect, useState } from 'react'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import Demo from 'websites-shared/components/Demo'
import Code from 'websites-shared/components/Code'
import Demo from 'websites/components/Demo'
import Code from 'websites/components/Code'
import SyntaxTable from '~/components/SyntaxTable'
import syntaxes from '../syntaxes'
import line from 'to-line'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Metadata } from 'websites-shared/types/Metadata'
import { Metadata } from 'websites/types/Metadata'

const metadata: Metadata = {
title: 'Animation Fill Mode',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Props } from 'websites-shared/types/Props'
import { Props } from 'websites/types/Props'
import create from '~/og-image'
import metadata from './metadata'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import Demo from 'websites-shared/components/Demo'
import DemoPanel from 'websites-shared/components/DemoPanel'
import Demo from 'websites/components/Demo'
import DemoPanel from 'websites/components/DemoPanel'
import Image from 'next/image'
import { l } from 'to-line'
import { IconRefresh, IconRotateClockwise } from '@tabler/icons-react'
import Code from 'websites-shared/components/Code'
import Code from 'websites/components/Code'

export default ({ className }: any) => {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import Demo from 'websites-shared/components/Demo'
import Code from 'websites-shared/components/Code'
import Demo from 'websites/components/Demo'
import Code from 'websites/components/Code'
import SyntaxTable from '~/components/SyntaxTable'
import syntaxes from '../syntaxes'
import line from 'to-line'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Metadata } from 'websites-shared/types/Metadata'
import { Metadata } from 'websites/types/Metadata'

const metadata: Metadata = {
title: 'Animation Iteration Count',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Props } from 'websites-shared/types/Props'
import { Props } from 'websites/types/Props'
import create from '~/og-image'
import metadata from './metadata'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import Demo from 'websites-shared/components/Demo'
import Code from 'websites-shared/components/Code'
import Demo from 'websites/components/Demo'
import Code from 'websites/components/Code'
import SyntaxTable from '~/components/SyntaxTable'
import syntaxes from '../syntaxes'
import line from 'to-line'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Metadata } from 'websites-shared/types/Metadata'
import { Metadata } from 'websites/types/Metadata'

const metadata: Metadata = {
title: 'Animation Name',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Props } from 'websites-shared/types/Props'
import { Props } from 'websites/types/Props'
import create from '~/og-image'
import metadata from './metadata'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import Demo from 'websites-shared/components/Demo'
import DemoPanel from 'websites-shared/components/DemoPanel'
import Demo from 'websites/components/Demo'
import DemoPanel from 'websites/components/DemoPanel'
import Image from 'next/image'
import { l } from 'to-line'
import { IconUfo } from '@tabler/icons-react'
import Code from 'websites-shared/components/Code'
import Code from 'websites/components/Code'

export default ({ className }: any) => {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import Demo from 'websites-shared/components/Demo'
import Code from 'websites-shared/components/Code'
import Demo from 'websites/components/Demo'
import Code from 'websites/components/Code'
import SyntaxTable from '~/components/SyntaxTable'
import syntaxes from '../syntaxes'
import line from 'to-line'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Metadata } from 'websites-shared/types/Metadata'
import { Metadata } from 'websites/types/Metadata'

const metadata: Metadata = {
title: 'Animation Play State',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Props } from 'websites-shared/types/Props'
import { Props } from 'websites/types/Props'
import create from '~/og-image'
import metadata from './metadata'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import Demo from 'websites-shared/components/Demo'
import Code from 'websites-shared/components/Code'
import Demo from 'websites/components/Demo'
import Code from 'websites/components/Code'
import SyntaxTable from '~/components/SyntaxTable'
import syntaxes from '../syntaxes'
import line from 'to-line'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Metadata } from 'websites-shared/types/Metadata'
import { Metadata } from 'websites/types/Metadata'

const metadata: Metadata = {
title: 'Animation Timing Function',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Props } from 'websites-shared/types/Props'
import { Props } from 'websites/types/Props'
import create from '~/og-image'
import metadata from './metadata'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import Demo from 'websites-shared/components/Demo'
import Code from 'websites-shared/components/Code'
import Demo from 'websites/components/Demo'
import Code from 'websites/components/Code'
import SyntaxTable from '~/components/SyntaxTable'
import syntaxes from '../syntaxes'
import { l } from 'to-line'
Expand Down
2 changes: 1 addition & 1 deletion website/app/[locale]/(root)/docs/animation/metadata.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Metadata } from 'websites-shared/types/Metadata'
import { Metadata } from 'websites/types/Metadata'

const metadata: Metadata = {
title: 'Animation',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Props } from 'websites-shared/types/Props'
import { Props } from 'websites/types/Props'
import create from '~/og-image'
import metadata from './metadata'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { animations } from '@master/css'
import Code from 'websites-shared/components/Code'
import Code from 'websites/components/Code'

const Default = () =>
<Code lang="js" beautify>
Expand Down
Loading

0 comments on commit 3272ad7

Please sign in to comment.