Skip to content
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

WIGGLE #3

Merged
merged 1 commit into from
Mar 1, 2023
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: 5 additions & 1 deletion client/src/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ import Container from './components/Container';
const App = () => {
return (
<Container>
<h1 className="text-7xl font-bold text-center mb-4">Jury</h1>
<h1 className="text-7xl font-bold text-center mb-4 hover:animate-wiggle cursor-pointer">
<a href="https://github.com/acmutd/jury" target="_blank" rel="noopener noreferrer">
Jury
</a>
</h1>
<h2 className="text-primary text-3xl text-center font-bold mb-24">
{process.env.REACT_APP_JURY_NAME}
</h2>
Expand Down
18 changes: 16 additions & 2 deletions client/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,27 @@ module.exports = {
lightest: '#C7CFD3',
background: '#F5F5F5',
backgroundDark: '#D4DBDF',
error: '#EA609C'
error: '#EA609C',
},
fontFamily: {
text: ['Rubik', 'Franklin Gothic Medium', 'Arial Narrow', 'Arial', 'sans-serif'],
mono: ['Roboto Mono', 'Courier New', 'Courier', 'monospace'],
},
extend: {},
extend: {
keyframes: {
wiggle: {
'0%, 100%': {
transform: 'skew(2deg, 5deg)',
},
'50%': {
transform: 'skew(-5deg, -2deg)',
},
},
},
animation: {
wiggle: 'wiggle 0.3s cubic-bezier(.23,.7,.3,.85) infinite',
},
},
},
plugins: [],
};