Skip to content

Commit f13d2e4

Browse files
committed
Added the Router
1 parent 82c10d6 commit f13d2e4

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, "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 }
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, "tp_link_ac1200_router" => 350 }
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, "tp_link_ac1200_router" => 35 }
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
@@ -93,7 +93,8 @@
9393
['TP-Link Nano AC600', 'tp_link_nano_ac600'],
9494
['Laptop Cooling Pad', 'laptop_cooling_pad'],
9595
['Bambu Labs A1 Mini', 'bambu_labs_a1_mini'],
96-
['Bambu Labs A1', 'bambu_labs_a1']
96+
['Bambu Labs A1', 'bambu_labs_a1'],
97+
['TP-Link AC1200 Router', 'tp_link_ac1200_router']
9798
] %>
9899
<% chair_variants = [
99100
['ZUNMOS Gaming Chair', 'zunmos_gaming_chair'],
@@ -145,7 +146,8 @@
145146
'https://files.slack.com/files-pri/T09V59WQY1E-F0A9X3TH6CE/51oi6lrnicl._ac_sl1276_-removebg-preview.png?pub_secret=b6eefcf2ee',
146147
'https://files.slack.com/files-pri/T09V59WQY1E-F0A9SPRSUPM/71ytmupqxyl._ac_sl1500_-removebg-preview.png?pub_secret=8dc60a7d52',
147148
'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'
149+
'https://files.slack.com/files-pri/T09V59WQY1E-F0AC4EQ0S9K/a1-1-removebg-preview.png?pub_secret=ee0cc28242',
150+
'https://files.slack.com/files-pri/T09V59WQY1E-F0AC600EATG/41e8y45js1l._ac_sl1080_-removebg-preview.png?pub_secret=5ea611aa2e'
149151
] if cat == 'Desktop Accessories' %>
150152
<% images_for_chair = [
151153
'https://files.slack.com/files-pri/T09V59WQY1E-F0A9QM9RTU4/617ebrgozal._ac_sl1500_-removebg-preview.png?pub_secret=6083a75eb3',
@@ -175,8 +177,8 @@
175177
<% headphones_bolts_map = { 'razer_blackshark_v2_x' => 400, 'standard' => 500, 'quality' => 1100, 'professional' => 2400 } %>
176178
<% webcam_grant_map = { 'standard' => 50, 'quality' => 140, 'professional' => 230 } %>
177179
<% webcam_bolts_map = { 'standard' => 500, 'quality' => 1400, 'professional' => 2300 } %>
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 } %>
180+
<% 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, 'tp_link_ac1200_router' => 35 } %>
181+
<% 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, 'tp_link_ac1200_router' => 350 } %>
180182
<% chair_grant_map = { 'zunmos_gaming_chair' => 95, 'gtplayer_gaming_chair' => 130, 'razer_iskur_v2_x' => 300, 'corsair_t3_rush' => 350 } %>
181183
<% chair_bolts_map = { 'zunmos_gaming_chair' => 950, 'gtplayer_gaming_chair' => 1300, 'razer_iskur_v2_x' => 3000, 'corsair_t3_rush' => 3500 } %>
182184
<% other_grant_map = { 'standard' => 50, 'quality' => 110, 'advanced' => 170, 'professional' => 230 } %>

0 commit comments

Comments
 (0)