Skip to content

Commit a6ea1be

Browse files
authored
Merge branch 'Graph-and-Geometric-Learning:master' into master
2 parents e52f87a + 5e2d10d commit a6ea1be

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+1493
-94
lines changed

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
# Build and Preview
2+
First, make sure you have [Node.js](https://nodejs.org/en/download/package-manager) installed on your computer. Enter the root directory of this repository,
3+
```
4+
npm install
5+
```
6+
to install the dependencies.
7+
```
8+
npm run dev
9+
```
10+
Look at the message in your console, find out the url and open it in your browser (it might be `localhost:3000`).
11+
112
# Update Guide
213

314
Lab members can update their bios, publications, and news on the website. The update is made through a pull request submitted by the member and approved by the website admin. Make sure your updates are accurate and properly formatted.
@@ -35,7 +46,16 @@ To set up a project page, we support [MDX](https://mdxjs.com/), which is a super
3546
**Step**
3647
1. Create a folder of your project under `app/projects`.
3748
2. Create a `page.mdx` file under the created folder. This is the main file that contains your page content. Assets (e.g. images) should be uploaded to your project folder as well.
38-
3. Update the `page`key of your publication in `config/publications.ts` with the name of your folder.
49+
3. Update the `page` key of your publication in `config/publications.ts` with the name of your folder.
3950

4051

41-
Find an example in `app/projects/mage`.
52+
Find an example in `app/projects/hybrid`.
53+
54+
### GGLab-flavored Markdown
55+
We extend the markdown syntax to better styling our website. Here are some special usages,
56+
#### Scaling images
57+
Add the `scale=x` option after your title, separated by `|`.
58+
```
59+
![title|scale=0.5](./path/to/your/image)
60+
```
61+

app/layout.tsx

Lines changed: 18 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,21 @@ export const viewport: Viewport = {
2727
],
2828
};
2929

30+
31+
function Sponsor({ src, title }: { src: string; title: string }) {
32+
return (
33+
<div>
34+
<Image
35+
alt={title}
36+
height={60}
37+
src={src}
38+
width={60}
39+
/>
40+
<span className="block mx-auto">{title}</span>
41+
</div>
42+
)
43+
}
44+
3045
export default function RootLayout({
3146
children,
3247
}: {
@@ -52,33 +67,9 @@ export default function RootLayout({
5267
<p className="text-gray-600">Sponsored by</p>
5368
</div>
5469
<div className="flex items-end gap-6">
55-
<div>
56-
<Image
57-
alt="nsf"
58-
height={60}
59-
src="/sponsors/nsf.png"
60-
width={60}
61-
/>
62-
NSF
63-
</div>
64-
<div>
65-
<Image
66-
alt="snap"
67-
height={60}
68-
src="/sponsors/snap.png"
69-
width={60}
70-
/>
71-
Snap Inc
72-
</div>
73-
<div>
74-
<Image
75-
alt="aws"
76-
height={60}
77-
src="/sponsors/aws.png"
78-
width={60}
79-
/>
80-
AWS
81-
</div>
70+
<Sponsor src="/sponsors/nsf.png" title="NSF" />
71+
<Sponsor src="/sponsors/snap.png" title="Snap Inc" />
72+
<Sponsor src="/sponsors/aws.png" title="AWS" />
8273
</div>
8374
</footer>
8475
</div>

app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export default function Home() {
126126
<div className="grid grid-cols-4 gap-4 p-8">
127127
<ResearchDirection
128128
image="/graph_learning.webp"
129-
title="Graph Representation Learning"
129+
title="Geometric and Graph Learning"
130130
/>
131131
<ResearchDirection
132132
image="/multimodal.webp"
259 KB
Loading

app/projects/dtgb/assets/edge.png

252 KB
Loading
139 KB
Loading

app/projects/dtgb/assets/link.png

216 KB
Loading
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
254 KB
Loading

app/projects/dtgb/assets/tasks.png

261 KB
Loading

0 commit comments

Comments
 (0)