-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 126/impl-download-button
- Loading branch information
Showing
4 changed files
with
68 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
import { getCollection } from 'astro:content'; | ||
import { LayoutGrid } from 'lucide-astro'; | ||
import ButtonLink from './ButtonLink.astro'; | ||
import CircleCard from './CircleCard.astro'; | ||
import ColoredContainer from './ColoredContainer.astro'; | ||
import ColoredHeading from './ColoredHeading.astro'; | ||
const CircleSlugs = (await getCollection('circles')).map(Circle => { | ||
return Circle.slug; | ||
}) satisfies string[]; | ||
--- | ||
|
||
<ColoredContainer color="yellow" class="flex-col w-full"> | ||
<div class="flex items-center justify-between w-full"> | ||
<ColoredHeading as="h3" class="text-4xl" text="サークル" color="yellow" /> | ||
<p | ||
class="hidden text-2xl font-Dela text-mauve-11 text-stroke-mauve-1 text-stroke-8 paint-sfm drop-shadow-bump shadow-mauve-6 md:block" | ||
> | ||
色々な出し物を回ってみよう | ||
</p> | ||
<ButtonLink color="yellow" href="/circle"> | ||
<LayoutGrid class="w-6 h-6 stroke-[2px]" /> | ||
一覧を開く | ||
</ButtonLink> | ||
</div> | ||
<div class="flex gap-10 overflow-x-scroll hidden-scrollbar"> | ||
{ | ||
CircleSlugs.map((slug) => { | ||
return ( | ||
<span class="self-stretch w-36"> | ||
<CircleCard type="grid" slug={slug} class="w-36" /> | ||
</span> | ||
); | ||
}) | ||
} | ||
</div> | ||
</ColoredContainer> | ||
|
||
<style> | ||
.hidden-scrollbar { | ||
overflow: scroll; | ||
-ms-overflow-style: none; | ||
scrollbar-width: none; | ||
} | ||
|
||
.hidden-scrollbar::-webkit-scrollbar { | ||
display: none; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,20 @@ | ||
--- | ||
import Layout from "../layouts/Layout.astro"; | ||
import Theme from "../components/theme.astro" | ||
import Layout from "@/layouts/Layout.astro"; | ||
import Theme from "@/components/theme.astro" | ||
import CirclePanel from "@/components/PreviewCircle.astro"; | ||
import EventPanel from "@/components/EventPanel.astro"; | ||
import StaffPanel from "@/components/StaffPanel.astro"; | ||
import AccessPanel from "@/components/AccessPanel.astro"; | ||
--- | ||
|
||
<Layout title="トップページ" hasHero> | ||
<Theme /> | ||
<h1 class="font-Dela text-5xl">現在準備中です</h1> | ||
<a | ||
href="https://x.com/shikosai33/" | ||
class="text-mauve-11 font-Dela underline" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
X(Twitter) で最新情報をチェック | ||
</a> | ||
<a | ||
href="https://instagram.com/shikosai33/" | ||
class="text-mauve-11 font-Dela underline" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Instagram で最新情報をチェック | ||
</a> | ||
<div class="flex flex-col gap-6"> | ||
<Theme /> | ||
<CirclePanel /> | ||
<EventPanel /> | ||
<div class="grid gap-6 md:grid-cols-2"> | ||
<StaffPanel /> | ||
<AccessPanel /> | ||
</div> | ||
</div> | ||
</Layout> |