Skip to content
Snippets Groups Projects
Commit affd452e authored by Dhruv Bansal's avatar Dhruv Bansal
Browse files

Merge branch 'main' into dhvbnl_staff_page

parents a2400cdc a6545df6
No related branches found
No related tags found
1 merge request!20Adding dhvbnl staff and product page
Pipeline #576111 failed
/* check out these products! */ /* check out these products! */
public class Products { /* a good class, but not as good as cse391 */ public class Products { /* a good class, but not as good as cse391 */
public Product rairai77sProudct() { public Product rairai77sProudct() {
return new Product( return new Product(
"Cheeto Dust", "Cheeto Dust",
...@@ -9,6 +10,16 @@ public class Products { /* a good class, but not as good as cse391 */ ...@@ -9,6 +10,16 @@ public class Products { /* a good class, but not as good as cse391 */
42.024 42.024
); );
} }
public Product kevinsProduct(){
return new Product(
"Basketball",
"Bouncy bouncy orange ball",
"basketball.jpg",
"Picture of a basketball",
42.0
);
}
public Product joshsProduct() { public Product joshsProduct() {
return new Product( return new Product(
"Dirt", "Dirt",
...@@ -107,5 +118,23 @@ public class Products { /* a good class, but not as good as cse391 */ ...@@ -107,5 +118,23 @@ public class Products { /* a good class, but not as good as cse391 */
"image of proteen powder", "image of proteen powder",
9.99 9.99
); );
public Product yixuan19Product(){
return new Product (
"Goomba",
"The No.1 VTB from Hololive",
"Avatar.png",
"Picture of Gawr Gura",
114514.0
);
}
public Product swangsamProduct(){
return new Product(
"Pullup Bar",
"It builds back",
"pullup.png",
"pullup bar image",
1.2
);
} }
} }
...@@ -8,6 +8,16 @@ public class Staff { ...@@ -8,6 +8,16 @@ public class Staff {
"A snorlax sitting" "A snorlax sitting"
); );
} }
public Employee xckevin(){
return new Employee(
"Kevin",
"Bro",
"chill dude",
"kevin.jpg",
"Photo"
);
}
public Employee faangPup() { public Employee faangPup() {
return new Employee( return new Employee(
"Steve", "Steve",
...@@ -128,4 +138,22 @@ public class Staff { ...@@ -128,4 +138,22 @@ public class Staff {
); );
} }
public Employee yixuan19() {
return new Employee (
"Yixuan",
"Student",
"Slackin",
"Goomba.jpg",
"Shaaaaaaaaark"
);
}
public Employee swangsam(){
return new Employee(
"Samuel",
"Student",
"runs",
"sephiroth.png",
"sephiroth"
);
}
} }
images/products/Avatar.png

140 KiB

images/products/basketball.jpg

50.6 KiB

images/products/pullup.png

12.5 KiB

images/staff/Goomba.jpg

29.6 KiB

images/staff/kevin.jpg

550 KiB

images/staff/sephiroth.png

20.9 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment