Skip to content

Commit bf95d14

Browse files
committed
progress
1 parent 2ad1fb6 commit bf95d14

12 files changed

Lines changed: 82 additions & 20 deletions

File tree

124 KB
Loading
84.3 KB
Loading
5.29 MB
Loading
2.18 MB
Loading
701 KB
Loading
5.72 MB
Loading

devconnect/src/pages/argentina.module.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@
22
// mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
33
// -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
44
}
5+
6+
.shadow {
7+
text-shadow: 1px 2px 1px rgba(0, 0, 0, 1);
8+
}

devconnect/src/pages/argentina.tsx

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ import { Footer, Header, withTranslations } from 'pages/index'
77
import { client } from '../../tina/__generated__/client'
88
import Image from 'next/image'
99
import styles from './argentina.module.scss'
10-
import Oblisk from '../../public/scroll-video/Oblisk_4K0125.webp'
10+
// import Oblisk from '../../public/scroll-video/Oblisk_4K0125.webp'
1111
import cn from 'classnames'
1212
import NewSchedule from 'lib/components/event-schedule-new'
1313
import { formatResult } from 'lib/helpers/notion-normalizer'
1414
// import dateFns from 'date-fns'
1515
import moment from 'moment'
16+
import PageTitle from 'assets/images/ba/subpage_event_calendar_2x.webp'
17+
import Voxel from 'assets/images/ba/voxel-0.jpg'
1618

1719
const Argentina = (props: any) => {
1820
const { selectedEvent, selectedDay, setSelectedEvent, setSelectedDay } = useCalendarStore()
@@ -90,21 +92,19 @@ const Argentina = (props: any) => {
9092
return (
9193
<>
9294
<Header active />
93-
<div className="relative h-[20vh] w-full text-black bg-black flex flex-col justify-end overflow-hidden">
95+
<div className="relative h-[24vh] w-full text-black bg-black flex flex-col justify-end overflow-hidden">
9496
<Image
95-
src={Oblisk}
96-
alt="Argentina"
97-
className={cn(styles.argentina, 'object-cover absolute h-full w-full opacity-80')}
97+
src={Voxel}
98+
alt="Voxel art background"
99+
className={cn(styles.argentina, 'object-cover absolute object-[0%,13%] h-full w-full opacity-80')}
98100
/>
99-
<div className="section z-10 pb-4">
100-
<div className="flex gap-4">
101-
<div className="text-lg bg-black/60 text-white px-4 py-1 rounded-md border border-solid border-black backdrop-blur-sm">
102-
Devconnect Argentina - Event Calendar
101+
102+
<div className="section z-10 pb-1">
103+
<div className="flex justify-between items-end">
104+
<Image src={PageTitle} alt="Page Title" className={'contain w-[450px] translate-x-[-3%]'} />
105+
<div className={cn(styles.shadow, 'gap-2 pb-3 text-white text-lg')}>
106+
17 — 22 November Buenos Aires, ARGENTINA
103107
</div>
104-
{/* <div className="flex gap-2 items-center">
105-
<div className="text-sm text-gray-500">Filter Goes here</div>
106-
<Button variant="secondary">Login with Zupass</Button>
107-
</div> */}
108108
</div>
109109
</div>
110110
{/* <div className="absolute top-0 left-0 w-full h-full bg-black opacity-50"></div> */}
@@ -183,12 +183,12 @@ export async function getStaticProps({ locale }: { locale: string }) {
183183
is_not_empty: true,
184184
},
185185
},
186-
{
187-
property: 'Live on website',
188-
checkbox: {
189-
equals: true,
190-
},
191-
},
186+
// {
187+
// property: 'Live on website',
188+
// checkbox: {
189+
// equals: true,
190+
// },
191+
// },
192192
],
193193
},
194194
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.shadow {
2+
text-shadow: 1px 2px 1px rgba(0, 0, 0, 1);
3+
}

devconnect/src/pages/tickets.tsx

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
import React from 'react'
2+
import Link from 'common/components/link'
3+
import { Footer, Header, withTranslations } from 'pages/index'
4+
import { client } from '../../tina/__generated__/client'
5+
import Image from 'next/image'
6+
import styles from './tickets.module.scss'
7+
import cn from 'classnames'
8+
import VoxelCar from 'assets/images/ba/voxel-car.jpg'
9+
import PageTitle from 'assets/images/ba/subpage_devconnect_ticketing_2x.webp'
10+
11+
const Tickets = (props: any) => {
12+
return (
13+
<>
14+
<Header active />
15+
<div className="relative h-[24vh] w-full text-black bg-black flex flex-col justify-end overflow-hidden">
16+
<Image
17+
src={VoxelCar}
18+
alt="Voxel art background"
19+
className={cn(styles.argentina, 'object-cover absolute object-[0%,90%] h-full w-full opacity-80')}
20+
/>
21+
<div className="section z-10 pb-1">
22+
<div className="flex justify-between items-end">
23+
<Image src={PageTitle} alt="Page Title" className={'contain w-[500px] translate-x-[-3%]'} />
24+
<div className={cn(styles.shadow, 'gap-2 pb-3 text-white text-lg')}>
25+
17 — 22 November Buenos Aires, ARGENTINA
26+
</div>
27+
</div>
28+
</div>
29+
{/* <div className="absolute top-0 left-0 w-full h-full bg-black opacity-50"></div> */}
30+
</div>
31+
<div className="section">Tickets omg</div>
32+
<Footer />
33+
</>
34+
)
35+
}
36+
37+
export async function getStaticProps({ locale }: { locale: string }) {
38+
const path = locale === 'en' ? 'destino_devconnect.mdx' : locale + '/destino_devconnect.mdx'
39+
const content = await client.queries.pages({ relativePath: path })
40+
const translationPath = locale === 'en' ? 'global.json' : locale + '/global.json'
41+
const translations = await client.queries.global_translations({ relativePath: translationPath })
42+
43+
return {
44+
props: {
45+
translations,
46+
locale,
47+
content,
48+
},
49+
revalidate: 1 * 60 * 60, // 60 minutes, in seconds
50+
}
51+
}
52+
53+
export default withTranslations(Tickets)

0 commit comments

Comments
 (0)