Skip to content

Commit 5c4f893

Browse files
committed
[lite] review by Paul
- revert to normal feature style (no feature-flat) to ease reading - add a iframe - link to docs - some minor content edits Todo: change iframe network to miserables.json once ready
1 parent 4bbf391 commit 5c4f893

3 files changed

Lines changed: 35 additions & 10 deletions

File tree

src/pages/lite/index.astro

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2+
import { Icon } from "astro-icon/components";
3+
import { Image } from "astro:assets";
24
import LangSwitcher from "../../components/LangSwitcher.astro";
35
import Layout from "../../layouts/Layout.astro";
4-
import { Image } from "astro:assets";
5-
import { Icon } from "astro-icon/components";
66
---
77

88
<Layout>
@@ -23,7 +23,7 @@ import { Icon } from "astro-icon/components";
2323

2424
<p class="fs-3">
2525
Gephi Lite is an <strong>open-source</strong> web application dedicated to <strong
26-
>visually analyze networks</strong
26+
>visual network analysis</strong
2727
>.
2828
</p>
2929

@@ -53,7 +53,7 @@ import { Icon } from "astro-icon/components";
5353
</section>
5454

5555
<section class="container pb-5">
56-
<section class="feature feature-flat">
56+
<section class="feature">
5757
<div class="feature-background" style="opacity: 0.1; background-image: url(/lite/graph.png);"></div>
5858
<section class="feature-headline">
5959
<div class="feature-text">
@@ -66,10 +66,12 @@ import { Icon } from "astro-icon/components";
6666
your networks, from any modern web browsers. <strong>No installation required</strong>.
6767
</p>
6868
<p>
69-
Also, Gephi Lite has <strong>no server</strong>, your data remains on your computer. But you can log into
70-
a GitHub account, and save and load your graphs as <strong
71-
><a href="https://gist.github.com/" class="text-nowrap">GitHub Gists</a></strong
72-
>!
69+
Gephi Lite has <strong>no server</strong>, your data remains on your computer. But if you prefer you can
70+
log into a
71+
<strong
72+
><a href="https://docs.gephi.org/lite/user-manual/github-auth" class="text-nowrap">GitHub account</a
73+
></strong
74+
>, and save and load your graphs as GitHub Gists!
7375
</p>
7476
</div>
7577
</section>
@@ -98,14 +100,18 @@ import { Icon } from "astro-icon/components";
98100
</section>
99101
</section>
100102

101-
<section class="feature feature-flat">
103+
<section class="feature">
102104
<div class="feature-background" style="opacity: 0.075; background-image: url(/lite/code.png);"></div>
103105
<section class="feature-headline">
104106
<div class="feature-text">
105107
<h2>
106108
<Icon name="ph:plugs" class="text-primary" />
107109
<span>Gephi in your <strong>web application</strong></span>
108110
</h2>
111+
<p>
112+
Embed <a class="fw-bold" href="https://docs.gephi.org/lite/integration/embed">Gephi lite in an iFrame</a> opening
113+
your own graph as a URL.
114+
</p>
109115
<p>
110116
Deploy Gephi Lite next to your web application, and use our <a
111117
class="fw-bold"
@@ -136,7 +142,7 @@ import { Icon } from "astro-icon/components";
136142
</section>
137143
</section>
138144

139-
<section class="feature feature-flat">
145+
<section class="feature">
140146
<div class="feature-background" style="opacity: 0.075; background-image: url(/lite/graph.png);"></div>
141147
<section class="feature-headline">
142148
<div class="feature-text">
@@ -167,6 +173,20 @@ import { Icon } from "astro-icon/components";
167173
</figure>
168174
</section>
169175
</section>
176+
<section class="feature">
177+
<section class="feature-headline">
178+
<div class="feature-text">
179+
<h2>
180+
<Icon name="ph:cursor-click" class="text-primary" />
181+
<span><strong>Try it now!</strong></span>
182+
</h2>
183+
</div>
184+
</section>
185+
<iframe
186+
id="try-gephi-lite"
187+
src="https://gephi.org/gephi-lite?file=https://gist.githubusercontent.com/jacomyal/08b9cdd4c629f64c299eaa8b922bc37b/raw/a85f7bb53a6f6bb17cf3f5c0991142708f120146/arctic-shaded.json"
188+
></iframe>
189+
</section>
170190
</section>
171191

172192
<section class="bg-gephi-lite-bg-dark text-light py-5">

src/styles/_lite.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
iframe#try-gephi-lite {
2+
width: 100%;
3+
height: 65vh;
4+
}

src/styles/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@
3333
@import "./about";
3434
@import "./plugins";
3535
@import "./faq";
36+
@import "./lite";

0 commit comments

Comments
 (0)