From fc4e47cee9529ba8356914092b8b00398f9ac518 Mon Sep 17 00:00:00 2001 From: thisisamank Date: Wed, 30 Dec 2020 17:56:18 +0530 Subject: [PATCH] UI improved --- .eslintcache | 2 +- src/components/landing-header/index.jsx | 2 ++ src/main.scss | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.eslintcache b/.eslintcache index 9c5bb1f..96b45d9 100644 --- a/.eslintcache +++ b/.eslintcache @@ -1 +1 @@ -[{"D:\\Projects\\git\\year-in-review\\src\\index.js":"1","D:\\Projects\\git\\year-in-review\\src\\App.js":"2","D:\\Projects\\git\\year-in-review\\src\\reportWebVitals.js":"3","D:\\Projects\\git\\year-in-review\\src\\containers\\index.js":"4","D:\\Projects\\git\\year-in-review\\src\\containers\\landing\\index.jsx":"5","D:\\Projects\\git\\year-in-review\\src\\constants\\particles.js":"6","D:\\Projects\\git\\year-in-review\\src\\components\\index.js":"7","D:\\Projects\\git\\year-in-review\\src\\components\\loader\\index.jsx":"8","D:\\Projects\\git\\year-in-review\\src\\components\\landing-header\\index.jsx":"9","D:\\Projects\\git\\year-in-review\\src\\containers\\profile\\index.jsx":"10","D:\\Projects\\git\\year-in-review\\src\\components\\report\\index.jsx":"11","D:\\Projects\\git\\year-in-review\\src\\helpers\\api.js":"12","D:\\Projects\\git\\year-in-review\\src\\helpers\\index.js":"13","D:\\Projects\\git\\year-in-review\\src\\helpers\\useScript.js":"14","D:\\Projects\\git\\github-wrapped\\src\\index.js":"15","D:\\Projects\\git\\github-wrapped\\src\\reportWebVitals.js":"16","D:\\Projects\\git\\github-wrapped\\src\\App.js":"17","D:\\Projects\\git\\github-wrapped\\src\\containers\\index.js":"18","D:\\Projects\\git\\github-wrapped\\src\\containers\\profile\\index.jsx":"19","D:\\Projects\\git\\github-wrapped\\src\\containers\\landing\\index.jsx":"20","D:\\Projects\\git\\github-wrapped\\src\\constants\\particles.js":"21","D:\\Projects\\git\\github-wrapped\\src\\components\\index.js":"22","D:\\Projects\\git\\github-wrapped\\src\\helpers\\index.js":"23","D:\\Projects\\git\\github-wrapped\\src\\components\\report\\index.jsx":"24","D:\\Projects\\git\\github-wrapped\\src\\helpers\\api.js":"25","D:\\Projects\\git\\github-wrapped\\src\\helpers\\useScript.js":"26","D:\\Projects\\git\\github-wrapped\\src\\components\\loader\\index.jsx":"27","D:\\Projects\\git\\github-wrapped\\src\\components\\landing-header\\index.jsx":"28","C:\\Users\\ishan\\Documents\\github-wrapped\\src\\index.js":"29","C:\\Users\\ishan\\Documents\\github-wrapped\\src\\App.js":"30","C:\\Users\\ishan\\Documents\\github-wrapped\\src\\reportWebVitals.js":"31","C:\\Users\\ishan\\Documents\\github-wrapped\\src\\containers\\index.js":"32","C:\\Users\\ishan\\Documents\\github-wrapped\\src\\containers\\landing\\index.jsx":"33","C:\\Users\\ishan\\Documents\\github-wrapped\\src\\containers\\profile\\index.jsx":"34","C:\\Users\\ishan\\Documents\\github-wrapped\\src\\constants\\particles.js":"35","C:\\Users\\ishan\\Documents\\github-wrapped\\src\\components\\index.js":"36","C:\\Users\\ishan\\Documents\\github-wrapped\\src\\helpers\\index.js":"37","C:\\Users\\ishan\\Documents\\github-wrapped\\src\\components\\report\\index.jsx":"38","C:\\Users\\ishan\\Documents\\github-wrapped\\src\\helpers\\useScript.js":"39","C:\\Users\\ishan\\Documents\\github-wrapped\\src\\helpers\\api.js":"40","C:\\Users\\ishan\\Documents\\github-wrapped\\src\\components\\loader\\index.jsx":"41","C:\\Users\\ishan\\Documents\\github-wrapped\\src\\components\\landing-header\\index.jsx":"42"},{"size":500,"mtime":1608919117782,"results":"43","hashOfConfig":"44"},{"size":484,"mtime":1608842186487,"results":"45","hashOfConfig":"44"},{"size":362,"mtime":1607194323451,"results":"46","hashOfConfig":"44"},{"size":106,"mtime":1608798026093,"results":"47","hashOfConfig":"44"},{"size":1958,"mtime":1608845692886,"results":"48","hashOfConfig":"44"},{"size":2008,"mtime":1608795842988,"results":"49","hashOfConfig":"44"},{"size":185,"mtime":1608850896802,"results":"50","hashOfConfig":"44"},{"size":293,"mtime":1608797644836,"results":"51","hashOfConfig":"44"},{"size":1060,"mtime":1608914906729,"results":"52","hashOfConfig":"44"},{"size":6840,"mtime":1608921096605,"results":"53","hashOfConfig":"44"},{"size":2710,"mtime":1608914897891,"results":"54","hashOfConfig":"44"},{"size":216,"mtime":1608881660683,"results":"55","hashOfConfig":"44"},{"size":82,"mtime":1608883003631,"results":"56","hashOfConfig":"44"},{"size":413,"mtime":1608882992672,"results":"57","hashOfConfig":"44"},{"size":500,"mtime":1608919117782,"results":"58","hashOfConfig":"59"},{"size":362,"mtime":1607194323451,"results":"60","hashOfConfig":"59"},{"size":484,"mtime":1608842186487,"results":"61","hashOfConfig":"59"},{"size":106,"mtime":1608798026093,"results":"62","hashOfConfig":"59"},{"size":6717,"mtime":1608972929134,"results":"63","hashOfConfig":"59"},{"size":1958,"mtime":1608845692886,"results":"64","hashOfConfig":"59"},{"size":2008,"mtime":1608795842988,"results":"65","hashOfConfig":"59"},{"size":185,"mtime":1608850896802,"results":"66","hashOfConfig":"59"},{"size":82,"mtime":1608883003631,"results":"67","hashOfConfig":"59"},{"size":2710,"mtime":1608914897891,"results":"68","hashOfConfig":"59"},{"size":211,"mtime":1608921217033,"results":"69","hashOfConfig":"59"},{"size":413,"mtime":1608882992672,"results":"70","hashOfConfig":"59"},{"size":293,"mtime":1608797644836,"results":"71","hashOfConfig":"59"},{"size":1060,"mtime":1608914906729,"results":"72","hashOfConfig":"59"},{"size":517,"mtime":1609266330545,"results":"73","hashOfConfig":"74"},{"size":509,"mtime":1609266330528,"results":"75","hashOfConfig":"74"},{"size":375,"mtime":1609266330546,"results":"76","hashOfConfig":"74"},{"size":106,"mtime":1609266330540,"results":"77","hashOfConfig":"74"},{"size":1958,"mtime":1609267267287,"results":"78","hashOfConfig":"74"},{"size":6717,"mtime":1609266330541,"results":"79","hashOfConfig":"74"},{"size":2008,"mtime":1609266330539,"results":"80","hashOfConfig":"74"},{"size":185,"mtime":1609266330535,"results":"81","hashOfConfig":"74"},{"size":82,"mtime":1609266330544,"results":"82","hashOfConfig":"74"},{"size":2710,"mtime":1609266330537,"results":"83","hashOfConfig":"74"},{"size":413,"mtime":1609266330544,"results":"84","hashOfConfig":"74"},{"size":211,"mtime":1609266330543,"results":"85","hashOfConfig":"74"},{"size":293,"mtime":1609266330537,"results":"86","hashOfConfig":"74"},{"size":1173,"mtime":1609267351939,"results":"87","hashOfConfig":"74"},{"filePath":"88","messages":"89","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"j1i3eb",{"filePath":"90","messages":"91","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"95","messages":"96","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"97","messages":"98","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"99","messages":"100","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"101","messages":"102","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"103","messages":"104","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"105","messages":"106","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"107","usedDeprecatedRules":"92"},{"filePath":"108","messages":"109","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"110","messages":"111","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"112","usedDeprecatedRules":"92"},{"filePath":"113","messages":"114","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"115","messages":"116","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"117","messages":"118","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"119","messages":"120","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"yya0es",{"filePath":"121","messages":"122","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"123","messages":"124","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"125","messages":"126","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"127","messages":"128","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"129","messages":"130","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"131","messages":"132","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"133","messages":"134","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"135","messages":"136","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"137","messages":"138","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"139","messages":"140","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"141","messages":"142","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"143","messages":"144","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"145","messages":"146","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"147","messages":"148","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"5mei2i",{"filePath":"149","messages":"150","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"151","messages":"152","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"153","messages":"154","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"155","messages":"156","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"157","messages":"158","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"159","messages":"160","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"161","messages":"162","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"163","messages":"164","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"165","messages":"166","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"167","messages":"168","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"169","messages":"170","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"171","messages":"172","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"173","messages":"174","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"D:\\Projects\\git\\year-in-review\\src\\index.js",[],"D:\\Projects\\git\\year-in-review\\src\\App.js",[],["175","176"],"D:\\Projects\\git\\year-in-review\\src\\reportWebVitals.js",[],"D:\\Projects\\git\\year-in-review\\src\\containers\\index.js",[],"D:\\Projects\\git\\year-in-review\\src\\containers\\landing\\index.jsx",[],"D:\\Projects\\git\\year-in-review\\src\\constants\\particles.js",[],"D:\\Projects\\git\\year-in-review\\src\\components\\index.js",[],"D:\\Projects\\git\\year-in-review\\src\\components\\loader\\index.jsx",[],"D:\\Projects\\git\\year-in-review\\src\\components\\landing-header\\index.jsx",["177"],"import React from \"react\";\r\n\r\nexport default function LandingHeader({\r\n inputHandler,\r\n keyUpHandler,\r\n username\r\n}) {\r\n return (\r\n <>\r\n

GitHub Wrapped

\r\n

2020

\r\n\r\n

\r\n This has been a challenging year for all of us.\r\n

\r\n\r\n

\r\n Let's take a look back at all the contributions\r\n you as an individual\r\n
\r\n made to the open-source community, during these unprecedented times.\r\n

\r\n\r\n \r\n \r\n Press 'Enter' to submit\r\n \r\n \r\n );\r\n}\r\n","D:\\Projects\\git\\year-in-review\\src\\containers\\profile\\index.jsx",["178","179","180","181","182"],"D:\\Projects\\git\\year-in-review\\src\\components\\report\\index.jsx",["183"],"import React from \"react\";\r\nimport \"./style.scss\";\r\n\r\nexport default function Report({ username, commits, stars, pr, issues, reportReference }) {\r\n const dataFormatter = (data) => {\r\n if (data > 1000) {\r\n return `${(data / 1000).toFixed(1)}k`;\r\n }\r\n return `${data}`;\r\n };\r\n\r\n return (\r\n
\r\n \r\n\r\n
\r\n

\r\n {username} 's\r\n

\r\n
\r\n

2020

\r\n

Year in review

\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
{dataFormatter(commits)}
\r\n
Commits
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
{dataFormatter(stars)}
\r\n
Stars
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
{dataFormatter(pr)}
\r\n
Pull Requests
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
{dataFormatter(issues)}
\r\n
Issues
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n );\r\n}\r\n","D:\\Projects\\git\\year-in-review\\src\\helpers\\api.js",[],"D:\\Projects\\git\\year-in-review\\src\\helpers\\index.js",[],"D:\\Projects\\git\\year-in-review\\src\\helpers\\useScript.js",[],"D:\\Projects\\git\\github-wrapped\\src\\index.js",[],"D:\\Projects\\git\\github-wrapped\\src\\reportWebVitals.js",[],"D:\\Projects\\git\\github-wrapped\\src\\App.js",[],"D:\\Projects\\git\\github-wrapped\\src\\containers\\index.js",[],"D:\\Projects\\git\\github-wrapped\\src\\containers\\profile\\index.jsx",["184","185","186","187","188"],"D:\\Projects\\git\\github-wrapped\\src\\containers\\landing\\index.jsx",[],"D:\\Projects\\git\\github-wrapped\\src\\constants\\particles.js",[],"D:\\Projects\\git\\github-wrapped\\src\\components\\index.js",[],"D:\\Projects\\git\\github-wrapped\\src\\helpers\\index.js",[],"D:\\Projects\\git\\github-wrapped\\src\\components\\report\\index.jsx",["189"],"D:\\Projects\\git\\github-wrapped\\src\\helpers\\api.js",[],"D:\\Projects\\git\\github-wrapped\\src\\helpers\\useScript.js",[],"D:\\Projects\\git\\github-wrapped\\src\\components\\loader\\index.jsx",[],"D:\\Projects\\git\\github-wrapped\\src\\components\\landing-header\\index.jsx",["190"],"C:\\Users\\ishan\\Documents\\github-wrapped\\src\\index.js",[],"C:\\Users\\ishan\\Documents\\github-wrapped\\src\\App.js",[],"C:\\Users\\ishan\\Documents\\github-wrapped\\src\\reportWebVitals.js",[],"C:\\Users\\ishan\\Documents\\github-wrapped\\src\\containers\\index.js",[],"C:\\Users\\ishan\\Documents\\github-wrapped\\src\\containers\\landing\\index.jsx",[],"C:\\Users\\ishan\\Documents\\github-wrapped\\src\\containers\\profile\\index.jsx",["191","192","193","194","195"],"C:\\Users\\ishan\\Documents\\github-wrapped\\src\\constants\\particles.js",[],"C:\\Users\\ishan\\Documents\\github-wrapped\\src\\components\\index.js",[],"C:\\Users\\ishan\\Documents\\github-wrapped\\src\\helpers\\index.js",[],"C:\\Users\\ishan\\Documents\\github-wrapped\\src\\components\\report\\index.jsx",["196"],"C:\\Users\\ishan\\Documents\\github-wrapped\\src\\helpers\\useScript.js",[],"C:\\Users\\ishan\\Documents\\github-wrapped\\src\\helpers\\api.js",[],"C:\\Users\\ishan\\Documents\\github-wrapped\\src\\components\\loader\\index.jsx",[],"C:\\Users\\ishan\\Documents\\github-wrapped\\src\\components\\landing-header\\index.jsx",["197"],{"ruleId":"198","replacedBy":"199"},{"ruleId":"200","replacedBy":"201"},{"ruleId":"202","severity":1,"message":"203","line":35,"column":36,"nodeType":"204","messageId":"205","endLine":35,"endColumn":38},{"ruleId":"202","severity":1,"message":"206","line":46,"column":26,"nodeType":"204","messageId":"205","endLine":46,"endColumn":28},{"ruleId":"207","severity":1,"message":"208","line":119,"column":6,"nodeType":"209","endLine":119,"endColumn":8,"suggestions":"210"},{"ruleId":"211","severity":1,"message":"212","line":141,"column":19,"nodeType":"213","endLine":141,"endColumn":34},{"ruleId":"211","severity":1,"message":"212","line":175,"column":17,"nodeType":"213","endLine":175,"endColumn":32},{"ruleId":"211","severity":1,"message":"212","line":207,"column":17,"nodeType":"213","endLine":207,"endColumn":32},{"ruleId":"214","severity":1,"message":"215","line":14,"column":7,"nodeType":"216","endLine":14,"endColumn":72},{"ruleId":"202","severity":1,"message":"203","line":45,"column":24,"nodeType":"204","messageId":"205","endLine":45,"endColumn":26},{"ruleId":"207","severity":1,"message":"208","line":112,"column":6,"nodeType":"209","endLine":112,"endColumn":8,"suggestions":"217"},{"ruleId":"211","severity":1,"message":"212","line":134,"column":19,"nodeType":"213","endLine":134,"endColumn":34},{"ruleId":"211","severity":1,"message":"212","line":168,"column":17,"nodeType":"213","endLine":168,"endColumn":32},{"ruleId":"211","severity":1,"message":"212","line":200,"column":17,"nodeType":"213","endLine":200,"endColumn":32},{"ruleId":"214","severity":1,"message":"215","line":14,"column":7,"nodeType":"216","endLine":14,"endColumn":72},{"ruleId":"202","severity":1,"message":"203","line":35,"column":36,"nodeType":"204","messageId":"205","endLine":35,"endColumn":38},{"ruleId":"202","severity":1,"message":"203","line":45,"column":24,"nodeType":"204","messageId":"205","endLine":45,"endColumn":26},{"ruleId":"207","severity":1,"message":"208","line":112,"column":6,"nodeType":"209","endLine":112,"endColumn":8,"suggestions":"218"},{"ruleId":"211","severity":1,"message":"212","line":134,"column":19,"nodeType":"213","endLine":134,"endColumn":34},{"ruleId":"211","severity":1,"message":"212","line":168,"column":17,"nodeType":"213","endLine":168,"endColumn":32},{"ruleId":"211","severity":1,"message":"212","line":200,"column":17,"nodeType":"213","endLine":200,"endColumn":32},{"ruleId":"214","severity":1,"message":"215","line":14,"column":7,"nodeType":"216","endLine":14,"endColumn":72},{"ruleId":"202","severity":1,"message":"203","line":37,"column":36,"nodeType":"204","messageId":"205","endLine":37,"endColumn":38},"no-native-reassign",["219"],"no-negated-in-lhs",["220"],"eqeqeq","Expected '===' and instead saw '=='.","BinaryExpression","unexpected","Expected '!==' and instead saw '!='.","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'fetchReport'. Either include it or remove the dependency array.","ArrayExpression",["221"],"react/jsx-no-target-blank","Using target=\"_blank\" without rel=\"noreferrer\" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener","JSXAttribute","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement",["222"],["223"],"no-global-assign","no-unsafe-negation",{"desc":"224","fix":"225"},{"desc":"224","fix":"226"},{"desc":"224","fix":"227"},"Update the dependencies array to be: [fetchReport]",{"range":"228","text":"229"},{"range":"230","text":"229"},{"range":"231","text":"229"},[3039,3041],"[fetchReport]",[2927,2929],[2927,2929]] \ No newline at end of file +[{"C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\index.js":"1","C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\reportWebVitals.js":"2","C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\App.js":"3","C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\containers\\index.js":"4","C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\containers\\landing\\index.jsx":"5","C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\containers\\profile\\index.jsx":"6","C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\constants\\particles.js":"7","C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\components\\index.js":"8","C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\helpers\\index.js":"9","C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\components\\report\\index.jsx":"10","C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\helpers\\api.js":"11","C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\helpers\\useScript.js":"12","C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\components\\loader\\index.jsx":"13","C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\components\\landing-header\\index.jsx":"14"},{"size":517,"mtime":1609330755188,"results":"15","hashOfConfig":"16"},{"size":375,"mtime":1609330755188,"results":"17","hashOfConfig":"16"},{"size":509,"mtime":1609330755179,"results":"18","hashOfConfig":"16"},{"size":106,"mtime":1609330755185,"results":"19","hashOfConfig":"16"},{"size":1958,"mtime":1609330755185,"results":"20","hashOfConfig":"16"},{"size":6717,"mtime":1609330755186,"results":"21","hashOfConfig":"16"},{"size":2008,"mtime":1609330755184,"results":"22","hashOfConfig":"16"},{"size":185,"mtime":1609330755182,"results":"23","hashOfConfig":"16"},{"size":82,"mtime":1609330755187,"results":"24","hashOfConfig":"16"},{"size":2702,"mtime":1609330755183,"results":"25","hashOfConfig":"16"},{"size":211,"mtime":1609330755187,"results":"26","hashOfConfig":"16"},{"size":413,"mtime":1609330755187,"results":"27","hashOfConfig":"16"},{"size":293,"mtime":1609330755183,"results":"28","hashOfConfig":"16"},{"size":1222,"mtime":1609330880160,"results":"29","hashOfConfig":"16"},{"filePath":"30","messages":"31","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"6zur5g",{"filePath":"32","messages":"33","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"34","messages":"35","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"36","messages":"37","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"38","messages":"39","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"40","messages":"41","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"42","messages":"43","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"46","messages":"47","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"48","messages":"49","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"50","messages":"51","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"52","messages":"53","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"54","messages":"55","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"56","messages":"57","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},"C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\index.js",[],"C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\reportWebVitals.js",[],"C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\App.js",[],"C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\containers\\index.js",[],"C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\containers\\landing\\index.jsx",[],"C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\containers\\profile\\index.jsx",["58","59","60","61","62"],"C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\constants\\particles.js",[],"C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\components\\index.js",[],"C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\helpers\\index.js",[],"C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\components\\report\\index.jsx",["63"],"C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\helpers\\api.js",[],"C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\helpers\\useScript.js",[],"C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\components\\loader\\index.jsx",[],"C:\\Users\\Aman Kumar\\Desktop\\projects\\github-wrapped\\src\\components\\landing-header\\index.jsx",["64"],{"ruleId":"65","severity":1,"message":"66","line":45,"column":24,"nodeType":"67","messageId":"68","endLine":45,"endColumn":26},{"ruleId":"69","severity":1,"message":"70","line":112,"column":6,"nodeType":"71","endLine":112,"endColumn":8,"suggestions":"72"},{"ruleId":"73","severity":1,"message":"74","line":132,"column":17,"nodeType":"75","endLine":137,"endColumn":18},{"ruleId":"73","severity":1,"message":"74","line":167,"column":15,"nodeType":"75","endLine":172,"endColumn":16},{"ruleId":"73","severity":1,"message":"74","line":199,"column":15,"nodeType":"75","endLine":203,"endColumn":16},{"ruleId":"76","severity":1,"message":"77","line":14,"column":7,"nodeType":"75","endLine":14,"endColumn":72},{"ruleId":"65","severity":1,"message":"66","line":38,"column":36,"nodeType":"67","messageId":"68","endLine":38,"endColumn":38},"eqeqeq","Expected '===' and instead saw '=='.","BinaryExpression","unexpected","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'fetchReport'. Either include it or remove the dependency array.","ArrayExpression",["78"],"react/jsx-no-target-blank","Using target=\"_blank\" without rel=\"noreferrer\" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener","JSXOpeningElement","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.",{"desc":"79","fix":"80"},"Update the dependencies array to be: [fetchReport]",{"range":"81","text":"82"},[2927,2929],"[fetchReport]"] \ No newline at end of file diff --git a/src/components/landing-header/index.jsx b/src/components/landing-header/index.jsx index be879e6..0262824 100644 --- a/src/components/landing-header/index.jsx +++ b/src/components/landing-header/index.jsx @@ -7,6 +7,7 @@ export default function LandingHeader({ }) { return ( <> +

GitHub Wrapped

2020

@@ -38,6 +39,7 @@ export default function LandingHeader({ > Press 'Enter' to submit
+ ); } diff --git a/src/main.scss b/src/main.scss index 674a0be..315f36a 100644 --- a/src/main.scss +++ b/src/main.scss @@ -16,6 +16,12 @@ font-size: 16px; } +.landing__card{ + background-color: rgba(0, 0, 0, 0.589); + border-radius: 20px; + padding: 20px; +} + body { background-color: var(--color-primary); background: url("./assets/images/background.png");