forked from jatinverma14/Frontend-Revamp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
293 additions
and
277 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npm run prettyCheck |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
.logo { | ||
float: left; | ||
width: 120px; | ||
height: 31px; | ||
margin: 16px 24px 16px 0; | ||
background: rgba(255, 255, 255, 0.3); | ||
} | ||
.ant-row-rtl .logo { | ||
float: right; | ||
margin: 16px 0 16px 24px; | ||
} | ||
float: left; | ||
width: 120px; | ||
height: 31px; | ||
margin: 16px 24px 16px 0; | ||
background: rgba(255, 255, 255, 0.3); | ||
} | ||
.ant-row-rtl .logo { | ||
float: right; | ||
margin: 16px 0 16px 24px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,29 @@ | ||
import React from 'react' | ||
import 'antd/dist/antd.css'; | ||
import { Card } from 'antd'; | ||
import '../styles/Accordion/accordion.css'; | ||
import 'antd/dist/antd.css' | ||
import { Card } from 'antd' | ||
import '../styles/Accordion/accordion.css' | ||
|
||
export default function SimpleAccordion({ problem }) { | ||
return (<> | ||
<Card className='mainCard'> | ||
<Card className='problemName' type="inner" title={problem.name} extra={<a className='solveLink' target="blank" href={`https://codeforces.com/contest/${problem.contestId}`}>Solve</a>}> | ||
<strong>Duration</strong> : {problem.duration / 60 / 60} hours | ||
</Card> | ||
</Card> | ||
</> | ||
) | ||
return ( | ||
<> | ||
<Card className="mainCard"> | ||
<Card | ||
className="problemName" | ||
type="inner" | ||
title={problem.name} | ||
extra={ | ||
<a | ||
className="solveLink" | ||
target="blank" | ||
href={`https://codeforces.com/contest/${problem.contestId}`} | ||
> | ||
Solve | ||
</a> | ||
} | ||
> | ||
<strong>Duration</strong> : {problem.duration / 60 / 60} hours | ||
</Card> | ||
</Card> | ||
</> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import './index.css'; | ||
import App from './App'; | ||
import {BrowserRouter} from 'react-router-dom' | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import './index.css' | ||
import App from './App' | ||
|
||
ReactDOM.render( | ||
<React.StrictMode> | ||
<App /> </React.StrictMode>, | ||
document.getElementById('root') | ||
); | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.