File tree 11 files changed +33
-49
lines changed
11 files changed +33
-49
lines changed Original file line number Diff line number Diff line change 1
1
import { CardDetail } from "@interfaces/card.ts" ;
2
2
3
- /**
4
- * @params CardDetail カードの詳細
5
- */
6
3
export default function Card ( { title, count, icon } : CardDetail ) {
7
4
return (
8
5
< div class = "px-8 py-4 w-80 md:w-96 h-32 flex flex-row justify-between items-center bg-card rounded-md shadow-sm" >
Original file line number Diff line number Diff line change 1
- import Card from "@components/cards/card .tsx" ;
1
+ import Card from "@components/Card .tsx" ;
2
2
3
3
import { CardDetail } from "@interfaces/card.ts" ;
4
4
File renamed without changes.
Original file line number Diff line number Diff line change 1
- import Link from "@components/common/link .tsx" ;
1
+ import Link from "@components/Link .tsx" ;
2
2
3
3
export default function Footer ( ) {
4
4
return (
Original file line number Diff line number Diff line change
1
+ import LinkButton from "@components/LinkButton.tsx" ;
2
+
3
+ export default function Header ( ) {
4
+ return (
5
+ < div class = "w-full px-4 py-10 flex flex-row justify-between items-center" >
6
+ < div class = "flex items-center" >
7
+ < i class = "ti ti-at text-3xl md:text-4xl" />
8
+ < span class = "ml-3 font-medium text-md md:text-lg" >
9
+ < p > im@sparql</ p >
10
+ < p > Data Dashboard</ p >
11
+ </ span >
12
+ </ div >
13
+ < div class = "space-x-2 md:space-x-4" >
14
+ < LinkButton title = "im@sparql" href = "https://sparql.crssnky.xyz/imas/" >
15
+ < i class = "ti ti-database text-xl md:text-2xl" />
16
+ </ LinkButton >
17
+ < LinkButton
18
+ title = "GitHub"
19
+ href = "https://github.com/arrow2nd/imasparql-data-dashboard"
20
+ >
21
+ < i class = "ti ti-brand-github text-xl md:text-2xl" />
22
+ </ LinkButton >
23
+ </ div >
24
+ </ div >
25
+ ) ;
26
+ }
File renamed without changes.
Original file line number Diff line number Diff line change 1
- import Link from "@components/common/link.tsx" ;
2
1
import { JSX } from "preact" ;
2
+ import Link from "@components/Link.tsx" ;
3
3
4
4
export default function LinkButton (
5
5
props : JSX . HTMLAttributes < HTMLAnchorElement >
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
import { Handlers , PageProps } from "$fresh/server.ts" ;
2
2
3
- import Cards from "@components/cards/index .tsx" ;
4
- import Err from "@components/error/index .tsx" ;
5
- import Header from "@components/header/index .tsx" ;
6
- import Footer from "@components/footer/index .tsx" ;
3
+ import Cards from "@components/Cards .tsx" ;
4
+ import Err from "@components/Error .tsx" ;
5
+ import Header from "@components/Header .tsx" ;
6
+ import Footer from "@components/Footer .tsx" ;
7
7
8
8
import { fetchCardDetails } from "@libs/fetch.ts" ;
9
9
You can’t perform that action at this time.
0 commit comments