Skip to content

Commit

Permalink
Merge pull request #1 from SweetmanTech/sweets/init
Browse files Browse the repository at this point in the history
I update fontFamily to Karim font choice: Dresden Elektronik.
  • Loading branch information
sweetmantech authored Nov 29, 2023
2 parents 8cb4736 + 860317e commit ee6c8c4
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 19 deletions.
2 changes: 1 addition & 1 deletion components/LeaderboardPage/LeaderboardPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const LeaderboardPage = () => {
}, [])

return (
<div className="w-full mx-auto font-[ArcadeCabinet] ">
<div className="w-full mx-auto font-dresden ">
<SeoHead title="Leaderboard" />
<div
className="
Expand Down
2 changes: 1 addition & 1 deletion components/PowerUpModal/PowerUpModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const PowerUpModal = ({ handleClick }) => (
modalClassName="!z-[110]"
>
<div
className="px-4 py-8 samsungS8:p-6 xs:p-8 xl:p-6 rounded-lg font-arcade
className="px-4 py-8 samsungS8:p-6 xs:p-8 xl:p-6 rounded-lg font-dresden
flex-col flex justify-between items-center
min-h-[300px]
md:w-[692px] md:h-[528px]
Expand Down
2 changes: 1 addition & 1 deletion components/StartModal/StartModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const StartModal = ({ handleClick, children }) => (
modalClassName="!z-[110]"
>
<div
className="px-4 py-8 samsungS8:p-6 xs:p-8 xl:p-6 rounded-lg font-arcade
className="px-4 py-8 samsungS8:p-6 xs:p-8 xl:p-6 rounded-lg font-dresden
flex-col flex justify-between items-center
h-[300px]
md:w-[692px] md:h-[528px]
Expand Down
2 changes: 1 addition & 1 deletion components/TokenGateModal/TokenGateModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const TokenGateModal = ({ title = "Loading...", children }) => (
modalClassName="!z-[110]"
>
<div
className="px-4 py-8 samsungS8:p-6 xs:p-8 xl:p-6 rounded-lg font-arcade
className="px-4 py-8 samsungS8:p-6 xs:p-8 xl:p-6 rounded-lg font-dresden
flex-col flex justify-between items-center
md:w-[692px] md:h-[528px]
bg-black"
Expand Down
15 changes: 5 additions & 10 deletions pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
import GamePage from "../components/Pages/GamePage"
import SeoHead from "../components/SeoHead"
import SpotifyProvider from "../providers/SpotifyProvider"

const Game = () => (
<SpotifyProvider>
<GamePage />
<SeoHead />
</SpotifyProvider>
const Landing = () => (
<div className="flex flex-col justify-center items-center h-[100vh] text-white font-dresden text-7xl">
HENO.
</div>
)

export default Game
export default Landing
Binary file removed public/fonts/ArcadeCabinet/Arcade_Cabinet.ttf
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
@tailwind utilities;

@font-face {
font-family: 'ArcadeCabinet';
src: url('/fonts/ArcadeCabinet/Arcade_Cabinet.ttf') format('truetype');
font-family: 'DresdenElektronik';
src: url('/fonts/DresdenElektronik/Dresden_Elektronik.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
Expand All @@ -20,7 +20,7 @@
}
html,
body {
background-color: #010e17;
background-color: black;
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell,
Expand Down
4 changes: 2 additions & 2 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ module.exports = {
},
extend: {
fontFamily: {
arcade: ["ArcadeCabinet", "sans-serif"],
sans: ["ArcadeCabinet", ...defaultTheme.fontFamily.sans],
dresden: ["DresdenElektronik", "sans-serif"],
sans: ["DresdenElektronik", ...defaultTheme.fontFamily.sans],
},
screens: {
ios: "320px",
Expand Down

0 comments on commit ee6c8c4

Please sign in to comment.