Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions IFComp/lib/IFComp/Controller/Root.pm
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ sub index : Path : Args(0) {
$c->stash->{cf} = $c->model('ColossalFund');
}

sub restricted : Path('restricted') : Args(0) {
my ( $self, $c ) = @_;

$c->stash->{template} = 'restricted.tt';
}

=head2 default

Standard 404 error page
Expand Down
1 change: 1 addition & 0 deletions IFComp/root/lib/site/header
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ END;
<li><a class="dropdown-item" href="http://blog.ifcomp.org">Blog</a></li>
<li><a class="dropdown-item" href="http://twitter.com/ifcomp">Twitter</a></li>
<li><a class="dropdown-item" rel="me" href="https://mastodon.gamedev.place/@IFComp">Mastodon</a></li>
<li><a class="dropdown-item" href="https://bsky.app/profile/ifcomp.org">Bluesky</a></li>
</ul>
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion IFComp/root/src/about/comp.tt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ is permanently recorded in <a href="[% c.uri_for_action( 'comp/last_comp' )
<h2 id="banana">Golden Banana of Discord</h2>

<p>This special award goes every year to the entry with the highest standard
distribution among its ratings &mdash; roughly speaking, the entries with the
deviation among its ratings &mdash; roughly speaking, the entries with the
most disagreement among those who rated it. <a
href="http://ifwiki.org/index.php/Golden_Banana_of_Discord">The IFWiki keeps a
record of every year's GBoD winner</a>, as well as a bit of history about this
Expand Down
11 changes: 11 additions & 0 deletions IFComp/root/src/restricted.tt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[% meta.title = 'IFComp - Access Restricted' %]
<div class="container">
<div class="alert alert-warning">
<p>
Due to the <a href="https://www.gov.uk/government/publications/online-safety-act-explainer">UK Online Safety Act</a>,
games with content covered by that act are currently unavailable to users in the United Kingdom.
We are looking into means of age verification, but that may not be implemented prior to the conclusion of
this year's competition. We apologize for the inconvenience.
</p>
</div>
</div>
2 changes: 1 addition & 1 deletion IFComp/root/src/welcome.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<h3>An annual celebration of new, text-driven digital games and stories from independent creators.</h3>
</div>
<div class="col-md-4">
<a href="[% c.uri_for_action( '/comp/comp' ) %]"><img class="hidden-xs img-fluid" src="/static/images/245x245-comp2024-logo.png" alt="IFComp logo"></a>
<a href="[% c.uri_for_action( '/comp/comp' ) %]"><img class="hidden-xs img-fluid" src="/static/images/245x245-comp2025-logo.png" alt="IFComp logo"></a>
</div>
</div></div>
</div>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.