Skip to content

Commit dd293f4

Browse files
committed
added links and wishlist button
1 parent f34d7c1 commit dd293f4

File tree

3 files changed

+71
-27
lines changed

3 files changed

+71
-27
lines changed

src/assets/img/badges/steam_icon.png

11 KB
Loading

src/locales/en.json

+36-4
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
"newArtius": {
8080
"title": "ARTIUS",
8181

82+
"wishlist": "WISHLIST NOW!",
8283
"text1": "ARTIUS is a momentum-based 2D platformer brimming with creative expression.",
8384
"text2": "Players take control of four unique artists, as they fight to save the world from the extinction of art!",
8485
"comparison1": "ARTIUS draws inspiration from real-life settings, reinterpreting them into a grounded yet fantastical game world.",
@@ -90,15 +91,46 @@
9091
"characters": {
9192
"pivolo": {
9293
"title": "Pivolo",
93-
"subtitle": "Evil",
94-
"desc": "aaaaa",
95-
"img": "/img/characters/pivolo.png"
94+
"subtitle": "Evil. Envious. Bitter!",
95+
"img": "/img/characters/pivolo.png",
96+
"desc": "Pivolo was a student at the EdAN art school—a highly talented artist who felt increasingly neglected by his classmates due to his controversial opinions on art. He believed that some forms of art were objectively superior to others, putting him at odds with the other students. Over time, he grew jealous of the popularity of Pierre and his friends. Obsessed with power and success, he seized control of the mystical ARTIUS book—''the heart of EdAN''—and imposed an artistic dictatorship over the city of Rupestrina, reshaping it according to his rigid and oppressive vision. Under his rule, creativity is stifled, self-expression is outlawed, and once-vibrant landscapes become dull and lifeless. As Pivolo’s tyranny spreads, society begins to question the value of art itself, forgetting its power to inspire, heal, and bring people together. It falls upon four heroes—each wielding their own unique creative abilities—to challenge this bleak new reality."
97+
9698
},
9799
"pierre": {
98100
"title": "Pierre",
101+
"subtitle": "Painter. Determined. Perseverant!",
102+
"desc": "Often teased by his friends for being too serious, Pierre is a painter who has no time for “playing around.” Not a man of words but of actions, he believes in the fundamental goodness of humanity and nature. His art is a reflection of love, freedom, and optimism for the future. When he’s not painting or going on adventures with his friends, he enjoys making pasta for himself and, believe it or not, listening to electronic music. His favorite painters are Salvador Dalí and Van Gogh, but he has a special love for the optimism of Norman Rockwell. He joined the prestigious EdAN art school as a child, and thanks to his unwavering artistic professionalism and virtuosity, has gained both fans – and haters. Being Pierre’s friend may not be the easiest thing in the world, but it is certainly one of the best!",
103+
"img": "/img/characters/pierre.png"
104+
},
105+
"walter": {
106+
"title": "Walter",
99107
"subtitle": "Good",
100108
"desc": "aaaaa",
101-
"img": "/img/characters/pierre.png"
109+
"img": "/img/characters/walter.png"
110+
},
111+
"guga": {
112+
"title": "Guga",
113+
"subtitle": "Good",
114+
"desc": "aaaaa",
115+
"img": "/img/characters/guga.png"
116+
},
117+
"rene": {
118+
"title": "René",
119+
"subtitle": "Good",
120+
"desc": "aaaaa",
121+
"img": "/img/characters/rene.png"
122+
},
123+
"brunna": {
124+
"title": "Brunna",
125+
"subtitle": "Good",
126+
"desc": "aaaaa",
127+
"img": "/img/characters/brunna.png"
128+
},
129+
"theo": {
130+
"title": "Theo",
131+
"subtitle": "Good",
132+
"desc": "aaaaa",
133+
"img": "/img/characters/theo.png"
102134
}
103135
}
104136
}

src/pages/NewArtius.tsx

+35-23
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ import pic4 from "../assets/img/artius/pic4.png";
1919
import pic5 from "../assets/img/artius/pic5.png";
2020
import pic6 from "../assets/img/artius/pic6.png";
2121

