@@ -3,9 +3,9 @@ import { Icon } from "astro-icon/components";
33import { isEmpty } from " lodash-es" ;
44import { marked } from " marked" ;
55
6+ import Banner from " ../../../components/Banner.astro" ;
67import Layout from " ../../../layouts/Layout.astro" ;
78import type { Plugin } from " ./type" ;
8- import { Image } from " astro:assets" ;
99
1010interface Props {
1111 plugin: Plugin ;
@@ -34,34 +34,32 @@ try {
3434---
3535
3636<Layout class =" plugin-page" >
37- <header class =" banner py-4" >
38- <div class =" container" >
39- <div class =" banner-top" >
40- <a class =" text-white" href =" /desktop" >Gephi</a > > <a class =" text-white" href =" /desktop/plugins" >Gephi plugins</a
41- > > <a class =" text-white" href ={ ` /desktop/plugins?categories=${plugin .category } ` } >{ plugin .category } plugins</a >
42- </div >
37+ <Banner className =" py-4" >
38+ <div class =" banner-top" >
39+ <a class =" text-white" href =" /desktop" >Gephi</a > > <a class =" text-white" href =" /desktop/plugins" >Gephi plugins</a > >
40+ <a class =" text-white" href ={ ` /desktop/plugins?categories=${plugin .category } ` } >{ plugin .category } plugins</a >
41+ </div >
4342
44- <div class =" banner-contents" >
45- <div class =" banner-texts gap-3" >
46- <h1 class =" fs-2" >{ plugin .name } </h1 >
43+ <div class =" banner-contents" >
44+ <div class =" banner-texts gap-3" >
45+ <h1 class =" fs-2" >{ plugin .name } </h1 >
4746
48- <p class =" fs-4" >{ plugin .short_description } </p >
49- <p class =" fs-5 opacity-75" >last updated on { plugin .last_update } </p >
50- </div >
51- {
52- !! plugin .images ?.length && (
53- <div class = " banner-image" >
54- <img
55- class = " flex-shrink-0 bg-white"
56- src = { ` https://raw.githubusercontent.com/gephi/gephi-plugins/refs/heads/gh-pages/plugins/${plugin .images [0 ].image } ` }
57- alt = " "
58- />
59- </div >
60- )
61- }
47+ <p class =" fs-4" >{ plugin .short_description } </p >
48+ <p class =" fs-5 opacity-75" >last updated on { plugin .last_update } </p >
6249 </div >
50+ {
51+ !! plugin .images ?.length && (
52+ <div class = " banner-image" >
53+ <img
54+ class = " flex-shrink-0 bg-white"
55+ src = { ` https://raw.githubusercontent.com/gephi/gephi-plugins/refs/heads/gh-pages/plugins/${plugin .images [0 ].image } ` }
56+ alt = " "
57+ />
58+ </div >
59+ )
60+ }
6361 </div >
64- </header >
62+ </Banner >
6563
6664 <main class =" pt-5" >
6765 <section class =" container pb-5 plugin-page" >
0 commit comments