Skip to content

Commit

Permalink
Merge branch 'add-backface-visibility' of github.com:webstudio-is/web…
Browse files Browse the repository at this point in the history
…studio into add-backface-visibility
  • Loading branch information
JayaKrishnaNamburu committed Jul 27, 2024
2 parents 601bc0c + ebeab66 commit 700520e
Show file tree
Hide file tree
Showing 66 changed files with 1,063 additions and 402 deletions.
95 changes: 90 additions & 5 deletions fixtures/ssg/.webstudio/data.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"build": {
"id": "af283f08-b808-4cf6-9cb3-4a4470065c66",
"id": "2b8a9d28-3a0e-48c9-9aa2-b26db7926a22",
"projectId": "d845c167-ea07-4875-b08d-83e97c09dcce",
"version": 29,
"createdAt": "2024-07-21T11:48:14.097",
"updatedAt": "2024-07-21T11:48:14.097",
"version": 33,
"createdAt": "2024-07-26T13:42:42.816",
"updatedAt": "2024-07-26T13:42:42.816",
"pages": {
"meta": {
"siteName": "",
Expand Down Expand Up @@ -151,6 +151,19 @@
"value": 1
}
}
],
[
"mf2C07UBmGT7y_G4Du3yg:rKj-wYctg3-GnqL3WHN9I:width:",
{
"breakpointId": "rKj-wYctg3-GnqL3WHN9I",
"styleSourceId": "mf2C07UBmGT7y_G4Du3yg",
"property": "width",
"value": {
"type": "unit",
"unit": "px",
"value": 400
}
}
]
],
"styleSources": [
Expand All @@ -167,6 +180,13 @@
"type": "local",
"id": "0KA68BwP9gdTzE1ESO2Zp"
}
],
[
"mf2C07UBmGT7y_G4Du3yg",
{
"type": "local",
"id": "mf2C07UBmGT7y_G4Du3yg"
}
]
],
"styleSourceSelections": [
Expand All @@ -183,6 +203,13 @@
"instanceId": "BMJfjOzunWs8XkQgvvx1e",
"values": ["0KA68BwP9gdTzE1ESO2Zp"]
}
],
[
"uHB3Fjb7-NELG-bnH7bXB",
{
"instanceId": "uHB3Fjb7-NELG-bnH7bXB",
"values": ["mf2C07UBmGT7y_G4Du3yg"]
}
]
],
"props": [
Expand All @@ -195,6 +222,36 @@
"type": "page",
"value": "WPPAbLFyJD_02vhjRd8P4"
}
],
[
"su3ag3OxH9WTBjJg5eIyg",
{
"id": "su3ag3OxH9WTBjJg5eIyg",
"instanceId": "uHB3Fjb7-NELG-bnH7bXB",
"name": "src",
"type": "asset",
"value": "1d8bf4398f643f5333d415091507d778aaed62f28883642636cbed0be156a0ee"
}
],
[
"vGCYpBBB1QUPIPPIdyexn",
{
"id": "vGCYpBBB1QUPIPPIdyexn",
"instanceId": "uHB3Fjb7-NELG-bnH7bXB",
"name": "width",
"type": "asset",
"value": "1d8bf4398f643f5333d415091507d778aaed62f28883642636cbed0be156a0ee"
}
],
[
"JKAGY7DWpciEl0UdnWuKL",
{
"id": "JKAGY7DWpciEl0UdnWuKL",
"instanceId": "uHB3Fjb7-NELG-bnH7bXB",
"name": "height",
"type": "asset",
"value": "1d8bf4398f643f5333d415091507d778aaed62f28883642636cbed0be156a0ee"
}
]
],
"dataSources": [
Expand Down Expand Up @@ -237,6 +294,10 @@
{
"type": "id",
"value": "pjkZo5EiBqaeUXBcyHf_O"
},
{
"type": "id",
"value": "uHB3Fjb7-NELG-bnH7bXB"
}
]
}
Expand Down Expand Up @@ -310,6 +371,15 @@
}
]
}
],
[
"uHB3Fjb7-NELG-bnH7bXB",
{
"type": "instance",
"id": "uHB3Fjb7-NELG-bnH7bXB",
"component": "Image",
"children": []
}
]
],
"deployment": {
Expand Down Expand Up @@ -364,7 +434,22 @@
"path": "/another-page"
}
],
"assets": [],
"assets": [
{
"id": "1d8bf4398f643f5333d415091507d778aaed62f28883642636cbed0be156a0ee",
"name": "iconly_svg_converted-converted_zMaMiAAutUl8XrITgz7d1.svg",
"description": null,
"projectId": "d845c167-ea07-4875-b08d-83e97c09dcce",
"size": 999,
"type": "image",
"format": "svg",
"createdAt": "2024-07-26T13:39:48.678Z",
"meta": {
"width": 14,
"height": 16
}
}
],
"user": {
"email": "[email protected]"
},
Expand Down
2 changes: 1 addition & 1 deletion fixtures/ssg/app/__generated__/$resources.sitemap.xml.ts

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

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

6 changes: 3 additions & 3 deletions fixtures/ssg/app/__generated__/_index.server.tsx

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

9 changes: 9 additions & 0 deletions fixtures/ssg/app/__generated__/_index.tsx

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

14 changes: 14 additions & 0 deletions fixtures/ssg/app/__generated__/index.css

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

5 changes: 3 additions & 2 deletions fixtures/ssg/pages/another-page/+data.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import type { PageContextServer } from "vike/types";
import { redirect } from "vike/abort";
import { loadResources } from "@webstudio-is/sdk";
import {
getPageMeta,
loadResources,
getResources,
} from "../../app/__generated__/[another-page]._index.server";

export const data = async (pageContext: PageContextServer) => {
Expand All @@ -19,7 +20,7 @@ export const data = async (pageContext: PageContextServer) => {
origin: url.origin,
};

const resources = await loadResources({ system });
const resources = await loadResources(fetch, getResources({ system }));
const pageMeta = getPageMeta({ system, resources });

if (pageMeta.redirect) {
Expand Down
5 changes: 3 additions & 2 deletions fixtures/ssg/pages/index/+data.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import type { PageContextServer } from "vike/types";
import { redirect } from "vike/abort";
import { loadResources } from "@webstudio-is/sdk";
import {
getPageMeta,
loadResources,
getResources,
} from "../../app/__generated__/_index.server";

export const data = async (pageContext: PageContextServer) => {
Expand All @@ -19,7 +20,7 @@ export const data = async (pageContext: PageContextServer) => {
origin: url.origin,
};

const resources = await loadResources({ system });
const resources = await loadResources(fetch, getResources({ system }));
const pageMeta = getPageMeta({ system, resources });

if (pageMeta.redirect) {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 700520e

Please sign in to comment.