@@ -5,6 +5,7 @@ import { marked } from "marked";
55
66import Layout from " ../../../layouts/Layout.astro" ;
77import type { Plugin } from " ./type" ;
8+ import { Image } from " astro:assets" ;
89
910interface Props {
1011 plugin: Plugin ;
@@ -33,30 +34,31 @@ try {
3334---
3435
3536<Layout class =" plugin-page" >
36- <header class =" banner" >
37+ <header class =" banner py-4 " >
3738 <div class =" container" >
38- <div class =" py-3 " >
39+ <div class =" banner-top " >
3940 <a class =" text-white" href =" /desktop" >Gephi</a > > <a class =" text-white" href =" /desktop/plugins" >Gephi plugins</a
4041 > > <a class =" text-white" href ={ ` /desktop/plugins?categories=${plugin .category } ` } >{ plugin .category } plugins</a >
4142 </div >
4243
43- <div class =" content my-3 pb-5 pt-3" >
44+ <div class =" banner-contents" >
45+ <div class =" banner-texts gap-3" >
46+ <h1 class =" fs-2" >{ plugin .name } </h1 >
47+
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 >
4451 {
4552 !! plugin .images ?.length && (
46- <img
47- class = " flex-shrink-0"
48- src = { ` https://raw.githubusercontent.com/gephi/gephi-plugins/refs/heads/gh-pages/plugins/${plugin .images [0 ].image } ` }
49- />
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 >
5060 )
5161 }
52-
53- <section class =" flex-grow-1" >
54- <div class =" " >
55- <h1 >{ plugin .name } </h1 >
56- <div class =" fs-4" >last updated on { plugin .last_update } </div >
57- <p class =" fs-4 mt-3" >{ plugin .short_description } </p >
58- </div >
59- </section >
6062 </div >
6163 </div >
6264 </header >
0 commit comments