Skip to content

deepdrawing/deepdrawing.github.io

Repository files navigation

Deep Drawing Website

This is a Next.js project for the Deep Drawing research lab website.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

How to Update Website Content

1. About Section

The about section content can be updated in two ways:

Text Content

  • File: src/components/aboutSection.tsx
  • What you can update:
    • Paragraph text content (the <p> tags)
    • Section descriptions
  • How to update:
    • Edit the text within the <p> tags directly in the component
    • The content is structured in two main sections with accompanying images

Image Overlay Text

  • Current overlay text: "Our Vision" and "Our Technology"
  • To update:
    • Edit the <h3> tags within the image overlay sections in aboutSection.tsx
    • These appear as centered text over the images

Images

  • Images are located in /public/images/
  • Current images: about-1.png and about-2.png
  • To update: Replace the image files or update the src paths in the component

2. Publications

Publications are managed through a JSON file for easy updates.

File Location

  • File: src/data/publications.json

Structure

{
  "publications": [
    {
      "id": 1,
      "title": "Publication Title",
      "authors": ["Author 1", "Author 2", "Author 3"],
      "conference": "Conference Name",
      "year": 2024,
      "links": {
        "pdf": "https://example.com/paper.pdf",
        "code": "https://github.com/example/repo",
        "demo": "https://example.com/demo"
      }
    }
  ]
}

Required Fields

  • id: Unique identifier (number)
  • title: Publication title (string)
  • authors: Array of author names
  • conference: Conference or venue name (string)
  • year: Publication year (number)
  • links: Object containing optional links

Optional Link Fields

The links object can contain any combination of:

  • pdf: Link to the paper PDF
  • code: Link to code repository
  • demo: Link to live demo
  • Any other custom link types

How to Update

  1. Open src/data/publications.json
  2. Add new publications to the array or modify existing ones
  3. Ensure each publication has a unique id
  4. Include all required fields
  5. Add optional links as needed

3. Lab Members

Lab members are managed through a JSON file with support for different member types.

File Location

  • File: src/data/labMembers.json

Structure

{
  "labMembers": [
    {
      "id": 1,
      "profilePictureIndex": "01",
      "name": "Member Name",
      "position": "Position Title",
      "website": "https://example.com"
    }
  ],
  "metadata": {
    "profilePictureBasePath": "/profile-pictures/",
    "profilePictureExtension": ".jpg"
  }
}

Required Fields

  • id: Unique identifier (number)
  • profilePictureIndex: Two-digit string for image filename (e.g., "01", "02")
  • name: Full name (string)
  • position: Position or title (string)
  • website: Personal website URL (string)

Student Types

For students, include the word "Student" in the position field:

  • "Undergraduate Student"
  • "Master's Student"
  • "PhD Student"

Alumni and Other Members

  • Alumni: Note where they are headed next in the position field, or leave it blank (all individuals who are not students or professors are automatically categorized as alumni)

Profile Pictures

  • Images should be placed in /public/profile-pictures/
  • Naming convention: {profilePictureIndex}.jpg (e.g., 01.jpg, 02.jpg)
  • The system automatically constructs the full path using the metadata

How to Add New Members

  1. Open src/data/labMembers.json
  2. Add a new object to the labMembers array
  3. Assign a unique id (increment from the last one)
  4. Set profilePictureIndex to the next available number (zero-padded)
  5. Fill in name, position, and website
  6. For students, ensure "Student" is included in the position
  7. Add the corresponding profile picture to /public/profile-pictures/

Example: Adding a New Student

{
  "id": 9,
  "profilePictureIndex": "09",
  "name": "Jane Doe",
  "position": "Graduate Student",
  "website": "https://janedoe.com"
}

4. Related Projects

Related projects are managed through a JSON file to showcase relevant work and research.

File Location

  • File: src/data/relatedProjects.json

Structure

{
  "relatedProjects": [
    {
      "id": 1,
      "title": "Project Title",
      "description": "Brief description of the project and its relevance to our research.",
      "url": "https://example.com/project",
      "tags": ["Tag 1", "Tag 2"],
      "relevance": "Explanation of how this project relates to or inspired our work",
      "authors": ["Author 1", "Author 2", "Author 3"]
    }
  ]
}

Required Fields

  • id: Unique identifier (number)
  • title: Project title (string)
  • description: Brief description of the project (string)
  • url: Link to the project (string)
  • tags: Array of relevant tags/categories
  • relevance: Explanation of connection to Deep Drawing research (string)
  • authors: Array of project authors/creators

How to Update

  1. Open src/data/relatedProjects.json
  2. Add new projects to the array or modify existing ones
  3. Ensure each project has a unique id
  4. Include all required fields
  5. Use descriptive tags that help categorize the project
  6. Clearly explain the relevance to Deep Drawing research

Example: Adding a New Related Project

{
  "id": 1,
  "title": "DrawingBot",
  "description": "AI-powered drawing assistant that helps users create digital art through voice commands and gesture recognition.",
  "url": "https://github.com/example/drawingbot",
  "tags": ["Digital Art", "Human-Computer Interaction"],
  "relevance": "Demonstrates innovative approaches to human-drawing interfaces that complement our therapeutic drawing research",
  "authors": ["John Smith", "Sarah Johnson"]
}

5. Join Us Section

Information about joining the Deep Drawing project and UARTS FEAST opportunities.

File Location

  • File: src/components/joinUsSection.tsx

What you can update

  • ArtsEngine Logo: Update the logo file in /public/images/artsengine.webp
  • Project Description: Edit paragraph text within the <p> tags
  • Opportunities: Update the three opportunity cards (Machine Learning, Summer Fellowships, Open to All)
  • Application Link: Update the href in the "Apply to Join Deep Drawing" button

Key Links to Update

  • ArtsEngine website: https://artsengine.engin.umich.edu/
  • Application link: https://artsengine.engin.umich.edu/feast/deep-drawing/

How to Update

  1. Open src/components/joinUsSection.tsx
  2. Edit text content within <p> tags for descriptions
  3. Update opportunity card content in the grid section
  4. Modify links in the <a> tags as needed
  5. Replace ArtsEngine logo if necessary

Development Notes

  • The website uses Next.js with TypeScript
  • Styling is done with Tailwind CSS
  • Images are optimized using Next.js Image component

Deployment

Contact Alex (alexzzy@uw.edu)

About

Work in progress.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published