Skip to content

Commit 66b382c

Browse files
committed
404 and under construction pages
fixes #62
1 parent 6a0a716 commit 66b382c

8 files changed

Lines changed: 139 additions & 59 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
import { Icon } from "astro-icon/components";
3+
import Layout from "../layouts/Layout.astro";
4+
5+
interface Props {
6+
title: string;
7+
}
8+
const { title } = Astro.props;
9+
---
10+
11+
<Layout>
12+
<header class="banner py-5">
13+
<section class="container my-5 py-4 w-100">
14+
<div class="d-flex gap-3 fs-1 w-100">
15+
<Icon name="ph:barricade" />
16+
<Icon name="ph:shovel" />
17+
<Icon name="ph:toolbox" />
18+
<Icon name="ph:screwdriver" />
19+
<Icon name="ph:hammer" />
20+
<Icon name="ph:crane-tower" />
21+
<Icon name="ph:pencil-ruler" />
22+
<Icon name="ph:pipe" />
23+
</div>
24+
<h1>
25+
{title} page not ready yet!
26+
</h1>
27+
</section>
28+
</header>
29+
30+
<main class="p-5">
31+
<section class="fs-2">
32+
<slot />
33+
<p>We are working on it...</p>
34+
</section>
35+
<section>
36+
<slot name="more-information" />
37+
</section>
38+
</main>
39+
</Layout>

src/pages/404.astro

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
import { Icon } from "astro-icon/components";
3+
import Layout from "../layouts/Layout.astro";
4+
---
5+
6+
<Layout>
7+
<header class="banner py-5">
8+
<section class="container my-5 py-4">
9+
<h1><Icon name="ph:link-break" /> Something about Gephi could not be found!</h1>
10+
</section>
11+
</header>
12+
13+
<main class="p-5">
14+
<h2>Please visit <a href="/">Gephi.org homepage</a> to find the information you were looking for.</h2>
15+
</main>
16+
</Layout>

src/pages/contribute/index.astro

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
---
2-
import Layout from "../../layouts/Layout.astro";
2+
import UnderConstructionPage from "../../components/UnderConstructionPage.astro";
33
---
44

5-
<Layout>
6-
<header class="container container-medium mt-5 mb-5 text-center">
7-
<section>
8-
<h1>Static page</h1>
9-
</section>
10-
</header>
11-
12-
<main class="container">TODO</main>
13-
</Layout>
5+
<UnderConstructionPage title="Contribute">
6+
<p>The Contribute page will list information on how to contribute to Gephi.</p>
7+
</UnderConstructionPage>

src/pages/funding/index.astro

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
---
2-
import Layout from "../../layouts/Layout.astro";
2+
import UnderConstructionPage from "../../components/UnderConstructionPage.astro";
33
---
44

5-
<Layout>
6-
<header class="container container-medium mt-5 mb-5 text-center">
7-
<section>
8-
<h1>Static page</h1>
9-
</section>
10-
</header>
11-
12-
<main class="container">TODO</main>
13-
</Layout>
5+
<UnderConstructionPage title="Funding">
6+
<p>The Funding page will present our funding strategies and call for donations.</p>
7+
</UnderConstructionPage>

src/pages/gephisto/index.astro

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
---
2-
import Layout from "../../layouts/Layout.astro";
2+
import UnderConstructionPage from "../../components/UnderConstructionPage.astro";
33
---
44

5-
<Layout>
6-
<header class="container container-medium mt-5 mb-5 text-center">
7-
<section>
8-
<h1>Static page</h1>
9-
</section>
10-
</header>
11-
12-
<main class="container">TODO</main>
13-
</Layout>
5+
<UnderConstructionPage title="Gephisto">
6+
<p><a href="https://jacomyma.github.io/gephisto">Gephisto</a> will have its own presentation page here.</p>
7+
</UnderConstructionPage>

src/pages/help/index.astro

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
---
2-
import Layout from "../../layouts/Layout.astro";
2+
import UnderConstructionPage from "../../components/UnderConstructionPage.astro";
33
---
44

5-
<Layout>
6-
<header class="container container-medium mt-5 mb-5 text-center">
7-
<section>
8-
<h1>Static page</h1>
9-
</section>
10-
</header>
11-
12-
<main class="container">TODO</main>
13-
</Layout>
5+
<UnderConstructionPage title="Help">
6+
<p>
7+
The Help page will list places where to find help. Meanwhile please give a try to the <a
8+
href="https://docs.gephi.org">Gephi documentation</a
9+
>.
10+
</p>
11+
</UnderConstructionPage>

src/pages/how-to/index.astro

Lines changed: 60 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,64 @@
11
---
2-
import Layout from "../../layouts/Layout.astro";
2+
import UnderConstructionPage from "../../components/UnderConstructionPage.astro";
33
---
44

