Skip to content

Commit d3baf64

Browse files
Update Shader Playground URL to openpbr-shader-playground
Signed-off-by: Matthew Low <Matthew.Low@dreamworks.com>
1 parent 009af39 commit d3baf64

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed
File renamed without changes.

src/content/articles/shader-playground.md renamed to src/content/articles/openpbr-shader-playground.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ show: true
88
order: 10
99
# Image for the project card
1010
cardImage: {
11-
src: "../images/shader-playground/OpenPBR_title.jpg",
11+
src: "../images/openpbr-shader-playground/OpenPBR_title.jpg",
1212
alt: "OpenPBR Shader Playground title card",
1313
}
1414
# The buttons that will show up on the project card
1515
buttons: [
1616
{
1717
text: "DOWNLOADS PAGE",
18-
url: "shader-playground",
18+
url: "openpbr-shader-playground",
1919
type: "primary"
2020
},
2121
]
@@ -37,10 +37,10 @@ title: "OpenPBR Shader Playground"
3737
# Used mainly for the Breadcrumbs
3838
titleAlt: "OpenPBR Shader Playground"
3939
# The url of the blog page. Please remember to add this base url before you add the rest of the url.
40-
url: "shader-playground"
40+
url: "openpbr-shader-playground"
4141
# The cover image of the blog page
4242
coverImage: {
43-
src: "./images/shader-playground/OpenPBR_title.jpg",
43+
src: "./images/openpbr-shader-playground/OpenPBR_title.jpg",
4444
alt: "OpenPBR Shader Playground",
4545
}
4646
# The image caption under the cover image
@@ -79,18 +79,18 @@ imageCaption: {
7979
# [] []
8080
# [] []
8181
otherImages: [
82-
# "../images/shader-playground/shader-playground-meetmat-text.jpg",
83-
# "../images/shader-playground/shader-playground-scissorsmug-text.jpg",
84-
# "../images/shader-playground/shader-playground-paintbrushes-text.jpg",
85-
# "../images/shader-playground/shader-playground-paintbrush-breakdown.gif",
82+
# "../images/openpbr-shader-playground/shader-playground-meetmat-text.jpg",
83+
# "../images/openpbr-shader-playground/shader-playground-scissorsmug-text.jpg",
84+
# "../images/openpbr-shader-playground/shader-playground-paintbrushes-text.jpg",
85+
# "../images/openpbr-shader-playground/shader-playground-paintbrush-breakdown.gif",
8686
]
8787

8888
# The download section of the blog
8989
downloadSection: {
9090
title: "Downloadable Packages:",
9191
subtext: "By downloading any of these files, you agree to the terms of the license linked below.",
9292
licenseButtonText: "ASWF Asset License",
93-
licenseButtonLink: "shader-playground/shader-playground-license",
93+
licenseButtonLink: "openpbr-shader-playground/openpbr-shader-playground-license",
9494
# This header is only if the table needs a header < Please see Intel page for example of that >
9595
downloadTableHeader: "",
9696

src/content/license/shader-playground-license.md renamed to src/content/license/openpbr-shader-playground-license.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ blogTitleAlt: "OpenPBR Shader Playground License"
1010

1111
# Links for the buttons: Back and Home
1212
homePageUrl: "/"
13-
previousPageUrl: "/shader-playground"
14-
nextPageUrl: "/shader-playground/shader-playground-license"
13+
previousPageUrl: "/openpbr-shader-playground"
14+
nextPageUrl: "/openpbr-shader-playground/openpbr-shader-playground-license"
1515

1616
# License text. Each sentence is broken up by commas.
1717
licenseContent: [

src/layout/MainLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { BASE_URL } from "../utils/constants";
2525
<a href="https://www.aswf.io/projects/">AN <span class="blue">/* ACADEMY SOFTWARE FOUNDATION</span> PROJECT</a>
2626
</div>
2727
<div class="header-bar__bottom flex items-center mobile-h:px-5 mobile-v:px-5">
28-
<a class="desktop:hidden tablet:hidden mobile-h:hidden mobile-v:inline-block" href="/"><img class="w-12" src="./images/general/dpel-icon-white.svg" /></a>
28+
<a class="desktop:hidden tablet:hidden mobile-h:hidden mobile-v:inline-block" href="/"><img class="w-12" src="/images/general/dpel-icon-white.svg" /></a>
2929
</div>
3030
</header>
3131
<!-- Rest of the content -->

src/pages/shader-playground/index.astro renamed to src/pages/openpbr-shader-playground/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { getEntryBySlug } from 'astro:content';
44
import MainLayout from "../../layout/MainLayout.astro";
55
import BlogPostLayout from "../../layout/BlogPostLayout4.astro";
66
7-
const content = await getEntryBySlug('articles', 'shader-playground');
7+
const content = await getEntryBySlug('articles', 'openpbr-shader-playground');
88
const crumbs = [{ text: content.data.titleAlt }];
99
---
1010

src/pages/shader-playground/shader-playground-license/index.astro renamed to src/pages/openpbr-shader-playground/openpbr-shader-playground-license/index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { getEntryBySlug } from 'astro:content';
44
import LicenseLayout from "../../../layout/LicenseLayout.astro";
55
import MainLayout from "../../../layout/MainLayout.astro";
66
7-
const content = await getEntryBySlug('license', 'shader-playground-license');
8-
const parentContent = await getEntryBySlug('articles', 'shader-playground');
7+
const content = await getEntryBySlug('license', 'openpbr-shader-playground-license');
8+
const parentContent = await getEntryBySlug('articles', 'openpbr-shader-playground');
99
1010
const crumbs = [
1111
{ text: parentContent.data.titleAlt, href: `/${parentContent.data.url}` },

0 commit comments

Comments
 (0)