Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Push Pop (new ambassador) #56

Merged
merged 2 commits into from
Feb 15, 2024
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
Binary file added assets/ambassadors/pushpop/01.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/ambassadors/pushpop/02.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,6 +1,6 @@
{
"name": "@alveusgg/data",
"version": "0.28.0",
"version": "0.29.0",
"private": true,
"license": "SEE LICENSE IN LICENSE.md",
"repository": {
Expand Down
59 changes: 43 additions & 16 deletions src/ambassadors/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -880,27 +880,28 @@ const ambassadors = {
homepage: null,
plush: null,
},
polly: {
name: "Polly",
alternate: [],
class: Class.Aves,
species: "Bantam Silkie Chicken",
scientific: "Gallus gallus domesticus",
sex: "Female",
birth: null,
arrival: "2023-11", // Previously 2022-08 to 2022-11
pushPop: {
name: "Push Pop",
alternate: ["Poppy"],
class: Class.Reptilia,
species: "Sulcata Tortoise",
scientific: "Centrochelys sulcata",
sex: null, // Unknown, assumed female
birth: "2019",
arrival: "2024-02",
retired: null,
iucn: {
id: null,
status: "NE",
id: 163423,
status: "EN/decreasing",
},
enclosure: "nutrition",
story: "Polly was rehomed from another owner.",
enclosure: "tortoise",
story:
"Push Pop was bought as a pet and was rehomed when the family moved states. She was then transferred to Alveus.",
mission:
"She is an ambassador for the agricultural industry and how people can use consumer choice to impact the environment in a positive way.",
"She is an ambassador for teaching the world about the exotic pet trade, habitat loss due to agricultural expansion for cattle, and the gradual effects of climate change on our natural world.",
native: {
text: "China (Domesticated)",
source: "https://en.wikipedia.org/wiki/Silkie",
text: "Sahara Desert and the Sahel (shrubland, grassland)",
source: "https://en.wikipedia.org/wiki/African_spurred_tortoise",
},
clips: [],
homepage: null,
Expand Down Expand Up @@ -991,6 +992,32 @@ const ambassadors = {
homepage: null,
plush: null,
},
polly: {
name: "Polly",
alternate: [],
class: Class.Aves,
species: "Bantam Silkie Chicken",
scientific: "Gallus gallus domesticus",
sex: "Female",
birth: null,
arrival: "2023-11", // Previously 2022-08 to 2022-11
retired: null,
iucn: {
id: null,
status: "NE",
},
enclosure: "nutrition",
story: "Polly was rehomed from another owner.",
mission:
"She is an ambassador for the agricultural industry and how people can use consumer choice to impact the environment in a positive way.",
native: {
text: "China (Domesticated)",
source: "https://en.wikipedia.org/wiki/Silkie",
},
clips: [],
homepage: null,
plush: null,
},

// Retired ambassadors
orion: {
Expand Down
7 changes: 7 additions & 0 deletions src/ambassadors/images.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ import henriettaImage1 from "../../assets/ambassadors/henrietta/01.jpg";

import pollyImage1 from "../../assets/ambassadors/polly/01.jpg";

import pushPopImage1 from "../../assets/ambassadors/pushpop/01.jpg";
import pushPopImage2 from "../../assets/ambassadors/pushpop/02.jpg";

type OneToNine = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
type ZeroToNine = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9;
type Percentage = `${OneToNine}${ZeroToNine}%` | `${ZeroToNine}%` | "100%";
Expand Down Expand Up @@ -435,6 +438,10 @@ const ambassadorImages: {
{ src: henriettaImage1, alt: "Henrietta the Jersey Giant Chicken" },
],
polly: [{ src: pollyImage1, alt: "Polly the Silkie Chicken" }],
pushPop: [
{ src: pushPopImage1, alt: "Push Pop the Sulcata Tortoise" },
{ src: pushPopImage2, alt: "Push Pop the Sulcata Tortoise" },
],
};

export const ambassadorMerchImages: {
Expand Down
3 changes: 3 additions & 0 deletions src/enclosures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ const enclosures = {
falcon: {
name: "Falcon Aviary",
},
tortoise: {
name: "Tortoise Enclosure",
},
} as const satisfies Record<string, Enclosure>;

const enclosureKeys = Object.keys(enclosures) as EnclosureKey[];
Expand Down
Loading