Skip to content

Commit 0e56f25

Browse files
committed
Veterans footer + Legacy challenge details in the main challenge listing
- Updated footer in Veterans Community - The main challenge listing is switched to use legacy challenge detail pages for now.
1 parent 5f112a6 commit 0e56f25

File tree

6 files changed

+47
-7
lines changed

6 files changed

+47
-7
lines changed

.exchange-rates.cache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"disclaimer":"Usage subject to terms: https://openexchangerates.org/terms","license":"https://openexchangerates.org/license","timestamp":1508414400,"base":"USD","rates":{"AED":3.672973,"AFN":68.15,"ALL":112.92,"AMD":481.728804,"ANG":1.779789,"AOA":165.9225,"ARS":17.3379,"AUD":1.270644,"AWG":1.790246,"AZN":1.6985,"BAM":1.653896,"BBD":2,"BDT":82.537473,"BGN":1.653246,"BHD":0.377203,"BIF":1750,"BMD":1,"BND":1.357043,"BOB":6.909062,"BRL":3.167437,"BSD":1,"BTC":0.000175811708,"BTN":65.045224,"BWP":10.307664,"BYN":1.957114,"BZD":2.009704,"CAD":1.246334,"CDF":1570,"CHF":0.975172,"CLF":0.023185,"CLP":624.8,"CNH":6.619015,"CNY":6.6223,"COP":2923.75,"CRC":569.998642,"CUC":1,"CUP":25.5,"CVE":93.9,"CZK":21.7448,"DJF":178.77,"DKK":6.290249,"DOP":47.86869,"DZD":114.25,"EGP":17.6474,"ERN":15.191062,"ETB":26.984211,"EUR":0.844987,"FJD":2.046698,"FKP":0.758867,"GBP":0.758867,"GEL":2.482304,"GGP":0.758867,"GHS":4.405,"GIP":0.758867,"GMD":47.45,"GNF":9001,"GTQ":7.351488,"GYD":207.795851,"HKD":7.80255,"HNL":23.592243,"HRK":6.3449,"HTG":63.506926,"HUF":260.652005,"IDR":13513.746714,"ILS":3.496997,"IMP":0.758867,"INR":65.015,"IQD":1166.85,"IRR":34243.946723,"ISK":105.21,"JEP":0.758867,"JMD":127.415141,"JOD":0.7086,"JPY":112.49516667,"KES":103.585,"KGS":68.579481,"KHR":4035.5,"KMF":417.634177,"KPW":900,"KRW":1131.75,"KWD":0.302094,"KYD":0.833193,"KZT":334.519063,"LAK":8323.9,"LBP":1515.649713,"LKR":153.548466,"LRD":118.354791,"LSL":13.535513,"LYD":1.369746,"MAD":9.404986,"MDL":17.329616,"MGA":3082.1,"MKD":52.033759,"MMK":1367.3,"MNT":2454.299176,"MOP":8.035619,"MRO":355.495295,"MUR":33.95,"MVR":15.400167,"MWK":725.535,"MXN":18.804893,"MYR":4.222083,"MZN":61.115,"NAD":13.535527,"NGN":359.805566,"NIO":30.746369,"NOK":7.9722,"NPR":104.009834,"NZD":1.424587,"OMR":0.385015,"PAB":1,"PEN":3.236683,"PGK":3.201466,"PHP":51.406,"PKR":105.230492,"PLN":3.585395,"PYG":5639.3,"QAR":3.672571,"RON":3.883094,"RSD":100.656494,"RUB":57.54295,"RWF":854.182838,"SAR":3.7512,"SBD":7.777811,"SCR":13.768427,"SDG":6.675868,"SEK":8.160019,"SGD":1.35689,"SHP":0.758867,"SLL":7643.328121,"SOS":578.460064,"SRD":7.448,"SSP":130.2183,"STD":20769.150676,"SVC":8.748749,"SYP":514.98999,"SZL":13.533002,"THB":33.124,"TJS":8.799001,"TMT":3.499986,"TND":2.458496,"TOP":2.224732,"TRY":3.660214,"TTD":6.729148,"TWD":30.242233,"TZS":2244.6,"UAH":26.506511,"UGX":3656.55,"USD":1,"UYU":29.121233,"UZS":8057.7,"VEF":9.990025,"VND":22722.253308,"VUV":105.316668,"WST":2.533273,"XAF":554.275221,"XAG":0.05869414,"XAU":0.00077711,"XCD":2.70255,"XDR":0.70955,"XOF":554.275221,"XPD":0.0010424,"XPF":100.833786,"XPT":0.00108021,"YER":250.281642,"ZAR":13.539342,"ZMW":9.748924,"ZWL":322.355011}}
1+
{"disclaimer":"Usage subject to terms: https://openexchangerates.org/terms","license":"https://openexchangerates.org/license","timestamp":1508526000,"base":"USD","rates":{"AED":3.673014,"AFN":68.205,"ALL":113.4,"AMD":481.691304,"ANG":1.785024,"AOA":165.9225,"ARS":17.4278,"AUD":1.279892,"AWG":1.789995,"AZN":1.6985,"BAM":1.6593,"BBD":2,"BDT":82.559642,"BGN":1.662,"BHD":0.377047,"BIF":1750,"BMD":1,"BND":1.361547,"BOB":6.910011,"BRL":3.188889,"BSD":1,"BTC":0.000167528126,"BTN":65.011891,"BWP":10.297962,"BYN":1.955545,"BZD":2.009841,"CAD":1.262782,"CDF":1571,"CHF":0.984842,"CLF":0.02335,"CLP":629.8,"CNH":6.624723,"CNY":6.6204,"COP":2937.13,"CRC":569.926142,"CUC":1,"CUP":25.5,"CVE":93.84,"CZK":21.786425,"DJF":178.97,"DKK":6.319742,"DOP":47.81,"DZD":114.301,"EGP":17.644,"ERN":15.336062,"ETB":27.3,"EUR":0.849056,"FJD":2.050246,"FKP":0.758151,"GBP":0.758151,"GEL":2.482779,"GGP":0.758151,"GHS":4.4,"GIP":0.758151,"GMD":47.37,"GNF":9005,"GTQ":7.35183,"GYD":208.005254,"HKD":7.80205,"HNL":23.394971,"HRK":6.3737,"HTG":63.826336,"HUF":261.363,"IDR":13511.580047,"ILS":3.488858,"IMP":0.758151,"INR":65.095,"IQD":1183,"IRR":34243.946723,"ISK":105.45,"JEP":0.758151,"JMD":127.402641,"JOD":0.7087,"JPY":113.520125,"KES":103.5,"KGS":68.54748,"KHR":4043,"KMF":417.85,"KPW":900,"KRW":1132.47,"KWD":0.302049,"KYD":0.83332,"KZT":335.75,"LAK":8320,"LBP":1510,"LKR":153.671111,"LRD":118.325,"LSL":13.66,"LYD":1.365,"MAD":9.4315,"MDL":17.350663,"MGA":3093.5,"MKD":52.278905,"MMK":1362,"MNT":2451.53248,"MOP":8.037258,"MRO":355,"MUR":34.0105,"MVR":15.400126,"MWK":725.27,"MXN":18.9962,"MYR":4.225473,"MZN":61,"NAD":13.655,"NGN":360,"NIO":30.55,"NOK":7.988386,"NPR":103.898274,"NZD":1.43561,"OMR":0.384972,"PAB":1,"PEN":3.238973,"PGK":3.19455,"PHP":51.519,"PKR":105.305,"PLN":3.59375,"PYG":5647.5,"QAR":3.784991,"RON":3.905887,"RSD":101.17,"RUB":57.4871,"RWF":841,"SAR":3.7503,"SBD":7.789861,"SCR":13.650879,"SDG":6.68,"SEK":8.166545,"SGD":1.361249,"SHP":0.758151,"SLL":7643.328121,"SOS":593,"SRD":7.448,"SSP":130.4107,"STD":20799.150676,"SVC":8.7491,"SYP":514.98999,"SZL":13.655,"THB":33.203667,"TJS":8.794379,"TMT":3.499986,"TND":2.46871,"TOP":2.236132,"TRY":3.673476,"TTD":6.730194,"TWD":30.27,"TZS":2245.6,"UAH":26.548374,"UGX":3657.8,"USD":1,"UYU":29.602978,"UZS":8061,"VEF":10.07915,"VND":22720.586641,"VUV":105.283334,"WST":2.524673,"XAF":556.94398,"XAG":0.05877693,"XAU":0.00078156,"XCD":2.70255,"XDR":0.708342,"XOF":556.94398,"XPD":0.00102803,"XPF":101.319287,"XPT":0.00108344,"YER":250.2,"ZAR":13.66888,"ZMW":9.7535,"ZWL":322.355011}}

