Skip to content

Commit 82c10d6

Browse files
committed
Added the A1
1 parent 7e9ddef commit 82c10d6

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

app/controllers/pages_controller.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ def purchase
181181
webcam_bolts_map = { "standard" => 500, "quality" => 1400, "professional" => 2300 }
182182
webcam_grant_map = { "standard" => 50, "quality" => 140, "professional" => 230 }
183183

184-
desktop_accessories_bolts_map = { "millso_usb_microphone" => 160, "wireless_microphone" => 180, "tp_link_nano_ac600" => 180, "laptop_cooling_pad" => 130, "bambu_labs_a1_mini" => 2190 }
185-
desktop_accessories_grant_map = { "millso_usb_microphone" => 16, "wireless_microphone" => 18, "tp_link_nano_ac600" => 18, "laptop_cooling_pad" => 13, "bambu_labs_a1_mini" => 219 }
184+
desktop_accessories_bolts_map = { "millso_usb_microphone" => 160, "wireless_microphone" => 180, "tp_link_nano_ac600" => 180, "laptop_cooling_pad" => 130, "bambu_labs_a1_mini" => 2190, "bambu_labs_a1" => 2990 }
185+
desktop_accessories_grant_map = { "millso_usb_microphone" => 16, "wireless_microphone" => 18, "tp_link_nano_ac600" => 18, "laptop_cooling_pad" => 13, "bambu_labs_a1_mini" => 219, "bambu_labs_a1" => 299 }
186186

187187
chair_bolts_map = { "zunmos_gaming_chair" => 950, "gtplayer_gaming_chair" => 1300, "razer_iskur_v2_x" => 3000, "corsair_t3_rush" => 3500 }
188188
chair_grant_map = { "zunmos_gaming_chair" => 95, "gtplayer_gaming_chair" => 130, "razer_iskur_v2_x" => 300, "corsair_t3_rush" => 350 }

app/views/pages/shop.html.erb

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@
9292
['Wireless Microphone - Generic', 'wireless_microphone'],
9393
['TP-Link Nano AC600', 'tp_link_nano_ac600'],
9494
['Laptop Cooling Pad', 'laptop_cooling_pad'],
95-
['Bambu Labs A1 Mini', 'bambu_labs_a1_mini']
95+
['Bambu Labs A1 Mini', 'bambu_labs_a1_mini'],
96+
['Bambu Labs A1', 'bambu_labs_a1']
9697
] %>
9798
<% chair_variants = [
9899
['ZUNMOS Gaming Chair', 'zunmos_gaming_chair'],
@@ -143,7 +144,8 @@
143144
'https://files.slack.com/files-pri/T09V59WQY1E-F0A9M0KQYD8/71zjmpyficl._ac_sl1500_-removebg-preview.png?pub_secret=d51d8d4182',
144145
'https://files.slack.com/files-pri/T09V59WQY1E-F0A9X3TH6CE/51oi6lrnicl._ac_sl1276_-removebg-preview.png?pub_secret=b6eefcf2ee',
145146
'https://files.slack.com/files-pri/T09V59WQY1E-F0A9SPRSUPM/71ytmupqxyl._ac_sl1500_-removebg-preview.png?pub_secret=8dc60a7d52',
146-
'https://files.slack.com/files-pri/T09V59WQY1E-F0ACLHA7ZG9/group48089.png__op__resize_m_lfit_w_1920__op__format_f_auto__op__quality_q_80-removebg-preview.png?pub_secret=714dcd5bfe'
147+
'https://files.slack.com/files-pri/T09V59WQY1E-F0ACLHA7ZG9/group48089.png__op__resize_m_lfit_w_1920__op__format_f_auto__op__quality_q_80-removebg-preview.png?pub_secret=714dcd5bfe',
148+
'https://files.slack.com/files-pri/T09V59WQY1E-F0AC4EQ0S9K/a1-1-removebg-preview.png?pub_secret=ee0cc28242'
147149
] if cat == 'Desktop Accessories' %>
148150
<% images_for_chair = [
149151
'https://files.slack.com/files-pri/T09V59WQY1E-F0A9QM9RTU4/617ebrgozal._ac_sl1500_-removebg-preview.png?pub_secret=6083a75eb3',
@@ -173,8 +175,8 @@
173175
<% headphones_bolts_map = { 'razer_blackshark_v2_x' => 400, 'standard' => 500, 'quality' => 1100, 'professional' => 2400 } %>
174176
<% webcam_grant_map = { 'standard' => 50, 'quality' => 140, 'professional' => 230 } %>
175177
<% webcam_bolts_map = { 'standard' => 500, 'quality' => 1400, 'professional' => 2300 } %>
176-
<% desktop_accessories_grant_map = { 'millso_usb_microphone' => 16, 'wireless_microphone' => 18, 'tp_link_nano_ac600' => 18, 'laptop_cooling_pad' => 13, 'bambu_labs_a1_mini' => 219 } %>
177-
<% desktop_accessories_bolts_map = { 'millso_usb_microphone' => 160, 'wireless_microphone' => 180, 'tp_link_nano_ac600' => 180, 'laptop_cooling_pad' => 130, 'bambu_labs_a1_mini' => 2190 } %>
178+
<% desktop_accessories_grant_map = { 'millso_usb_microphone' => 16, 'wireless_microphone' => 18, 'tp_link_nano_ac600' => 18, 'laptop_cooling_pad' => 13, 'bambu_labs_a1_mini' => 219, 'bambu_labs_a1' => 299 } %>
179+
<% desktop_accessories_bolts_map = { 'millso_usb_microphone' => 160, 'wireless_microphone' => 180, 'tp_link_nano_ac600' => 180, 'laptop_cooling_pad' => 130, 'bambu_labs_a1_mini' => 2190, 'bambu_labs_a1' => 2990 } %>
178180
<% chair_grant_map = { 'zunmos_gaming_chair' => 95, 'gtplayer_gaming_chair' => 130, 'razer_iskur_v2_x' => 300, 'corsair_t3_rush' => 350 } %>
179181
<% chair_bolts_map = { 'zunmos_gaming_chair' => 950, 'gtplayer_gaming_chair' => 1300, 'razer_iskur_v2_x' => 3000, 'corsair_t3_rush' => 3500 } %>
180182
<% other_grant_map = { 'standard' => 50, 'quality' => 110, 'advanced' => 170, 'professional' => 230 } %>

0 commit comments

Comments
 (0)