Skip to content

Commit 598734b

Browse files
committed
add disclaimers
1 parent cdd87c2 commit 598734b

File tree

3 files changed

+31
-10
lines changed

3 files changed

+31
-10
lines changed
26.2 KB
Binary file not shown.

app/src/pages/index.tsx

+15-9
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,33 @@ import React from 'react';
22

33
const Home: React.FunctionComponent = () => {
44
return (
5-
<div className='bg-gray-200 min-h-screen'>
6-
<div className='text-center bg-white py-5' style={ { borderTop: 'rgb(191,13,62) solid 45px', borderBottom: 'rgb(10,49,97) solid 45px' } }>
5+
<div className='flex flex-col items-center bg-gray-200 min-h-screen'>
6+
<div className='text-center bg-white w-full py-5' style={ { borderTop: 'rgb(191,13,62) solid 45px', borderBottom: 'rgb(10,49,97) solid 45px' } }>
77
<div className='flex flex-row items-center justify-center'>
88
<span className='text-2xl text-flag-blue'></span>
99
<h1 className='text-6xl text-bold text-yellow-400 font-big-star uppercase leading-none px-5'>
1010
Firebrand
1111
</h1>
1212
<span className='text-2xl text-flag-blue'></span>
1313
</div>
14-
<h3 className='text-xl text-flag-red font-big-star'>ELO Ratings for U.S. Politicians</h3>
14+
<h3 className='text-xl text-flag-red font-big-star'>ELO* Ratings for U.S. Politicians</h3>
1515
</div>
16-
<h3 className='text-3xl text-center font-big-star py-3'>Top Politicians</h3>
17-
<div className='rounded-lg bg-gray-100 w-5/6 mx-auto'>
16+
<h3 className='text-3xl text-center font-big-star w-3/4 py-1 my-2' style={ { borderBottom: 'black solid 5px' } }>Top Rated Politicians</h3>
17+
<div className='flex flex-row justify-around font-big-noodle w-3/4 my-1'>
18+
<span>* Ratings are technically calculated using Trueskill, not ELO</span>
19+
<span>** Ratings are purely for entertainment purposes</span>
20+
</div>
21+
<div className='rounded-lg bg-gray-100 font-big-noodle w-5/6'>
1822
<ul>
1923
<li className='flex flex-row items-center rounded-lg hover:bg-gray-300 cursor-pointer text-2xl p-3'>
20-
<img src='/badges/rank-GrandmasterTier.png' height={ 50 } width={ 50 }/>
21-
<span className='text-outlined text-white text-3xl font-big-noodle mr-5'>3700</span>Bernie Sanders
24+
1.
25+
<img src='/badges/rank-GrandmasterTier.png' height={ 50 } width={ 50 } className='mx-1'/>
26+
<i className='text-outlined text-white text-3xl mr-3'>3700</i>Bernie Sanders
2227
</li>
2328
<li className='flex flex-row items-center rounded-lg hover:bg-gray-300 cursor-pointer text-2xl p-3'>
24-
<img src='/badges/rank-GrandmasterTier.png' height={ 50 } width={ 50 }/>
25-
<span className='text-outlined text-white text-3xl font-big-noodle mr-5'>3655</span>Barack Obama
29+
2.
30+
<img src='/badges/rank-GrandmasterTier.png' height={ 50 } width={ 50 } className='mx-1'/>
31+
<i className='text-outlined text-white text-3xl mr-3'>3655</i>Barack Obama
2632
</li>
2733
</ul>
2834
</div>

app/src/styles/style.css

+16-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
@font-face {
44
src: url("/fonts/big_noodle_titling_oblique.ttf") format("truetype");
55
font-family: Big Noodle Too;
6+
font-style: italic;
7+
}
8+
9+
@font-face {
10+
src: url("/fonts/big_noodle_titling.ttf") format("truetype");
11+
font-family: Big Noodle Too;
612
}
713

814
@font-face {
@@ -14,8 +20,17 @@
1420
@tailwind components;
1521
@tailwind utilities;
1622

23+
@keyframes text-shadow-pulse-darkorange {
24+
from {
25+
text-shadow: darkorange 0 0 2px;
26+
}
27+
to {
28+
text-shadow: darkorange 0 0 4px;
29+
}
30+
}
31+
1732
.text-outlined {
1833
-webkit-text-stroke-width: 0.5px;
1934
-webkit-text-stroke-color: black;
20-
text-shadow: darkorange 0 0 2px;
35+
animation: text-shadow-pulse-darkorange 1s infinite alternate;
2136
}

0 commit comments

Comments
 (0)