5-
<Layout>
6-
<header class="container container-medium mt-5 mb-5 text-center">
7-
<section>
8-
<h1>Static page</h1>
9-
</section>
10-
</header>
5+
<UnderConstructionPage title="How-to">
6+
<p>The How to page will propose a beginner tutorial and list existing tutorials you can find online.</p>
7+
<div slot="more-information">
8+
<p>Meanwhile you can visit the tutorials made by the community:</p>
9+
<p>
10+
<b>Ver&oacute;nica Espinoza</b> teaches Gephi applied to computer sciences and digital anthropology at NetHabitus (Mexico).
11+
On her Medium blog, she publishes numerous resources that allow users to discover and compare the features of several
12+
network analysis software programs, including <a
13+
href="https://www.google.com/url?q=https://medium.com/@vespinozag&sa=D&source=editors&ust=1756735244743974&usg=AOvVaw2wyMMCPwevWenHM2-xFp17"
14+
>Gephi tutorials</a
15+
> on various plugins, functionalities, and tools for extracting networks from various sources. She also publishes resources
16+
and tools on her
17+
<a
18+
href="https://www.google.com/url?q=https://www.veronicaespinoza.org/welcome&sa=D&source=editors&ust=1756735244744353&usg=AOvVaw29ge92FfGUZEbcRu7u9LgX"
19+
>personal website</a
20+
>.
21+
</p>
22+
<p>
23+
<b>Martin Grandjean</b> teaches Gephi applied to history and the humanities at the University of Lausanne (Switzerland).
24+
On his blog, which features many examples of how Gephi can be used on a variety of datasets, he offers a
25+
<a
26+
href="https://www.google.com/url?q=https://www.martingrandjean.ch/gephi-introduction/&sa=D&source=editors&ust=1756735244744936&usg=AOvVaw32OvUxXJTv0OdKGF6sTCCh"
27+
>Gephi tutorial</a
28+
> that walks users through the main steps of analyzing a dataset, including a geographical component, a transition
29+
from a 2-mode to a 1-mode graph, and a complete video walkthrough. He also posts explanatory videos on his <a
30+
href="https://www.google.com/url?q=https://www.youtube.com/@MartinGrandjean&sa=D&source=editors&ust=1756735244745438&usg=AOvVaw2ds15CHrQ7pQTMYZkUCZNy"
31+
>YouTube channel</a
32+
>.
33+
</p>
34+
<p>
35+
<b>Mathieu Jacomy</b> co-creator of Gephi, teaches Gephi applied to the social sciences at Aalborg University in Copenhagen
36+
(Denmark). On his website, which brings together a host of tutorials and notebooks on Controvery Mapping, he offers
37+
<a
38+
href="https://www.google.com/url?q=https://jacomyma.github.io/mapping-controversies/%23visualizing-networks-gephi&sa=D&source=editors&ust=1756735244746150&usg=AOvVaw1Q8bsfpcw6e3tiubYs86N_"
39+
>several Gephi tutorials</a
40+
>, from introductory level to specific lessons on bipartite networks, weighted networks or the use of Table2Net (a
41+
tool he developed himself) to prepare data. Have also a look at his
1142

12-
<main class="container">TODO</main>
13-
</Layout>
43+
<a
44+
href="https://www.google.com/url?q=https://www.youtube.com/@jacomyma&sa=D&source=editors&ust=1756735244746622&usg=AOvVaw2ibYfXBsApf4b0wtOy-rl5"
45+
>YouTube channel</a
46+
> and his blog - <a
47+
href="https://www.google.com/url?q=https://reticular.hypotheses.org/&sa=D&source=editors&ust=1756735244746766&usg=AOvVaw1emsss82uDsfOg4HGbHldZ"
48+
>Reticular</a
49+
> - where he publishes reflections on the visual analysis of networks.
50+
</p>
51+
<p>
52+
<b>Cl&eacute;ment Levallois</b> Cl&eacute;ment Levallois teaches Gephi applied to economics and design at Gobelins
53+
Paris (France). He has compiled his <a
54+
href="https://www.google.com/url?q=https://seinecle.github.io/gephi-tutorials/&sa=D&source=editors&ust=1756735244747353&usg=AOvVaw1OgTEkI2rHbyYZlklJXs4l"
55+
>Gephi tutorials</a
56+
> on a dedicated website, covering features such as importing, filters, dynamic networks, and the use of various tools
57+
and plugins that he has developed himself to facilitate graph data processing. He also created the
58+
<a
59+
href="https://www.google.com/url?q=https://nocodefunctions.com/&sa=D&source=editors&ust=1756735244747844&usg=AOvVaw2ofXixE87orZ693snBgUlj"
60+
>nocodefunctions</a
61+
> website to bring together the various tools he develops.
62+
</p>
63+
</div>
64+
</UnderConstructionPage>

src/pages/toolkit/index.astro

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
---
2-
import Layout from "../../layouts/Layout.astro";
2+
import UnderConstructionPage from "../../components/UnderConstructionPage.astro";
33
---
44

5-
<Layout>
6-
<header class="container container-medium mt-5 mb-5 text-center">
7-
<section>
8-
<h1>Static page</h1>
9-
</section>
10-
</header>
11-
12-
<main class="container">TODO</main>
13-
</Layout>
5+
<UnderConstructionPage title="Gephi Toolkit">
6+
<p><a href="https://github.com/gephi/gephi-toolkit">Gephi Toolkit</a> will have its own presentation page here.</p>
7+
</UnderConstructionPage>

0 commit comments

Comments
 (0)