Skip to content

Commit b70f6f3

Browse files
authored
Merge pull request #8 from MedVIC-Lab/testing
Tushar additions + basic publication sorting
2 parents 2785930 + 9ef1f2e commit b70f6f3

Some content is hidden

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

62 files changed

+178
-366
lines changed

.gitignore

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ typings/
5959
.env
6060
.env.test
6161

62-
# Nuxt build directory
63-
.nuxt
64-
6562
# Nuxt generate directory
6663
dist
6764

@@ -78,4 +75,12 @@ static
7875
*.ntvs*
7976
*.njsproj
8077
*.sln
81-
*.sw?
78+
*.sw?
79+
80+
# publication, projects, and members JSON
81+
/public/assets/publications.json
82+
/public/assets/projects.json
83+
/public/assets/members.json
84+
85+
# OS generated files
86+
.DS_Store

.vitepress/config.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ export default defineConfig({
1313
{ text: 'Home', link: '/' },
1414
{ text: 'About', link: '/pages/about' },
1515
{ text: 'People', link: '/pages/people' },
16-
{ text: 'Projects', link: '/pages/projects' },
16+
// Uncommnet when projects are added
17+
// { text: 'Projects', link: '/pages/projects' },
1718
{ text: 'Publications', link: '/pages/publications' },
1819
],
1920
},

.vitepress/theme/custom.css

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +0,0 @@
1-
a {
2-
color: #007bff!important;
3-
}
4-
5-
a:hover {
6-
text-decoration: underline!important;
7-
}
8-
9-
a:visited {
10-
color: #18508c!important;
11-
}
12-
13-
h1 {
14-
font-size: 2.5em;
15-
margin-bottom: 20px;
16-
color: #333;
17-
}
18-
19-
h2 {
20-
font-size: 1.5em;
21-
margin-bottom: 10px;
22-
color: #333;
23-
}
24-
25-
h3 {
26-
font-size: 1.25em;
27-
margin-bottom: 10px;
28-
color: #333;
29-
}
30-
31-
h4 {
32-
font-size: 1em;
33-
margin-bottom: 10px;
34-
color: #333;
35-
}
36-
37-
h5 {
38-
font-size: 0.875em;
39-
margin-bottom: 10px;
40-
color: #333;
41-
}
42-
43-
h6 {
44-
font-size: 0.75em;
45-
margin-bottom: 10px;
46-
color: #333;
47-
}
48-
49-
p {
50-
margin-bottom: 20px;
51-
color: #555;
52-
}
53-
54-
code {
55-
background-color: #f5f5f5; /* Light gray background */
56-
padding: 2px 4px; /* Padding around the code */
57-
border-radius: 4px; /* Rounded corners */
58-
font-family: 'Courier New', Courier, monospace; /* Monospace font */
59-
color: #333; /* Text color */
60-
}

.vitepress/theme/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import './custom.css'
55
const layouts = import.meta.glob('../../layouts/*.vue')
66

77
export default {
8+
Layout: DefaultTheme.Layout,
89
extends: DefaultTheme,
910
enhanceApp({ app }) {
1011
// Register each layout component

index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
# https://vitepress.dev/reference/default-theme-home-page
32
layout: home
43

54
hero:

layouts/project.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div class="project-layout">
2+
<div class="project-layout vp-doc">
33
<div class="project-content">
44
<h1>{{ frontmatter.name }}</h1>
55
<Content />
@@ -28,8 +28,9 @@
2828
</template>
2929

3030
<script setup>
31-
import { Content, useData } from 'vitepress'
32-
const { frontmatter } = useData()
31+
import { Content, useData } from 'vitepress';
32+
33+
const { frontmatter } = useData();
3334
</script>
3435

3536
<style>

pages/people/katariaTushar.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
layout: person
3+
name: "Tushar Kataria"
4+
role: "PhD Student"
5+
title: "PhD Candidate" # e.g., "PhD Student", "MS Student", "Staff", "Researcher", "Alumni"
6+
org: "University of Utah, SCI Institute"
7+
avatar: "katariaTushar.png" # Replace with the URL to your avatar image
8+
links:
9+
- icon: "github"
10+
link: "https://github.com/tushaarkataria" # Replace with your GitHub profile link
11+
- icon: "linkedin"
12+
link: "https://www.linkedin.com/in/tushar-kataria-05a69456/"
13+
- icon: "website"
14+
link: "https://tushaarkataria.github.io" # Replace with your personal website link
15+
---
16+
17+
# About Krithika Iyer
18+
19+
I am Tushar Kataria, a PhD candidate at University of Utah, Utah in School of Computing. I am in Scientific Computing and Imaging Institute advised by Prof. Shireen Elhabian.
20+
21+
Broader research interests are image processing, medical image processing, deep learning and computer vision. Specifically, I am interested in Semantic Segmentation, Instance Segmentation and Domain Adaptation problems for medical imaging datasets. I am also interested in Statistical Shape Modelling and MultiModal machine learning. Current work involves conditional generation model with application in virtual staining and 3D volume Registration
22+

pages/projects/example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Testing in an h6
4343

4444
## Testing a code block
4545

46-
```
46+
```js
4747
const jake = "is cool";
4848
console.log(jake.replace("cool", "uncool"));
4949
```

pages/publications.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,22 @@ const publications = ref([])
99

1010
onMounted(async () => {
1111
const response = await fetch('/assets/publications.json')
12-
publications.value = await response.json()
12+
const pubs = await response.json()
13+
14+
// TODO: update with better sorting when functionality added to UI
15+
// sort by year, then by first author (alphabetical)
16+
publications.value = pubs.sort((a, b) => {
17+
if (a.year !== b.year) {
18+
return b.year - a.year; // Sort by year in descending order
19+
}
20+
// Sort by first author alphabetically (last name)
21+
const aFirstAuthor = a.authors.split(',')[0]
22+
const bFirstAuthor = b.authors.split(',')[0]
23+
const aLastName = aFirstAuthor.split(' ').pop()
24+
const bLastName = bFirstAuthor.split(' ').pop()
25+
26+
return aLastName.localeCompare(bLastName);
27+
})
1328
})
1429
</script>
1530

pages/publications/uncertain_deepssm.md renamed to pages/publications/2020_uncertain_deepssm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ conference: "Shape in Medical Imaging (ShapeMI) at MICCAI"
55
year: "2020"
66
link: "https://arxiv.org/abs/2007.06516"
77
image:
8-
src: "uncertain_deepssm.png"
8+
src: "2020_uncertain_deepssm.png"
99
alt: Results Highlight
1010
---
1111

0 commit comments

Comments
 (0)