generated from heshammourad/heroku-cra-node
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/contest rules content #363
Open
heshammourad
wants to merge
13
commits into
master
Choose a base branch
from
feature/contest-rules-content
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
91867f2
Add GET /staticContent/:id endpoint
heshammourad cbe58bd
Create static content component
heshammourad 72a8447
Add voting instructions static content
heshammourad faba487
Add README to static_content directory
heshammourad c943b71
Correct hook name
heshammourad e1f73fa
Stop using firebase for static content
heshammourad d78df30
Add Contest Rules modal dialog
heshammourad 4f6a7c2
Format HTML file
heshammourad a48ce78
Add trailing whitespace
heshammourad 662d15a
Merge remote-tracking branch 'origin/master' into feature/contest-rul…
heshammourad 9decbc4
Fix merge issues
heshammourad d317127
Fix lint warnings
heshammourad d3798fe
Show contest rules link at the end of the submission prompt
heshammourad File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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,30 @@ | ||
// TODO: Remove when deleting index files | ||
/* eslint-disable no-restricted-imports */ | ||
import Dialog from '@material-ui/core/Dialog'; | ||
import { makeStyles } from '@material-ui/core/styles'; | ||
|
||
import Header from '../../components/Header'; | ||
import PageContainer from '../../components/PageContainer'; | ||
import StaticContent from '../../components/StaticContent'; | ||
|
||
const useStyles = makeStyles((theme) => ({ | ||
container: { | ||
marginTop: theme.spacing(3), | ||
}, | ||
})); | ||
|
||
function ContestRules() { | ||
const classes = useStyles(); | ||
return ( | ||
<Dialog fullScreen open> | ||
<Header position="static" to="/submission"> | ||
Contest Rules | ||
</Header> | ||
<PageContainer className={classes.container}> | ||
<StaticContent id="contest_rules" /> | ||
</PageContainer> | ||
</Dialog> | ||
); | ||
} | ||
|
||
export default ContestRules; |
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,3 +1,3 @@ | ||
The files in this directory are copies of the files that are stored in the static_content table in | ||
the database, placed here for reference. Best effort should be made to keep them in sync, but the | ||
database is the source of truth. | ||
database is the source of truth. |
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,69 @@ | ||
<div> | ||
You will be asked to confirm you followed each rule upon submission. Repeated rule violators will | ||
be banned from the contest for the rest of the year. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So if you break the rules in January you are banned 11 months, but December only the 1? |
||
<ul> | ||
<li> | ||
<b> | ||
<i>Rule 1: Submission limit</i> | ||
</b> | ||
- You may submit up to | ||
<b>TWO</b> | ||
entries to each contest. | ||
<i>In the event</i> | ||
you submit more than two designs, moderators will reach out via Reddit Direct Messages for | ||
clarification. | ||
<i>In the event</i> | ||
clarification is not received, the two most recent entries will be accepted, while all others | ||
will be rejected. | ||
</li> | ||
<li> | ||
<b> | ||
<i>Rule 2: Technical limit</i> | ||
</b> | ||
- Flags should be at most | ||
<b>3000 pixels wide</b> | ||
. They should also be flat and not textured. | ||
</li> | ||
<li> | ||
<b> | ||
<i>Rule 3: Sharing prohibition</i> | ||
</b> | ||
- | ||
<b>DO NOT</b> | ||
post your flag designs elsewhere on the r/vexillology subreddit before the winners are | ||
announced. Don't post it as another thread. Don't post it as a response to the contest | ||
announcement thread. The contest aims to keep the submissions anonymous until results are | ||
announced, so as to avoid a popularity contest. | ||
</li> | ||
<li> | ||
<b> | ||
<i>Rule 4: Attribution requirement</i> | ||
</b> | ||
- If you take components from public domain, or other sources that are not your own work, | ||
please attribute them in the description portion of your submission. | ||
</li> | ||
<li> | ||
<b> | ||
<i>Rule 5: Sincerity requirement</i> | ||
</b> | ||
- Your flag should be a sincere attempt to respond to the prompt. It should not be designed to | ||
troll. | ||
</li> | ||
<li> | ||
<b> | ||
<i>Rule 6: Deadline</i> | ||
</b> | ||
- Entries are generally due by the | ||
<b>18th</b> | ||
of the month, unless otherwise specified in the contest prompt. | ||
</li> | ||
<li> | ||
<b> | ||
<i>Rule 7: Contest specific rules</i> | ||
</b> | ||
- Each contest will have specific rules outlined in the announcement thread. Please read them | ||
and follow them accordingly. | ||
</li> | ||
</ul> | ||
Best of luck! | ||
</div> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not clear to me what this TODO means