Skip to content

Commit

Permalink
added terms/pp to footer
Browse files Browse the repository at this point in the history
  • Loading branch information
laubsauger committed Jan 23, 2024
1 parent d9f783b commit a4df6f1
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 23 deletions.
57 changes: 36 additions & 21 deletions src/components/EdenArtFrontPage/EdenArtFrontPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { MenuOutlined, ControlOutlined, FileTextOutlined } from '@ant-design/ico
import { useState } from 'react'
import useWindowSize from '@/hooks/useWindowSize'

const videoPlaceholderDataUrl = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAQK0lEQVR4AQEgEN/vAAB3qP8Peqj/JH+o/zWFqP9Diaj/TYqq/1WJrP9biK//YImy/2SNtf9nkrf/aJe4/2eYuP9kl7f/YJO3/12Ot/9ajbj/WI+7/1iTvv9YmL//V5m+/1WVuv9QjbD/S4Ch/0Vwjv8+Ynj/N1di/y9QU/8iTVD/CktX/wBJYv8ARmv/ABl5pv8ee6X/KX+l/zaEpf9Bh6X/Soim/1KHqf9Yh63/Xomx/2KOtP9lk7f/Zpi4/2aZuP9kmLf/YZS2/1+Qtv9djrj/XJC6/1yVvf9bmb//W5u//1iYuv9UkLH/T4Oi/0h0kP9AZXr/N1lk/yxRVP8dTVD/AEpX/wBIYv8ARWr/ADZ+oP82f6D/N4Ce/zmCnP8+g5z/RIOd/0yEof9Uhqb/W4qs/2CQsv9kl7b/Zpu4/2aduP9mnLf/Zpi2/2aUtv9mk7f/ZpW5/2aZvP9mnr//ZaC//2Oeu/9gl7P/W42l/1N/lP9JcH//PWJq/y1XWv8YT1T/AEpY/wBHYf8ARWj/AE2EmP9LhJf/SIOU/0SBkv9EgJH/SICT/0+CmP9Yh5//YI6o/2aWr/9qnbX/bKK4/26juf9vorj/cZ+3/3Octv91m7b/dpy4/3agu/92pL7/dae+/3SnvP9yorX/bpqp/2iOmv9dgIf/UHJ1/0FkZf8xWl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hO/35WTf99Vkz/gVpM/4hhTv+RaVD/mXJU/595V/+hfVn/n31Y/5p6U/+Rc0n/hWc2/3dXD/9nQgD/VykA/0cCAP87AAD/NQAA/zQLAP81HQD/AE8ACf9RAAn/WQAL/2QXEP9vJhn/ezAk/4Q5L/+KQTv/jUdF/41NTP+KUlH/h1ZT/4RZUf+FXE7/iV5L/45iSv+UZ0z/mGxR/5pwVv+Ycln/k3FZ/4tsU/+AY0b/dVcw/2hGAP9bMgD/TxoA/0UAAP89AAD/OAAA/zUAAP80AAD/AEgAD/9LABD/VAAV/18MGv9rICD/dyco/4ErMf+ILjz/jDVH/41AUf+MS1j/i1Za/4xeWP+OY1P/kmVN/5VlSP+XZEn/lWNO/5FiVf+KYVr/gV5a/3dYVf9uUUj/Z0cx/2E8AP9cMQD/WCYA/1IbAP9MCAD/RAAA/z4AAP85AAD/AEMAEP9GABT/TwAc/1sJJP9pHyr/dSMw/4AgN/+HHUD/jCVL/441Vf+PR13/kFdg/5JjX/+VaVj/mWpQ/5pnSP+YYUf/kltM/4hUVP98Tlv/bklc/2REV/9eP0r/Xjs1/2E4C/9jNwD/YzYA/2AwAP9ZJAD/UAAA/0YAAP8/AAD/Kpa9xOQ0mrwAAAAASUVORK5CYII='