22+
import steamIcon from "../assets/img/badges/steam_icon.png"
23+
2224
// Components
2325
import SocialIcon from "../components/SocialIcon";
2426
import ActualPage from "../components/global/ActualPage";
@@ -29,7 +31,6 @@ import AOS from "aos";
2931
import "aos/dist/aos.css";
3032
import { Parallax } from "react-scroll-parallax";
3133
import { useTranslation } from "react-i18next";
32-
//import ArtiusCharButton from "../components/ArtiusCharButton";
3334

3435
const NewArtius = () => {
3536
useEffect(() => {
@@ -39,24 +40,30 @@ const NewArtius = () => {
3940
});
4041
}, []);
4142

42-
const { t } = useTranslation();
43+
const { t , i18n } = useTranslation();
4344

4445
const slides = [pic1, pic2, pic3];
4546
const slides2 = [pic4, pic6, pic5];
4647

47-
/*const [currentCharTitle, setCurrentCharTitle] = useState(t("games.newArtius.characters.pivolo.title"))
48-
const [currentCharSubtitle, setCurrentCharSubtitle] = useState("Current char title.")
49-
const [currentCharDesc, setCurrentCharDesc] = useState("Current char description.")
50-
const [currentCharImg, setCurrentCharImg] = useState("/")
51-
52-
function setCharacter(characterName: string) {
53-
const path = `games.newArtius.characters.${characterName}`
54-
55-
setCurrentCharTitle(t(`${path}.title`))
56-
setCurrentCharSubtitle(t(`${path}.subtitle`))
57-
setCurrentCharDesc(t(`${path}.desc`))
58-
setCurrentCharImg(t(`${path}.img`))
59-
}*/
48+
const currentLanguage = i18n.language;
49+
50+
function createLinks() {
51+
if (currentLanguage === "pt" || currentLanguage === "pt-BR") {
52+
return (<div className="mt-6 flex">
53+
<SocialIcon Link="https://x.com/ednaldo_game" Icon={IconTwitter} />
54+
<SocialIcon Link="https://discord.gg/MKr3eyn" Icon={IconDiscord} />
55+
<SocialIcon Link="https://www.youtube.com/channel/UCXrinAaMhfNehiK37hGrYtg" Icon={IconYoutube} />
56+
<SocialIcon Link="https://www.instagram.com/pvicgamesbr/" Icon={IconInstagram} />
57+
</div>)
58+
} else {
59+
return (<div className="mt-6 flex">
60+
<SocialIcon Link="https://x.com/PVicGames" Icon={IconTwitter} />
61+
<SocialIcon Link="https://discord.gg/3T8fbXq9Jf" Icon={IconDiscord} />
62+
<SocialIcon Link="https://www.youtube.com/@PVicVG" Icon={IconYoutube} />
63+
<SocialIcon Link="https://www.instagram.com/pvicgames/" Icon={IconInstagram} />
64+
</div>)
65+
}
66+
}
6067

6168
return (
6269
<ActualPage singleColumn={true}>
@@ -76,12 +83,19 @@ const NewArtius = () => {
7683
src={Logo}
7784
/>
7885

79-
<div className="mt-6 flex">
80-
<SocialIcon Link="#" Icon={IconTwitter} />
81-
<SocialIcon Link="#" Icon={IconDiscord} />
82-
<SocialIcon Link="#" Icon={IconYoutube} />
83-
<SocialIcon Link="#" Icon={IconInstagram} />
84-
</div>
86+
<a className="text-2xl xl:text-5xl text-center font-adlib xl:ml-10 mt-5 mb-2
87+
bg-black text-white p-3 rounded-2xl
88+
drop-shadow-[0px_0px_10px_rgba(255,255,255,1)]
89+
hover:drop-shadow-[0px_0px_20px_rgba(255,255,255,255)]
90+
cursor-pointer duration-100 transform hover:rounded-3xl
91+
flex items-center gap-2 hover:scale-105"
92+
href="https://store.steampowered.com/app/3599920/ARTIUS_Pure_Imagination/" target="_blank"
93+
>
94+
<img className="w-[50px] mr-3" src={steamIcon}/>
95+
{t("games.newArtius.wishlist")}
96+
</a>
97+
98+
{createLinks()}
8599
</div>
86100
</div>
87101

@@ -207,8 +221,6 @@ const NewArtius = () => {
207221
<Gallery picSize="325px" slides={slides} />
208222
</div>
209223

210-
211-
212224
{/* Final */}
213225
<div className="mt-20 p-5 xl:p-0 flex flex-col items-center justify-center">
214226
<img

0 commit comments

Comments
 (0)