Skip to content

Commit

Permalink
Merge pull request #29 from nirvikbaruah/master
Browse files Browse the repository at this point in the history
Updated colour scheme
  • Loading branch information
nirvikbaruah authored Dec 12, 2020
2 parents 249c6a7 + 46d4ef8 commit 8d6a622
Show file tree
Hide file tree
Showing 25 changed files with 40 additions and 147 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.env
.env
.DS_Store
Binary file modified public/.DS_Store
Binary file not shown.
Binary file added public/images/.DS_Store
Binary file not shown.
Binary file added public/images/favicon/.DS_Store
Binary file not shown.
Binary file removed public/images/favicon/android-chrome-192x192.png
Binary file not shown.
Binary file removed public/images/favicon/apple-touch-icon.png
Binary file not shown.
9 changes: 0 additions & 9 deletions public/images/favicon/browserconfig.xml

This file was deleted.

Binary file removed public/images/favicon/favicon-16x16.png
Binary file not shown.
Binary file removed public/images/favicon/favicon-32x32.png
Binary file not shown.
Binary file modified public/images/favicon/favicon.ico
Binary file not shown.
Binary file removed public/images/favicon/mstile-150x150.png
Binary file not shown.
72 changes: 0 additions & 72 deletions public/images/favicon/safari-pinned-tab.svg

This file was deleted.

14 changes: 0 additions & 14 deletions public/images/favicon/site.webmanifest

This file was deleted.

2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"sizes": "32x32",
"type": "image/x-icon"
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/index.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "sass/themes/pink_palm_tree";
@import "sass/themes/green_sprout";
@import "sass/global";

$navbar-logo-font-size: 36px;
Expand Down
Binary file modified src/js/.DS_Store
Binary file not shown.
29 changes: 14 additions & 15 deletions src/js/ideas.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ class Table extends React.Component {
user_json =>
user_json.forms.meet_info &&
user_json.forms.meet_info.showProfile &&
user_json.forms.meet_info.idea &&
user_list.push(user_json)
);
console.log(user_list);

// For testing with many users
// for (let i = 1; user_list.length < 500; i++) {
Expand All @@ -61,7 +61,6 @@ class Table extends React.Component {
var fuse = new Fuse(user_list, {
keys: [
"forms.meet_info.idea",
"forms.meet_info.verticals",
"forms.meet_info.first_name"
]
});
Expand Down Expand Up @@ -173,19 +172,19 @@ class Entry extends React.Component {
<p>{idea}</p>
</ Linkify>
</div>
<div className="tags">
{verticals &&
verticals.length > 0 &&
verticals.map(vertical => (
<div
className="tag"
key={vertical}
style={{ backgroundColor: colors[this.getColorNum(vertical)] }}
>
{vertical}
</div>
))}
</div>
{/* <div className="tags"> */}
{/* {verticals && */}
{/* verticals.length > 0 && */}
{/* verticals.map(vertical => ( */}
{/* <div */}
{/* className="tag" */}
{/* key={vertical} */}
{/* style={{ backgroundColor: colors[this.getColorNum(vertical)] }} */}
{/* > */}
{/* {vertical} */}
{/* </div> */}
{/* ))} */}
{/* </div> */}
<div className="contact">
<ReactGA.OutboundLink
eventLabel="Contact"
Expand Down
3 changes: 1 addition & 2 deletions src/js/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,14 @@ class Table extends React.Component {

async componentDidMount() {
const body = await API.get("treehacks", "/users_meet", {});
console.log(body);
let user_list = [];
body["results"].map(
user_json =>
user_json.forms.meet_info &&
user_json.forms.meet_info.showProfile &&
user_json.forms.meet_info.profileDesc &&
user_list.push(user_json)
);
console.log(user_list);

// For testing with many users
// for (let i = 1; user_list.length < 500; i++) {
Expand Down
Binary file added src/sass/.DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions src/sass/global.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import "themes/default";

.main-button,
.btn {
font-weight: bold;
Expand Down
2 changes: 1 addition & 1 deletion src/sass/loading.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import "themes/pink_palm_tree";
@import "themes/green_sprout";
@import "global";

.treehacks-error-container {
Expand Down
Binary file added src/sass/themes/.DS_Store
Binary file not shown.
22 changes: 10 additions & 12 deletions src/sass/themes/default.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
/* Color Palette */
$background-color: #FFFFFF;
$background-color-light-border: #DCDCDC;
@import "green_sprout";

$primary-color: #888888;
$secondary-color: #888888;
$tertiary-color: #888888;
$box-color: #FFFFFF;

$text-gray: #ADADAD;
$text-color: #000000;
$secondary-text-color: #000000;
$background-color: hsl(339, 77%, 99%);
$background-color-light-border: #eeeeee;

$primary-color: #0D9071;
$secondary-color: #E83028;
$tertiary-color: #FF730E;

$text-color: #696E76;
$secondary-text-color: #535152;
$primary-btn-text-color: #FFFFFF;

$light-gray: #DDD;
$dark-gray: #535152;
$gray: #888888;

/* Fonts */
$navbar-font-size: 16px * 1.18;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
@import "default.scss";
// Proxima Nova font
@import url("https://use.typekit.net/vam8uoe.css");

$background-color: hsl(339, 77%, 99%);
$background-color-light-border: #eeeeee;

$primary-color: #E51B5D;
$secondary-color: #F46E20;
$tertiary-color: #A7DDE8;
$primary-color: #0D9071;
$secondary-color: #E83028;
$tertiary-color: #FF730E;

$text-color: #696E76;
$secondary-text-color: #535152;
$primary-btn-text-color: #FFFFFF;

$base-font-family: proxima-nova, sans-serif;
$font-size: 18px;
$base-font-family: proxima-nova, sans-serif;
17 changes: 3 additions & 14 deletions src/svg/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8d6a622

Please sign in to comment.