Skip to content
Open
Show file tree
Hide file tree
Changes from 2 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
20 changes: 10 additions & 10 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import CloseIcon from "../assets/icons/close.svg";
import MenuIcon from "../assets/icons/menu.svg";
import Logo from "../assets/mainVisual/mv_logo_sp.svg";
import TextLink from "./ui/TextLink.astro";
import Button from "./ui/Button.astro";

const currentLocale = Astro.currentLocale || "ja";
---
Expand Down Expand Up @@ -45,6 +46,10 @@ const currentLocale = Astro.currentLocale || "ja";
object-fit: contain;
}

.header-button {
width: 192px;
}

@media screen and (max-width: 768px) {
.header {
padding: 4px 24px;
Expand Down Expand Up @@ -255,16 +260,11 @@ const currentLocale = Astro.currentLocale || "ja";
<span>Help</span>
<OpenInNewIcon class="external-icon" />
</a> -->
{
/*
<Button
href="https://ti.to/gophers-japan/go-conference-2025"
target="_blank"
>
{currentLocale === "ja" ? "イベントに申し込む" : "Apply for the event"}
</Button>
*/
}
<div class="header-button">
<Button href="https://sessionize.com/go-conference-2026/" isBlankLink>
{currentLocale === "ja" ? "イベントに申し込む" : "Apply for the event"}
</Button>
</div>
<!-- <ul class="language-switcher">
<li class="language-link">
<a
Expand Down
12 changes: 10 additions & 2 deletions src/components/top/MainVisual.astro
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nits: 英語対応は私の方で持っているので進めるので、こちらの対応は別でも良いかも

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

enこのままでも大丈夫そうですかね?(コンフリクトしそうなら消しちゃいますが)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

コンフリクトするとは思いますが、そしたら私の方でも対応するので大丈夫です

Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import MainVisualImage from "./MainVisualImage.astro";
import logoImageColumn from "../../assets/mainVisual/mv_logo_pc.svg";
import logoImageRow from "../../assets/mainVisual/mv_logo_sp.svg";
import Button from "../ui/Button.astro";

const currentLocale = Astro.currentLocale || "ja";
---

<section id="main-visual">
Expand All @@ -27,8 +29,14 @@ import Button from "../ui/Button.astro";
>中野セントラル<br class="pc-only" />パークカンファレンス</span
>
</div>
<!-- FIXME: 募集開始後に有効にする -->
<!-- <Button size="large" href="#" class="mv-button">イベントに申し込む</Button> -->
<Button
size="large"
href="https://sessionize.com/go-conference-2026/"
isBlankLink
class="mv-button"
>
{currentLocale === "ja" ? "イベントに申し込む" : "Apply for the event"}
Comment thread
mochi-yu marked this conversation as resolved.
Outdated
</Button>
</div>
</div>
</section>
Expand Down
4 changes: 4 additions & 0 deletions src/components/ui/TextLink.astro
Comment thread
mochi-yu marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ const {
color: var(--text-accent);
}

span {
white-space: nowrap;
}

.link-icon {
width: 20px;
height: 20px;
Expand Down