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

新着情報をHome画面に表示させた #40

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
14 changes: 7 additions & 7 deletions .firebase/hosting.ZGlzdA.cache
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
vite.svg,1671416388328,d3bbbc44b3ea71906a72bf2ec1a4716903e2e3d9f85a5007205a65d1f12e2923
env.js,1671416388328,a49d01487f81f5edd83839e89ffbcbba14d3d02fa80ef5611ce4d25f5baab8fe
index.html,1671416388680,668ff0546b55c62356ba1ec9932f1b384ec5d662d422f63de887d5d4456e72c6
assets/iine.29bd173c.svg,1671416388680,b7ae681a549ad1f05c0c7838dc4725b2b4758cf79b1dea5f800ab40db369fd8f
assets/index.dd51659b.css,1671416388681,3ba4097bd937edbeb4edc13b3458e69342e807f2642f09ef19505fad3e2343eb
assets/base_track.05f10fb6.png,1671416388680,4053a3515ce84757df6eac1333dc22f0329c150a5875a9d1bbc0cfa3dd5dadf0
assets/index.baefb983.js,1671416388681,253f76fc4e80700ee0791275c82559df26099b202ee80ae801cb4a7ca56e92b1
env.js,1674091359827,a49d01487f81f5edd83839e89ffbcbba14d3d02fa80ef5611ce4d25f5baab8fe
index.html,1674091360189,5c23eb20bba7af39db0247c0a9edbd5293ce471a2a9b99bd0ecd517438990a12
vite.svg,1674091359827,d3bbbc44b3ea71906a72bf2ec1a4716903e2e3d9f85a5007205a65d1f12e2923
assets/iine.29bd173c.svg,1674091360189,b7ae681a549ad1f05c0c7838dc4725b2b4758cf79b1dea5f800ab40db369fd8f
assets/index.dd51659b.css,1674091360189,3ba4097bd937edbeb4edc13b3458e69342e807f2642f09ef19505fad3e2343eb
assets/base_track.05f10fb6.png,1674091360189,4053a3515ce84757df6eac1333dc22f0329c150a5875a9d1bbc0cfa3dd5dadf0
assets/index.adb2d913.js,1674091360191,4d0b3d26bb6b791c7f4a5ec04bc12abc8f49263ffef26e9577cf37e8fb5656cb
29 changes: 29 additions & 0 deletions src/components/organisms/News.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { Box, Flex, List, ListIcon, ListItem, Text } from '@chakra-ui/react';
import { FaCircle } from 'react-icons/fa';
const News = () => {
return (
<Box>
<h1>新着情報</h1>
<List spacing={3}>
<ListItem>
<Flex>
<Text>1/21</Text>
<Text>等々力競技場</Text>
</Flex>
<ListIcon as={FaCircle} color="green.500" />
個人開放情報が更新されました。
</ListItem>
<ListItem>
<Flex>
<Text>1/21</Text>
<Text>夢の島競技場</Text>
</Flex>
<ListIcon as={FaCircle} color="green.500" />
個人開放情報が更新されました。
</ListItem>
</List>
</Box>
);
};

export default News;
2 changes: 2 additions & 0 deletions src/components/templates/layouts/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import SiteOutline from 'components/organisms/layouts/SiteOutline';
import Calender from 'components/organisms/Calender';
import WithSpeechBubbles from 'components/organisms/layouts/Testimonial';
import { AmazonBanner } from 'components/atoms/AmazonBanner';
import News from 'components/organisms/News';
const title = '競技場検索';

const Home: FC = () => {
Expand All @@ -32,6 +33,7 @@ const Home: FC = () => {
現在の個人開放状況
</chakra.h3>
<Calender />
<News />
</Box>
<WithSpeechBubbles />
<AmazonBanner />
Expand Down