src/shared/components/challenge-listing/Listing/Bucket/index.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export default function Bucket({
2323
bucketId,
2424
challenges,
2525
challengesUrl,
26-
communityName,
2726
expanded,
2827
expand,
2928
filterState,
@@ -70,7 +69,7 @@ export default function Bucket({
7069
<ChallengeCard
7170
challenge={item}
7271
challengesUrl={challengesUrl}
73-
newChallengeDetails={newChallengeDetails || !communityName}
72+
newChallengeDetails={newChallengeDetails}
7473
onTechTagClicked={tag => setFilterState({ tags: [tag] })}
7574
openChallengesInNewTabs={openChallengesInNewTabs}
7675
prizeMode={prizeMode}
@@ -131,7 +130,6 @@ export default function Bucket({
131130
}
132131

133132
Bucket.defaultProps = {
134-
communityName: null,
135133
expanded: false,
136134
expand: _.noop,
137135
keepPlaceholders: false,
@@ -150,7 +148,6 @@ Bucket.propTypes = {
150148
expand: PT.func,
151149
challenges: PT.arrayOf(PT.shape()).isRequired,
152150
challengesUrl: PT.string.isRequired,
153-
communityName: PT.string,
154151
filterState: PT.shape().isRequired,
155152
keepPlaceholders: PT.bool,
156153
loading: PT.bool,
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
import React from 'react';
2+
import PT from 'prop-types';
3+
import { themr } from 'react-css-super-themr';
4+
5+
import defaultStyle from './style.scss';
6+
7+
function Footer(props) {
8+
return (
9+
<footer className={props.theme.footer}>
10+
<div className={props.theme.footerText}>
11+
&copy; Copyright Topcoder Ltd 2017
12+
</div>
13+
</footer>
14+
);
15+
}
16+
17+
Footer.defaultProps = {
18+
text: '',
19+
theme: {
20+
footer: '',
21+
footerText: '',
22+
},
23+
};
24+
25+
Footer.propTypes = {
26+
theme: PT.shape({
27+
footer: PT.string.isRequired,
28+
footerText: PT.string,
29+
}),
30+
};
31+
32+
export default themr('Footer', defaultStyle)(Footer);
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.footer {
2+
padding: 20px;
3+
4+
.footerText {
5+
font-family: 'Akkurat light', sans-serif;
6+
font-size: 12px;
7+
color: #646363;
8+
text-align: center;
9+
}
10+
}

src/shared/routes/Communities/Veterans/Routes.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/**
2-
* Routing of Wipro Community.
2+
* Routing of Veterans Community.
33
*/
44

55
import Error404 from 'components/Error404';
6-
import Footer from 'components/tc-communities/communities/wipro/Footer';
6+
import Footer from 'components/tc-communities/communities/veterans/Footer';
77
import Header from 'containers/tc-communities/Header';
88
import Home from 'components/tc-communities/communities/veterans/Home';
99
import Learn from 'components/tc-communities/communities/veterans/Learn';

src/shared/routes/Topcoder/ChallengeListing.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export default function ChallengeListingRoute() {
3131
<ChallengeListing
3232
{...renderProps}
3333
listingOnly
34+
newChallengeDetails={false}
3435
prizeMode={prizeMode}
3536
/>
3637
);

0 commit comments

Comments
 (0)