export default function EdenArtFrontPage() {
const [isMenuOpen, setIsMenuOpen] = useState(false)
const size = useWindowSize()
Expand All @@ -20,7 +22,8 @@ export default function EdenArtFrontPage() {
<div className=" flex items-center">
<Link href="/">
<img
src="logo.png"
src="/logo.png"
alt="Eden Logo"
className="cursor-pointer h-16 sm:h-16 pl-4 sm:pl-24 pt-3 pb-3 object-contain"
/>
</Link>
Expand Down Expand Up @@ -68,15 +71,16 @@ export default function EdenArtFrontPage() {
rel="noopener noreferrer"
href="https://github.com/edenartlab"
>
<img src="github.png" className="h-8 sm:h-10 object-contain" />
<img alt="Github Logo" src="/github.png" className="h-8 sm:h-10 object-contain" />
</Link>
<Link
target="_blank"
rel="noopener noreferrer"
href="https://discord.com/invite/4dSYwDT"
>
<img
src="discord.png"
alt="Discord Logo"
src="/discord.png"
className="h-8 ml-2 sm:h-10 sm:ml-4 object-contain"
/>
</Link>
Expand All @@ -86,7 +90,8 @@ export default function EdenArtFrontPage() {
href="https://twitter.com/Eden_Art_"
>
<img
src="twitter.png"
alt="Twitter Logo"
src="/twitter.png"
className="h-8 ml-2 sm:h-10 sm:ml-4 object-contain"
/>
</Link>
Expand All @@ -96,7 +101,8 @@ export default function EdenArtFrontPage() {
href="https://instagram.com/eden.art____"
>
<img
src="instagram.png"
alt="Instagram Logo"
src="/instagram.png"
className="h-8 ml-2 sm:h-10 sm:ml-4 object-contain"
/>
</Link>
Expand Down Expand Up @@ -143,7 +149,8 @@ export default function EdenArtFrontPage() {
>
<div className="flex">
<img
src="github.png"
alt="Github Logo"
src="/github.png"
className="h-8 mt-1.5 ml-4 object-contain"
/>{' '}
<p className="text-white ml-2 mt-3 text-sm font-bold">
Expand All @@ -159,7 +166,8 @@ export default function EdenArtFrontPage() {
>
<div className="flex">
<img
src="discord.png"
alt="Discord Logo"
src="/discord.png"
className="h-8 ml-4 mt-0.5 object-contain"
/>{' '}
<p className="text-white ml-2 mt-2 text-sm font-bold">
Expand All @@ -173,7 +181,7 @@ export default function EdenArtFrontPage() {
href="https://twitter.com/Eden_Art_"
>
<div className="flex">
<img src="twitter.png" className="h-8 ml-4 object-contain" />{' '}
<img alt="Twitter Logo" src="/twitter.png" className="h-8 ml-4 object-contain" />{' '}
<p className="text-white ml-2 mt-2 text-sm font-bold">
TWITTER
</p>
Expand All @@ -185,7 +193,7 @@ export default function EdenArtFrontPage() {
href="https://instagram.com/eden.art____"
>
<div className="flex">
<img src="instagram.png" className="h-8 ml-4 object-contain" />{' '}
<img alt="Instagram Logo" src="/instagram.png" className="h-8 ml-4 object-contain" />{' '}
<p className="text-white ml-2 mt-2 text-sm font-bold">
INSTAGRAM
</p>
Expand All @@ -196,17 +204,19 @@ export default function EdenArtFrontPage() {
</div>

<div className="relative h-screen">
<video
autoPlay
loop
muted
className="absolute top-0 left-0 w-full h-full object-cover z-0"
style={{ opacity: 0.4 }}
>
<source src="video.mp4" type="video/mp4" />
{/* Add more <source> elements for other video formats if needed */}
Your browser does not support the video tag.
</video>
<div className="opacity-40">
<img src={videoPlaceholderDataUrl} alt="hero-real2real" className="absolute top-24 inset-0 w-full h-full"/>
<video
autoPlay
loop
muted
className="absolute top-24 inset-0 w-full h-full object-cover z-0"
>
<source src="/video.mp4" type="video/mp4" />
{/* Add more <source> elements for other video formats if needed */}
Your browser does not support the video tag.
</video>
</div>
<div className="max-w-7xl px-14 pb-24 pt-32 sm:pb-32 md:flex md:px-24 md:py-32 lg:flex lg:px-24 lg:py-32 justify-start -mt-8 relative z-10">
<div className="max-w-7xl flex-shrink-0 lg:pt-8">
<h1 className="mt-24 text-4xl font-bold tracking-tight text-white lg:text-6xl">
Expand All @@ -218,7 +228,7 @@ export default function EdenArtFrontPage() {
</p>
<Link href={'https://app.eden.art'}>
<div className="mt-6">
<button className="text-white text-lg md:text-sm lg:text-lg pl-4 pr-4 pt-3 pb-3 border border-2 rounded-2xl font-bold tracking-wide transition-transform hover:scale-105 hover:bg-black/40">
<button className="text-white text-lg md:text-sm lg:text-lg pl-4 pr-4 pt-3 pb-3 border-2 rounded-2xl font-bold tracking-wide transition-transform hover:scale-105 hover:bg-black/40">
Enter the Garden
</button>
</div>
Expand All @@ -235,6 +245,7 @@ export default function EdenArtFrontPage() {
<div className="flex flex-col sm:flex sm:flex-row sm:mt-6">
<div className="lg:w-1/2 pt-3 pb-3 sm:w-10/12">
<img
alt="By artists, for artists"
src="/img1.jpg"
className="rounded-2xl w-full h-auto object-cover"
/>
Expand Down Expand Up @@ -274,6 +285,7 @@ export default function EdenArtFrontPage() {
</div>
<div className=" lg:w-1/2 pt-3 pb-3 sm:w-10/12">
<img
alt="SDK"
src="/img2.jpg"
className="rounded-2xl w-full h-auto object-cover"
/>
Expand All @@ -298,6 +310,7 @@ export default function EdenArtFrontPage() {
</div>
<div className="w-full md:pt-3 pb-3 xl:mt-6">
<img
alt="Art in 1 minute"
src="/img3.png"
className="rounded-2xl w-full h-auto object-cover"
/>
Expand All @@ -308,6 +321,7 @@ export default function EdenArtFrontPage() {
<div className="flex mt-6 sm:mt-10 md:mt-24 flex-col sm:flex sm:flex-row">
<div className=" md:w-1/2 pt-3 pb-3 sm:w-10/12">
<img
alt="Train custom models"
src="/img4.png"
className="rounded-2xl w-full h-auto object-cover"
/>
Expand Down Expand Up @@ -358,6 +372,7 @@ export default function EdenArtFrontPage() {
</div>
<div className=" md:w-1/2 pt-3 pb-3 sm:w-6/12">
<img
alt="Beta program"
src="/img5.jpg"
className="rounded-2xl w-full h-auto object-cover"
/>
Expand Down
6 changes: 4 additions & 2 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@ const navigation = {
links: [
{ name: 'App', href: 'https://app.eden.art/' },
{ name: 'Docs', href: 'https://docs.eden.art/docs/category/overview' },
{ name: 'Terms of Service', href: 'https://docs.eden.art/docs/overview/tos' },
{ name: 'Privacy Policy', href: 'https://docs.eden.art/docs/overview/privacy' },
],
community: [
{ name: 'Discord', href: 'https://discord.gg/4dSYwDT' },
{ name: 'Twitter', href: 'https://twitter.com/eden_art_' },
{ name: 'Instagram', href: 'https://instagram.com/eden.art____' },
],
devlopers: [
developers: [
{ name: 'Github', href: 'https://github.com/github.com/edenartlab' },
{
name: 'Eden SDK (JS)',
Expand Down Expand Up @@ -139,7 +141,7 @@ export default function Footer() {
Company
</h3>
<ul role="list" className="mt-6 space-y-4">
{navigation.devlopers.map(item => (
{navigation.developers.map(item => (
<li key={item.name}>
<a
href={item.href}
Expand Down

0 comments on commit a4df6f1

Please sign in to comment.