Compare commits

..

9 Commits

Author SHA1 Message Date
zomo
1e5b609f2c updated responsive height layout 2025-11-28 12:28:07 -06:00
zomo
238bbcde40 updated responsive width layout 2025-11-28 12:23:32 -06:00
Bergbok
ddf2c7c342 make buttons responsive 2025-11-28 12:09:58 -06:00
zomo
0102d076e8 changed newclient style 2025-11-27 20:00:33 -06:00
zomo
83a90b8f02 tweaked background 2025-11-27 19:39:07 -06:00
zomo
a1bc6c6ff8 added final button links 2025-11-27 19:37:03 -06:00
zomo
2fd5126ae7 added favicon and updated title 2025-11-27 19:36:23 -06:00
zomo
9b631b594b updated image style 2025-11-27 19:30:49 -06:00
zomo
e858b04fff changed hover trigger 2025-11-27 19:29:21 -06:00
9 changed files with 67 additions and 48 deletions

View File

@@ -2,9 +2,8 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>penguin.ikea.fishing</title> <title>Club Penguin by Zomo</title>
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -40,7 +40,7 @@ function Background() {
intensity={5} intensity={5}
swirl={0.56} swirl={0.56}
decay={0.3} decay={0.3}
radius={2} radius={1}
edges="stretch" edges="stretch"
maskType="alpha" maskType="alpha"
transform={{ transform={{

View File

@@ -4,7 +4,7 @@ import newclientImage from '/newclient.png'
function ButtonNew() { function ButtonNew() {
return ( return (
<div className="client newclient"> <div className="client newclient">
<img src={newclientImage} /> <img className="image" src={newclientImage} />
<div className="content"> <div className="content">
<div>Join with the</div> <div>Join with the</div>
<div>New Client</div> <div>New Client</div>

View File

@@ -5,7 +5,7 @@ function ButtonOld() {
return ( return (
<div className="client oldclient"> <div className="client oldclient">
<div className="oldclient-inner"> <div className="oldclient-inner">
<img src={oldclientImg} /> <img className="image" src={oldclientImg} />
<div className="content"> <div className="content">
<div>JOIN WITH THE</div> <div>JOIN WITH THE</div>
<div>OLD CLIENT</div> <div>OLD CLIENT</div>

View File

@@ -5,12 +5,10 @@ import './buttons.scss'
function Buttons() { function Buttons() {
return ( return (
<div className="buttons"> <div className="buttons">
{/* <a href="https://old.penguin.ikea.fishing/"> */} <a href="https://old.penguin.ikea.fishing/">
<a href="#">
<ButtonOld /> <ButtonOld />
</a> </a>
{/* <a href="https://new.penguin.ikea.fishing/#/login"> */} <a href="https://new.penguin.ikea.fishing/#/login">
<a href="#">
<ButtonNew /> <ButtonNew />
</a> </a>
</div> </div>

View File

@@ -17,17 +17,8 @@
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
img { .image {
display: inline;
height: 60%;
margin-top: 30px; margin-top: 30px;
margin-bottom: 30px;
}
.content {
flex-grow: 1;
text-align: center;
} }
.button { .button {
@@ -41,6 +32,7 @@
line-height: 58px; line-height: 58px;
box-sizing: border-box; box-sizing: border-box;
margin: 20px; margin: 20px;
margin-bottom: 60px;
border-radius: 8px; border-radius: 8px;
@@ -52,9 +44,9 @@
inset 0 2px 0 0 rgba(255, 255, 255, 0.4); inset 0 2px 0 0 rgba(255, 255, 255, 0.4);
border: 1px solid #003f72; border: 1px solid #003f72;
}
&:hover { &:hover .button {
background: linear-gradient(-180deg, #004093 0%, #22a4f3 100%); background: linear-gradient(-180deg, #004093 0%, #22a4f3 100%);
}
} }
} }

View File

@@ -35,18 +35,6 @@
display: flex; display: flex;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
img {
width: 100%;
height: 60%;
margin-bottom: 30px;
}
.content {
flex-grow: 1;
text-align: center;
}
} }
.button { .button {
@@ -79,16 +67,16 @@
#003366 0px 2px 0px 4px, #003366 0px 2px 0px 4px,
#00ccff 2.5px 6px 0px 4px, #00ccff 2.5px 6px 0px 4px,
#00529b -1px -2.5px 0px 5.5px; #00529b -1px -2.5px 0px 5.5px;
}
&:hover { &:hover .button {
background: #0054b0; background: #0054b0;
background: linear-gradient( background: linear-gradient(
0deg, 0deg,
rgb(0, 84, 176) 0%, rgb(0, 84, 176) 0%,
rgb(0, 82, 174) 53%, rgb(0, 82, 174) 53%,
rgb(0, 90, 180) 54%, rgb(0, 90, 180) 54%,
rgb(30, 125, 191) 100% rgb(30, 125, 191) 100%
); );
}
} }
} }

View File

@@ -4,22 +4,64 @@
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
box-sizing: border-box;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
gap: 50px;
.client { .client {
width: 500px; width: 500px;
height: 800px; height: 800px;
box-sizing: border-box; box-sizing: border-box;
margin-left: 50px;
box-shadow: rgba(67, 67, 67, 0.8) 0 0 5px; box-shadow: rgba(67, 67, 67, 0.8) 0 0 5px;
&:nth-child(0) { .image {
margin-left: 0px; height: 450px;
margin-bottom: 30px;
}
.content {
flex-grow: 1;
text-align: center;
} }
} }
} }
// desktop/tablet less tall
@media (max-height: 830px) and (min-width: 901px) {
.buttons .client {
height: 600px;
.image {
height: 300px;
}
}
}
// desktop/tablet less wide
@media (max-width: 1200px) and (min-width: 901px) {
.buttons .client {
width: 400px;
}
}
// mobile
@media (max-width: 900px) {
.buttons {
flex-direction: column;
justify-content: flex-start;
overflow-y: scroll;
padding: 20px 0;
}
}
// mobile less wide
@media (max-width: 550px) {
.buttons .client {
width: 400px;
}
}