Skip to content

Commit

Permalink
Merge pull request #26 from v-rohan/master
Browse files Browse the repository at this point in the history
[UPDATE] Converted pages to functional components, and aiming to resove issues #17, #18, #19, #20
  • Loading branch information
arc9693 authored Oct 28, 2020
2 parents 896d2b7 + 735d921 commit 8f25fef
Show file tree
Hide file tree
Showing 78 changed files with 3,498 additions and 2,946 deletions.
Empty file modified manage.py
100755 → 100644
Empty file.
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file modified website/.babelrc
100755 → 100644
Empty file.
Empty file modified website/.gitignore
100755 → 100644
Empty file.
Empty file modified website/.replit
100755 → 100644
Empty file.
Empty file modified website/README.md
100755 → 100644
Empty file.
53 changes: 0 additions & 53 deletions website/components/Navbar.tsx

This file was deleted.

251 changes: 0 additions & 251 deletions website/components/NewappbarOLD.js

This file was deleted.

Empty file modified website/components/Timer.tsx
100755 → 100644
Empty file.
Empty file modified website/components/UserContextProvider.jsx
100755 → 100644
Empty file.
5 changes: 2 additions & 3 deletions website/components/announcements.tsx
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react';
import Announcement from 'react-announcement'

export default class announcement extends React.Component {
render () {
export default function announcement() {

return (
<Announcement
title="Here is your component"
Expand All @@ -16,4 +16,3 @@ export default class announcement extends React.Component {
/>
)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import "ace-builds/src-noconflict/mode-python";
import "ace-builds/src-noconflict/mode-java";
import "ace-builds/src-noconflict/theme-kr_theme";
import "ace-builds/src-noconflict/snippets/c_cpp";
import "ace-builds/src-noconflict/theme-github";
import "ace-builds/src-noconflict/snippets/java";
import "ace-builds/src-noconflict/snippets/python";
import "ace-builds/src-min-noconflict/ext-language_tools";
Expand All @@ -26,7 +27,7 @@ function Viewer(props: IProps) {

<AceEditor
mode={dict[props.lang]}
theme={"kr_theme"}
theme={"github"}
value={props.value}
readOnly={true}
fontSize={18}
Expand Down
Loading

0 comments on commit 8f25fef

Please sign in to comment.