Skip to content

Commit b179560

Browse files
Merge pull request #3 from aifoundry-org/main
Updated last changes
2 parents 4ea6f3e + 3b49a66 commit b179560

File tree

6 files changed

+397
-60
lines changed

6 files changed

+397
-60
lines changed

README.md

Lines changed: 376 additions & 7 deletions
Large diffs are not rendered by default.

apps/front/.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
NEXT_PUBLIC_STRAPI_BASE_URL=
2+
NEXT_PUBLIC_STRAPI_API_TOKEN=
3+
NEXT_PUBLIC_HIDE_SECTIONS=

apps/front/README.md

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1 @@
1-
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).
2-
3-
## Getting Started
4-
5-
First, run the development server:
6-
7-
```bash
8-
npm run dev
9-
# or
10-
yarn dev
11-
# or
12-
pnpm dev
13-
# or
14-
bun dev
15-
```
16-
17-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18-
19-
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
20-
21-
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
22-
23-
## Learn More
24-
25-
To learn more about Next.js, take a look at the following resources:
26-
27-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
28-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
29-
30-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!
31-
32-
## Deploy on Vercel
33-
34-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
35-
36-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
1+
Please follow the instructions shown in the root README.md file.

apps/front/components/home/footer/main.tsx

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ export default function Footer(){
4444
text-[1.8rem] lg:text-[2rem] xl:text-[2rem] 2xl:text-[2rem]
4545
leading-[1.8rem] lg:leading-[2rem] xl:leading-[2rem] 2xl:leading-[2rem]
4646
'>
47-
<div onClick={() => window.open('https://ai-foundry.litebox.dev')} className='cursor-pointer relative' >ai foundry</div>
48-
{pathname == "/" && <div onClick={() => window.location.href='/#team'} className='cursor-pointer relative' >team</div>}
49-
<div onClick={() => window.location.href='/blog'} className='cursor-pointer relative' >blog</div>
50-
<div onClick={() => window.location.href='/privacy-policy'} className='block sm:hidden md:hidden lg:hidden xl:hidden 2xl:hidden cursor-pointer relative'>privacy policy</div>
47+
<div onClick={() => window.open('https://aifoundry.org')} className='cursor-pointer relative after:bg-white after:absolute after:top-[2rem] after:h-1 after:w-0 after:bottom-0 after:left-0 hover:after:w-full after:transition-all after:duration-300' >ai foundry</div>
48+
{pathname == "/" && <div onClick={() => window.location.href='/#team'} className='cursor-pointer relative after:bg-white after:absolute after:top-[2rem] after:h-1 after:w-0 after:bottom-0 after:left-0 hover:after:w-full after:transition-all after:duration-300' >team</div>}
49+
<div onClick={() => window.location.href='/blog'} className='cursor-pointer relative after:bg-white after:absolute after:top-[2rem] after:h-1 after:w-0 after:bottom-0 after:left-0 hover:after:w-full after:transition-all after:duration-300' >blog</div>
50+
<div onClick={() => window.location.href='/privacy-policy'} className='block sm:hidden md:hidden lg:hidden xl:hidden 2xl:hidden cursor-pointer relative after:bg-white after:absolute after:top-[2rem] after:h-1 after:w-0 after:bottom-0 after:left-0 hover:after:w-full after:transition-all after:duration-300'>privacy policy</div>
5151
</div>
5252
<div className='relative w-full h-fit uppercase font-bold tracking-wider items-end justify-end
5353
mt-[1.4rem] sm:mt-0 md:mt-0 lg:mt-0 xl:mt-0 2xl:mt-0
@@ -56,12 +56,12 @@ export default function Footer(){
5656
text-[1.8rem] lg:text-[2rem] xl:text-[2rem] 2xl:text-[2rem]
5757
leading-[1.8rem] lg:leading-[2rem] xl:leading-[2rem] 2xl:leading-[2rem]
5858
'>
59-
<div className='cursor-pointer relative after:bg-white after:absolute after:top-[2rem] after:h-1 after:w-0 after:bottom-0 after:left-0 focus:after:w-full hover:after:w-full after:transition-all after:duration-300
59+
<div className='cursor-pointer relative after:bg-white after:absolute after:top-[2rem] after:h-1 after:w-0 after:bottom-0 after:left-0 hover:after:w-full after:transition-all after:duration-300
6060
hidden sm:block md:block lg:block xl:block 2xl:block
6161
basis-1/3 sm:basis-auto md:basis-auto lg:basis-auto xl:basis-auto 2xl:basis-auto
6262
' onClick={() => window.location.href='/privacy-policy'} >privacy policy</div>
63-
<div className='cursor-pointer relative basis-1/2 sm:basis-auto md:basis-auto lg:basis-auto xl:basis-auto 2xl:basis-auto after:bg-white after:absolute after:top-[2rem] after:h-1 after:w-0 after:bottom-0 after:left-0 focus:after:w-full hover:after:w-full after:transition-all after:duration-300' onClick={() => window.location.href='/terms-of-service'} >terms of service</div>
64-
<div className='cursor-pointer relative basis-1/2 sm:basis-auto md:basis-auto lg:basis-auto xl:basis-auto 2xl:basis-auto after:bg-white after:absolute after:top-[2rem] after:h-1 after:w-0 after:bottom-0 after:left-0 focus:after:w-full hover:after:w-full after:transition-all after:duration-300' onClick={() => window.location.href='/cookie-policy'} >cookie policy</div>
63+
<div className='cursor-pointer relative basis-1/2 sm:basis-auto md:basis-auto lg:basis-auto xl:basis-auto 2xl:basis-auto after:bg-white after:absolute after:top-[2rem] after:h-1 after:w-0 after:bottom-0 after:left-0 hover:after:w-full after:transition-all after:duration-300' onClick={() => window.location.href='/terms-of-service'} >terms of service</div>
64+
<div className='cursor-pointer relative basis-1/2 sm:basis-auto md:basis-auto lg:basis-auto xl:basis-auto 2xl:basis-auto after:bg-white after:absolute after:top-[2rem] after:h-1 after:w-0 after:bottom-0 after:left-0 hover:after:w-full after:transition-all after:duration-300' onClick={() => window.location.href='/cookie-policy'} >cookie policy</div>
6565
<div className='basis-1/4 justify-end mt-0
6666
flex sm:hidden md:hidden lg:hidden xl:hidden 2xl:hidden
6767
'>
@@ -78,12 +78,12 @@ export default function Footer(){
7878
xs:text-[2rem] sm:text-[2rem] md:text-[2rem] 2xl:text-[4rem]
7979
xs:leading-[2rem] sm:leading-[2rem] md:leading-[2rem] 2xl:leading-[4rem]
8080
'>
81-
<div style={{flexBasis: 'min-content'}} className='cursor-pointer relative after:bg-white after:absolute after:h-1 after:w-0 after:-bottom-[0.5vw] after:left-0 focus:after:w-full hover:after:w-full after:transition-all after:duration-300' onClick={() => window.open('https://ai-foundry.litebox.dev')}>ai foundry</div>
82-
<div style={{flexBasis: 'min-content'}} className='cursor-pointer relative after:bg-white after:absolute after:h-1 after:w-0 after:-bottom-[0.5vw] after:left-0 focus:after:w-full hover:after:w-full after:transition-all after:duration-300' onClick={() => window.location.href='/#team'}>team</div>
83-
<div style={{flexBasis: 'min-content'}} className='cursor-pointer relative after:bg-white after:absolute after:h-1 after:w-0 after:-bottom-[0.5vw] after:left-0 focus:after:w-full hover:after:w-full after:transition-all after:duration-300' onClick={() => window.location.href='/blog'}>blog</div>
84-
<div style={{flexBasis: 'min-content'}} className='cursor-pointer relative after:bg-white after:absolute after:h-1 after:w-0 after:-bottom-[0.5vw] after:left-0 focus:after:w-full hover:after:w-full after:transition-all after:duration-300' onClick={() => window.location.href='/privacy-policy'} >privacy policy</div>
85-
<div style={{flexBasis: 'min-content'}} className='cursor-pointer relative after:bg-white after:absolute after:h-1 after:w-0 after:-bottom-[0.5vw] after:left-0 focus:after:w-full hover:after:w-full after:transition-all after:duration-300' onClick={() => window.location.href='/terms-of-service'} >terms of service</div>
86-
<div style={{flexBasis: 'min-content'}} className='cursor-pointer relative after:bg-white after:absolute after:h-1 after:w-0 after:-bottom-[0.5vw] after:left-0 focus:after:w-full hover:after:w-full after:transition-all after:duration-300' onClick={() => window.location.href='/cookie-policy'} >cookie policy</div>
81+
<div style={{flexBasis: 'min-content'}} className='cursor-pointer relative after:bg-white after:absolute after:h-1 after:w-0 after:-bottom-[0.5vw] after:left-0 hover:after:w-full after:transition-all after:duration-300' onClick={() => window.open('https://aifoundry.org')}>ai foundry</div>
82+
<div style={{flexBasis: 'min-content'}} className='cursor-pointer relative after:bg-white after:absolute after:h-1 after:w-0 after:-bottom-[0.5vw] after:left-0 hover:after:w-full after:transition-all after:duration-300' onClick={() => window.location.href='/#team'}>team</div>
83+
<div style={{flexBasis: 'min-content'}} className='cursor-pointer relative after:bg-white after:absolute after:h-1 after:w-0 after:-bottom-[0.5vw] after:left-0 hover:after:w-full after:transition-all after:duration-300' onClick={() => window.location.href='/blog'}>blog</div>
84+
<div style={{flexBasis: 'min-content'}} className='cursor-pointer relative after:bg-white after:absolute after:h-1 after:w-0 after:-bottom-[0.5vw] after:left-0 hover:after:w-full after:transition-all after:duration-300' onClick={() => window.location.href='/privacy-policy'} >privacy policy</div>
85+
<div style={{flexBasis: 'min-content'}} className='cursor-pointer relative after:bg-white after:absolute after:h-1 after:w-0 after:-bottom-[0.5vw] after:left-0 hover:after:w-full after:transition-all after:duration-300' onClick={() => window.location.href='/terms-of-service'} >terms of service</div>
86+
<div style={{flexBasis: 'min-content'}} className='cursor-pointer relative after:bg-white after:absolute after:h-1 after:w-0 after:-bottom-[0.5vw] after:left-0 hover:after:w-full after:transition-all after:duration-300' onClick={() => window.location.href='/cookie-policy'} >cookie policy</div>
8787
</div>
8888
</div>
8989
<div className='relative w-full h-fit justify-end

apps/front/components/navbar/main.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ export default function NavBar() {
276276
text-[2rem] lg:text-[2rem] xl:text-[2rem] 2xl:text-[4rem]
277277
md:w-full sm:w-full lg:w-full xl:w-full 2xl:w-full justify-start
278278
'>
279-
<div onClick={() => window.open("https://ai-foundry.litebox.dev")} className="uppercase cursor-pointer relative after:bg-black after:absolute after:h-1 after:w-0 after:bottom-0 after:left-0 focus:after:w-full hover:after:w-full after:transition-all after:duration-300">
279+
<div onClick={() => window.open("https://aifoundry.org")} className="uppercase cursor-pointer relative after:bg-black after:absolute after:h-1 after:w-0 after:bottom-0 after:left-0 focus:after:w-full hover:after:w-full after:transition-all after:duration-300">
280280
AI Foundry
281281
</div>
282282
{pathname == '/' &&
@@ -340,7 +340,7 @@ export default function NavBar() {
340340
</div>
341341
</div>
342342
<div className="flex flex-col w-full my-[10.667vw] xs:my-[4vw] font-dharma-gothic-e font-black text-[10.667vw] xs:text-[6.5vw] leading-[8.8vw] gap-[8.8vw] xs:gap-0">
343-
<div onClick={() => {closeMenu(); window.open("https://ai-foundry.litebox.dev")}} className="uppercase cursor-pointer">
343+
<div onClick={() => {closeMenu(); window.open("https://aifoundry.org")}} className="uppercase cursor-pointer">
344344
ai foundry
345345
</div>
346346
{pathname == '/' &&

apps/front/libs/litebox-lib/ui/Button/Button.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ export interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
2020
}
2121

2222
const btnVariants: {[key: string]: string } = {
23-
primary: 'bg-orange border-black hover:shadow-none hover:translate-x-[4px] hover:translate-y-[4px] focus:shadow-none focus:translate-x-[4px] focus:translate-y-[4px]',
24-
secondary: 'bg-sand border-black hover:shadow-none hover:translate-x-[4px] hover:translate-y-[4px] focus:shadow-none focus:translate-x-[4px] focus:translate-y-[4px]',
23+
primary: 'bg-orange border-black hover:shadow-none hover:translate-x-[4px] hover:translate-y-[4px]',
24+
secondary: 'bg-sand border-black hover:shadow-none hover:translate-x-[4px] hover:translate-y-[4px]',
2525
};
2626

2727
const svgVariants : {[key: string]: FC<SVGProps<SVGSVGElement>>} = {

0 commit comments

Comments
 (0)