-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
92 changed files
with
5,752 additions
and
1,201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,38 @@ | ||
node_modules | ||
.next | ||
build/Release | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# local env files | ||
.env*.local | ||
.env | ||
|
||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts | ||
|
||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
########60 characters####################################### | ||
[JIRA Issue Tag] Subject | ||
########72 characters################################################## | ||
Problem | ||
# Problem, Task, Reason for Commit | ||
Solution | ||
# Solution or List of Changes | ||
Note | ||
# Special instructions, testing steps, rake, etc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
'use client'; | ||
import React, { useState, useEffect } from 'react'; | ||
|
||
const CookieBanner: React.FC = () => { | ||
const [showBanner, setShowBanner] = useState<boolean>(false); | ||
|
||
useEffect(() => { | ||
const isAccepted = localStorage.getItem('cookiesAccepted'); | ||
setShowBanner(!isAccepted); | ||
}, []); | ||
|
||
const acceptCookies = () => { | ||
localStorage.setItem('cookiesAccepted', 'true'); | ||
setShowBanner(false); | ||
}; | ||
|
||
if (!showBanner) return null; | ||
|
||
return ( | ||
<div className='cookie-banner'> | ||
<p> | ||
We use cookies to improve your experience on our site. By | ||
continuing to use our site, you accept our use of cookies. | ||
</p> | ||
<button onClick={acceptCookies}>Accept</button> | ||
</div> | ||
); | ||
}; | ||
|
||
export default CookieBanner; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { useLocale, useTranslations } from 'next-intl'; | ||
import Head from 'next/head' | ||
|
||
export default function HeadComponent() { | ||
const t = useTranslations('Metadata'); | ||
const localActive = useLocale(); | ||
return ( | ||
<div> | ||
<Head> | ||
<meta charSet="UTF-8"/> | ||
<meta name="subject" content={t("subject")}/> | ||
<meta name="copyright"content="cannabisclubsberlin.com"/> | ||
<meta name="language" content={localActive}/> | ||
<meta name="topic" content={t("topic")}/> | ||
<meta name="url" content="https://cannabisclubsberlin.com"/> | ||
</Head> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
"use client" | ||
import ActionButton from '@/app/ui/Home/actionbutton'; | ||
import { useLocale, useTranslations } from 'next-intl'; | ||
|
||
export default function AboutContent() { | ||
const t = useTranslations('AboutPage'); | ||
const localActive = useLocale(); | ||
return ( | ||
<div className='flex flex-col gap-8 md:gap-12 md:mt-30 lg:mt-16'> | ||
<h1 className='font-bold text-4xl md:text-[4rem] opacity-[0.3] text-balance leading-tight'> | ||
{t('headline')} | ||
</h1> | ||
<p>{t('headline_description')}</p> | ||
<p>{t('headline_subdescription')}</p> | ||
<ActionButton | ||
backgroundColor={'#B6CF54'} | ||
textColor={'#ffffff'} | ||
href={`/${localActive}/law`} | ||
> | ||
{t('local_laws_button')} | ||
</ActionButton> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import AboutContent from './about-content'; | ||
import { unstable_setRequestLocale } from 'next-intl/server'; | ||
|
||
export default function About({ params: { locale } }: { params: { locale: string } }) { | ||
unstable_setRequestLocale(locale); | ||
return ( | ||
<div className='flex flex-col md:flex-row w-full justify-center md:justify-between items-center h-full'> | ||
<AboutContent /> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
.container { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: center; | ||
gap: 20px; | ||
padding: 20px; | ||
margin-bottom: auto; | ||
} | ||
|
||
.card { | ||
width: 300px; | ||
border: 1px solid #ccc; | ||
border-radius: 8px; | ||
overflow: hidden; | ||
box-shadow: 0 2px 5px rgba(0,0,0,0.1); | ||
} | ||
|
||
.cardNumber { | ||
font-size: 16px; | ||
color: #555; | ||
} | ||
|
||
.cardImage { | ||
max-width: 100%; | ||
max-height: 100%; | ||
object-fit: contain; | ||
padding: 5px; | ||
} | ||
|
||
.cardContent { | ||
padding: 15px; | ||
} | ||
|
||
.cardTitle { | ||
font-size: 20px; | ||
color: #333; | ||
margin: 0 0 10px 0; | ||
} | ||
|
||
.cardDescription { | ||
font-size: 16px; | ||
color: #666; | ||
margin: 0; | ||
} |
Oops, something went wrong.