Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ Open:
Build the image:

```bash
docker build -t projectsparks-web .
docker build -t projectrainbows-web .
```

Run it:

```bash
docker run --rm -p 4173:4173 projectsparks-web
docker run --rm -p 4173:4173 projectrainbows-web
```

Open:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
web:
image: projectsparks-web
image: projectrainbows-web
build: .
ports:
- "4173:4173"
4 changes: 2 additions & 2 deletions e2e/home.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { test, expect } from "@playwright/test";

test("home page loads", async ({ page }) => {
await page.goto("/");
await expect(page.getByRole("heading", { name: /projectsparks/i })).toBeVisible();
await expect(page.getByRole("heading", { name: /projectrainbows/i })).toBeVisible();
});

test("nav links work", async ({ page }) => {
Expand All @@ -15,7 +15,7 @@ test("nav links work", async ({ page }) => {
await expect(page.getByRole("heading", { name: /projects/i })).toBeVisible();

await page.getByRole("link", { name: /home/i }).click();
await expect(page.getByRole("heading", { name: /projectsparks/i })).toBeVisible();
await expect(page.getByRole("heading", { name: /projectrainbows/i })).toBeVisible();
});

test("unknown route shows 404", async ({ page }) => {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "projectsparks",
"name": "projectrainbows",
"version": "1.0.0",
"type": "module",
"description": "React Default Application",
Expand Down
2 changes: 1 addition & 1 deletion pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default function HomePage() {
return (
<section>
<h1>ProjectSparks</h1>
<h1>ProjectRainbows</h1>
<p>A React + TypeScript starter with a real build pipeline.</p>
</section>
);
Expand Down
2 changes: 1 addition & 1 deletion src/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ test("renders the home page content", () => {
</Layout>
);

expect(screen.getByRole("heading", { name: /projectsparks/i })).toBeInTheDocument();
expect(screen.getByRole("heading", { name: /projectrainbows/i })).toBeInTheDocument();
});

test("renders the nav links", () => {
Expand Down