Skip to content

Commit

Permalink
Rename website to site
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Jun 3, 2024
1 parent c6590e1 commit a695157
Show file tree
Hide file tree
Showing 1,865 changed files with 4,861 additions and 4,887 deletions.
4 changes: 2 additions & 2 deletions packages/extractor/tests/extract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,8 @@ test('@', () => {

test('home path', () => {
expect(extractLatentClasses(`
~/website/assets/master.svg
~/website/master.svg
~/site/assets/master.svg
~/site/master.svg
~padding|300ms|ease-in
~delay:0ms
~duration:.5ms
Expand Down
2 changes: 1 addition & 1 deletion packages/server/tests/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { render } from '../src'
import { dirname, join } from 'path'
import fg from 'fast-glob'

fg.sync('../../../website/app/**/tests/**/template.html', { cwd: __dirname })
fg.sync('../../../site/app/**/tests/**/template.html', { cwd: __dirname })
.forEach(templatePath => {
const templateDirname = dirname(templatePath)
test(templateDirname.replace('../app/[locale]/', ''), async () => {
Expand Down
55 changes: 14 additions & 41 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ packages:
- 'packages/*'
- 'examples/*'
- 'benchmarks/*'
- 'website'
- 'site'
- 'internal'
- 'shared'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import Image from 'next/image'
import mountain1 from '~/website/public/images/mountain1.jpg'
import mountain2 from '~/website/public/images/mountain2.jpg'
import mountain3 from '~/website/public/images/mountain3.jpg'
import mountain4 from '~/website/public/images/mountain4.jpg'
import mountain5 from '~/website/public/images/mountain5.jpg'
import mountain6 from '~/website/public/images/mountain6.jpg'
import mountain7 from '~/website/public/images/mountain7.jpg'
import mountain8 from '~/website/public/images/mountain8.jpg'
import mountain9 from '~/website/public/images/mountain9.jpg'
import mountain10 from '~/website/public/images/mountain10.jpg'
import mountain11 from '~/website/public/images/mountain11.jpg'
import mountain12 from '~/website/public/images/mountain12.jpg'
import mountain1 from '~/site/public/images/mountain1.jpg'
import mountain2 from '~/site/public/images/mountain2.jpg'
import mountain3 from '~/site/public/images/mountain3.jpg'
import mountain4 from '~/site/public/images/mountain4.jpg'
import mountain5 from '~/site/public/images/mountain5.jpg'
import mountain6 from '~/site/public/images/mountain6.jpg'
import mountain7 from '~/site/public/images/mountain7.jpg'
import mountain8 from '~/site/public/images/mountain8.jpg'
import mountain9 from '~/site/public/images/mountain9.jpg'
import mountain10 from '~/site/public/images/mountain10.jpg'
import mountain11 from '~/site/public/images/mountain11.jpg'
import mountain12 from '~/site/public/images/mountain12.jpg'

const mountains = [
mountain2,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Layout from 'internal/layouts/reference'
import pageCategories from '~/website/categories/guide.json'
import metadata from './metadata'
/* @ts-expect-error toc */
import Content, { toc } from './content.mdx'
import Layout from 'internal/layouts/reference'
import pageCategories from '~/site/categories/guide.json'
import { generate } from 'internal/utils/metadata'

export const dynamic = 'force-static'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Layout from 'internal/layouts/doc'
import pageCategories from '~/website/categories/guide.json'
import pageCategories from '~/site/categories/guide.json'
import metadata from './metadata'
/* @ts-expect-error toc */
import Content, { toc } from './content.mdx'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Props } from 'internal/types/Props'
import create from 'internal/utils/og-image'
import metadata from './metadata'
import Icon from '~/website/public/images/frameworks/angular.svg?inlineSvg'
import Icon from '~/site/public/images/frameworks/angular.svg?inlineSvg'
import type { AbsoluteTemplateString } from 'next/dist/lib/metadata/types/metadata-types'

export const alt = (metadata.title as AbsoluteTemplateString)?.absolute || metadata.title as string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import Layout from 'internal/layouts/reference'
import pageCategories from '~/website/categories/guide.json'
import pageCategories from '~/site/categories/guide.json'
import metadata from './metadata'
import Content from './content.mdx'
import { generate } from 'internal/utils/metadata'
import LogoSvg from '~/website/public/images/frameworks/angular.svg?inlineSvg'
import LogoSvg from '~/site/public/images/frameworks/angular.svg?inlineSvg'

export const dynamic = 'force-static'
export const revalidate = false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Visual Studio Code

import VSCodeSvg from '~/website/public/icons/visualstudiocode.svg?inlineSvg'
import VSCodeSvg from '~/site/public/icons/visualstudiocode.svg?inlineSvg'

Typical setup for Visual Studio Code users.

Expand Down
Loading

0 comments on commit a695157

Please sign in to comment.