Skip to content
This repository was archived by the owner on Apr 8, 2026. It is now read-only.

Commit 343a7a5

Browse files
committed
Feat: Add French and English dropdowns with contact and GDPR information in Terms of Service
1 parent 5afe63b commit 343a7a5

1 file changed

Lines changed: 70 additions & 2 deletions

File tree

pages/tos.tsx

Lines changed: 70 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ const TermsOfService: React.FC = () => {
117117
</span>
118118
</h2>
119119

120+
{/* Dropdown Français */}
120121
<div className='glass-card mb-6'>
121122
<button onClick={() => setOpenFr(v => !v)} className='glass-button-neon w-full flex items-center justify-between p-4 text-left'>
122123
<span className='flex items-center'>
@@ -125,9 +126,43 @@ const TermsOfService: React.FC = () => {
125126
</span>
126127
<FontAwesomeIcon icon={openFr ? faChevronUp : faChevronDown} className='text-neon-blue transition-transform duration-300' />
127128
</button>
128-
{openFr && <div className='glass-card mt-4 p-6'></div>}
129+
{openFr && (
130+
<div className='glass-card mt-4 p-6'>
131+
<div className='space-y-4'>
132+
<p style={{ color: 'var(--glass-text-secondary)' }}>
133+
Croissant est édité par Fox (fox3000foxy), développeur indépendant basé en France. Pour toute question ou demande concernant le site, vous pouvez nous contacter via Discord ou par email à l'adresse indiquée sur notre serveur officiel,{' '}
134+
<a href='mailto:contact@croissant-api.fr' className='text-neon-blue hover:text-neon-purple transition-colors'>
135+
contact@croissant-api.fr
136+
</a>
137+
.
138+
</p>
139+
<p style={{ color: 'var(--glass-text-secondary)' }}>
140+
Les données personnelles collectées sont uniquement utilisées pour le bon fonctionnement du service et ne sont jamais revendues à des tiers.
141+
</p>
142+
<p style={{ color: 'var(--glass-text-secondary)' }}>
143+
Le site est hébergé par HG-Hosting.fr, une entreprise basée en France, dont le CEO est Lima M. Pour toute question relative à l'hébergement, vous pouvez contacter HG-Hosting.fr à{' '}
144+
<a href='mailto:contact@hg-hosting.fr' className='text-neon-blue hover:text-neon-purple transition-colors'>
145+
contact@hg-hosting.fr
146+
</a>
147+
.
148+
</p>
149+
<div className='glass-card p-4'>
150+
<p className='mb-2' style={{ color: 'var(--glass-text-secondary)' }}>
151+
L'hébergeur est conforme au RGPD.
152+
</p>
153+
<p className='mb-2' style={{ color: 'var(--glass-text-secondary)' }}>
154+
Aucun cookie tiers n'est utilisé sur ce site.
155+
</p>
156+
<p style={{ color: 'var(--glass-text-secondary)' }}>
157+
Toute reproduction, même partielle, du contenu du site est interdite sans autorisation préalable.
158+
</p>
159+
</div>
160+
</div>
161+
</div>
162+
)}
129163
</div>
130164

165+
{/* Dropdown English */}
131166
<div className='glass-card'>
132167
<button onClick={() => setOpenEn(v => !v)} className='glass-button-neon w-full flex items-center justify-between p-4 text-left'>
133168
<span className='flex items-center'>
@@ -136,7 +171,40 @@ const TermsOfService: React.FC = () => {
136171
</span>
137172
<FontAwesomeIcon icon={openEn ? faChevronUp : faChevronDown} className='text-neon-purple transition-transform duration-300' />
138173
</button>
139-
{openEn && <div className='glass-card mt-4 p-6'></div>}
174+
{openEn && (
175+
<div className='glass-card mt-4 p-6'>
176+
<div className='space-y-4'>
177+
<p style={{ color: 'var(--glass-text-secondary)' }}>
178+
Croissant is published by Fox (fox3000foxy), an independent developer based in France. For any questions or requests regarding the site, you can contact us via Discord or by email at the address provided on our official server,{' '}
179+
<a href='mailto:contact@croissant-api.fr' className='text-neon-purple hover:text-neon-pink transition-colors'>
180+
contact@croissant-api.fr
181+
</a>
182+
.
183+
</p>
184+
<p style={{ color: 'var(--glass-text-secondary)' }}>
185+
The personal data collected is only used for the proper functioning of the service and is never resold to third parties.
186+
</p>
187+
<p style={{ color: 'var(--glass-text-secondary)' }}>
188+
The site is hosted by HG-Hosting.fr, a company based in France, whose CEO is Lima M. For any questions relating to hosting, you can contact HG-Hosting.fr at{' '}
189+
<a href='mailto:contact@hg-hosting.fr' className='text-neon-purple hover:text-neon-pink transition-colors'>
190+
contact@hg-hosting.fr
191+
</a>
192+
.
193+
</p>
194+
<div className='glass-card p-4'>
195+
<p className='mb-2' style={{ color: 'var(--glass-text-secondary)' }}>
196+
The host complies with the GDPR.
197+
</p>
198+
<p className='mb-2' style={{ color: 'var(--glass-text-secondary)' }}>
199+
No third-party cookies are used on this site.
200+
</p>
201+
<p style={{ color: 'var(--glass-text-secondary)' }}>
202+
Any reproduction, even partial, of the content of the site is prohibited without prior authorization.
203+
</p>
204+
</div>
205+
</div>
206+
</div>
207+
)}
140208
</div>
141209
</div>
142210
</div>

0 commit comments

Comments
 (0)