Skip to content

Commit

Permalink
feat: add demo site usage information
Browse files Browse the repository at this point in the history
  • Loading branch information
victorraguin committed Apr 15, 2024
1 parent 03f954e commit f38cfc5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"cta": {
"discord": "Join the Discord",
"medium": "Litepaper",
"streamer": "I'm a Streamer"
"streamer": "I'm a Streamer",
"exskult" : "Warning: This is the old SKULT landing page, reopened as a demo archive."
},
"form": {
"contact": {
Expand Down
3 changes: 2 additions & 1 deletion public/locales/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"cta": {
"discord": "Rejoins le Discord",
"medium": "Litepaper",
"streamer": "Je suis Streamer"
"streamer": "Je suis Streamer",
"exskult" : "Attention: Ceci est l'ancienne landing page SKULT, réouverte comme archive de démonstration."
},
"form": {
"contact": {
Expand Down
5 changes: 5 additions & 0 deletions src/components/partials/StartBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const StartBlock = () => {
>
<div className="flex flex-row flex-wrap px-10 sm:flex-nowrap md:py-10 xl:px-[12rem] xl:pt-[9rem] xl:pb-[10rem] 3xl:px-[24rem] 3xl:pb-[15rem] 3xl:pt-[13rem] 4xl:px-[35rem]">
<div className="flex flex-col sm:w-1/2">

<Trans i18nKey="start.title" ns="home">
<motion.h1
className={`${styles.HomeTitle} pb-3 leading-none`}
Expand All @@ -43,6 +44,9 @@ const StartBlock = () => {
>
{t('start.catchphrase')}
</motion.h2>
<motion.div className='text-red-400 italic'>
{tCommon('cta.exskult')}
</motion.div>
<div className="flex flex-row space-x-5 md:flex-col md:space-x-0">
<div className="">
<a href="https://discord.gg/K2pNugpGwB" target="_blank" rel="noreferrer" className="group">
Expand All @@ -61,6 +65,7 @@ const StartBlock = () => {
{tCommon('cta.discord')}
</motion.div>
</motion.div>

</motion.button>
</a>
</div>
Expand Down

0 comments on commit f38cfc5

Please sign in to comment.