Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2025 init #44

Merged
merged 1 commit into from
Jan 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/components/layouts/base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ const fontInter = Inter({
const Layout: FC<PageProps> = ({ pageTitle, children }) => {
const siteTitle = "ETHTokyo'24";
const baseLayoutStyle = css``;
const mainLayoutStyle = css`
background-color: ${brand.Miyabi};
`;
const mainLayoutStyle = css``;

return (
<>
Expand Down
7 changes: 2 additions & 5 deletions src/components/organisms/Footer/index.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import { mq } from "@/themes/settings/breakpoints";
import { brand } from "@/themes/settings/color";
import type { ComponentProps } from "@/types";
import { css } from "@emotion/react";
import type { FC } from "react";

import type { FC } from "react";
const Footer: FC<ComponentProps> = ({ children }) => {
const footerStyle = css`
background-color: ${brand.Shuiro};
padding: 1rem 0;
text-align: center;
width: 100%;
Expand All @@ -24,8 +22,7 @@ const Footer: FC<ComponentProps> = ({ children }) => {
}
`}
>
© 2024 ETHTokyo - Ethereum Japan. Domain (ethtokyo.com) provided by
Yusuke Obinata.
© {new Date().getFullYear()} ETHTokyo - Ethereum Japan.
</span>
</footer>
);
Expand Down
94 changes: 59 additions & 35 deletions src/components/organisms/Schedule.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
import eventDetails from "@/data/eventDetails.json";
import { mq } from "@/themes/settings/breakpoints";
import { brand, neutral, themeLight } from "@/themes/settings/color";
import { css } from "@emotion/react";
import Image from "next/image";
import Link from "next/link";
import seikaiha from "public/images/seikaiha.png";
import { GoInfo } from "react-icons/go";
import { HiCalendarDays, HiOutlineMapPin } from "react-icons/hi2";
import { Socials } from "./Socials";

Expand All @@ -16,7 +12,7 @@ const Info = () => {
display:flex;
flex-direction:column;
justify-content: center;
padding: 4rem;
padding: 4rem 2rem 2rem 0;
text-align: center;

${mq.laptop} {
Expand All @@ -25,36 +21,70 @@ const Info = () => {
}
`}
>
<div css={css`align-self:center;`}>
<div css={css`align-self:start;`}>
<HiCalendarDays size={60} />
</div>
<div css={css`padding: 0 1rem;`}>
<h2 css={css`margin:0;`}>Hackathon</h2>
<p css={css`font-size: 1rem; margin:0;`}>23-25 August 2024</p>
</div>
<div css={css`padding: 0 1rem;`}>
<h2 css={css`margin:0;`}>Conference</h2>
<p css={css`font-size: 1rem; margin:0;`}>26 August 2024</p>

<div
css={css`
display: flex;
flex-direction: column;
padding: 0 1rem;
`}
>
<div>
<h2 css={css`margin:0;`}>Conference</h2>
<p css={css`font-size: 1rem; margin:0;`}>
{eventDetails.eventDate.conference}
</p>
</div>
<div css={css`margin-top: 1rem;`}>
<h2 css={css`margin:0;`}>Hackathon</h2>
<p css={css`font-size: 1rem; margin:0;`}>
{eventDetails.eventDate.hackathon}
</p>
</div>
</div>
<div css={css`height:2rem; ${mq.laptop}{width: 2rem;}`} />
<div css={css`align-self:center;`}>
<div css={css`align-self:start;`}>
<HiOutlineMapPin size={60} />
</div>
<div css={css`padding: 0 1rem;`}>
<h2 css={css`margin:0;`}>Digital Garage</h2>
<a
css={css`text-decoration: none; :hover {text-decoration: underline;} ;`}
href="https://maps.app.goo.gl/aCRdR2pX4qRaUz6MA"
target="_blank"
rel="noreferrer"
>
<p css={css`font-size: 1rem; margin:0;`}>
15-1 Udagawacho, Shibuya City, Tokyo
</p>
</a>
<div
css={css`
display: flex;
flex-direction: column;
padding: 0 1rem;
`}
>
<div css={css``}>
<h2 css={css`margin:0;`}>United Nations University</h2>
<a
css={css`text-decoration: none; :hover {text-decoration: underline;} ;`}
href="https://maps.app.goo.gl/uZKbVZm5wmGyCsAg6"
target="_blank"
rel="noreferrer"
>
<p css={css`font-size: 1rem; margin:0;`}>
5-53-70 Jingumae, Shibuya, Tokyo
</p>
</a>
</div>
<div css={css`margin-top: 1rem;`}>
<h2 css={css`margin:0;`}>Digital Garage</h2>
<a
css={css`text-decoration: none; :hover {text-decoration: underline;} ;`}
href="https://maps.app.goo.gl/aCRdR2pX4qRaUz6MA"
target="_blank"
rel="noreferrer"
>
<p css={css`font-size: 1rem; margin:0;`}>
15-1 Udagawacho, Shibuya, Tokyo
</p>
</a>
</div>
</div>
<div css={css`height:2rem; ${mq.laptop}{width: 2rem;}`} />
<div css={css`align-self:center;`}>
{/* <div css={css`align-self:center;`}>
<GoInfo size={60} />
</div>
<div css={css`padding: 0 1rem;`}>
Expand All @@ -70,7 +100,7 @@ const Info = () => {
Click to see all events
</a>
</p>
</div>
</div> */}
</div>
</div>
);
Expand All @@ -81,12 +111,6 @@ const ScheduleSection = () => {
<section
id="schedule"
css={css`
background-color: ${brand.Miyabi};
background-image: url(${seikaiha.src});
background-position: center;
background-repeat: repeat;
background-size: cover;
padding: 2rem 0;
text-align: center;
width: 100%;
`}
Expand Down
31 changes: 24 additions & 7 deletions src/components/organisms/Statement.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,34 @@
import eventDetails from "@/data/eventDetails.json";
import { mq } from "@/themes/settings/breakpoints";
import { brand } from "@/themes/settings/color";
import { css } from "@emotion/react";
import Image from "next/image";
import ETHDiamondLogo from "public/logo/ETHDiamondLogo.png";
import ETHTokyoLogo from "public/logo/ETHTokyoLogo.png";

const StatementSection = () => {
const EventLogo = () => {
return (
<Image
src={ETHTokyoLogo}
alt="ETHTokyo logo"
css={css`
height: auto;
max-width: 256px;
padding-left: 11px;
padding-top: 1rem;
`}
/>
);
};

return (
//background: linear-gradient(45deg, , );
<section
id="statement"
css={css`
background: linear-gradient(0deg, #FF5544, #FF6F9D);
background: linear-gradient(0deg, ${brand.Shuiro}, #000);
border-radius: 0 0 0 0 / 0 0 100% 100%;
clip-path: ellipse(120% 100% at 50% 100%);
margin-top: -4rem;
z-index: 10;
`}
>
Expand All @@ -28,10 +43,11 @@ const StatementSection = () => {
}
`}
>
<Image src={ETHDiamondLogo} alt="Ethereum diamond" />
<h2 css={css`color: ${brand.Miyabi}; font-weight: 300;`}>
Welcome and join us!
</h2>
{/* <Image src={ETHDiamondLogo} alt="Ethereum diamond" /> */}
<div css={css`padding: 2rem 0;`}>
<EventLogo />
</div>
<h2 css={css`font-weight: 600;`}>Welcome and join us!</h2>
<p css={css`text-align: justify; ${mq.laptop}{font-size: 1.25rem;}`}>
ETHTokyo is a engaging hackathon for the global Ethereum community
where people with all sorts of backgrounds, ideas, and skills come
Expand All @@ -41,6 +57,7 @@ const StatementSection = () => {
foster the creation of amazing new innovations for the future. Join us
and be a part of shaping what's next in the Ethereum universe!
</p>
Further details will be announced soon.
</div>
</section>
);
Expand Down
8 changes: 8 additions & 0 deletions src/data/eventDetails.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"eventDate": {
"duration": "Sep 12-15, 2025",
"conference": "September 12",
"hackathon": "September 13-15"
},
"eventLocation": "Tokyo, Japan"
}
Loading
Loading