Pushkin
  • Welcome!
  • Getting Started
    • Installing Pushkin and dependencies
      • macOS
      • Windows 10
        • Windows Subsystem for Linux
        • AWS EC2 Instance
      • Ubuntu Linux
    • Quickstart
      • Quickstart: Example Outputs
    • Deploying to AWS
      • Install required software.
      • Configure the AWS and ECS CLIs.
      • Register a domain.
      • Set up DockerHub.
      • Initialize AWS Deploy.
    • Tutorial: Simple Experiment
  • FAQ
    • FAQ
  • Advanced
    • Pushkin CLI
    • Using Experiment Templates
      • Lexical decision template
      • Grammaticality judgment template
      • Self-paced reading template
    • Experiment Component Structure
      • Experiment Config.yaml Files
      • Experiment Web Page Component
      • Worker Component, Migration, and Seed
    • Modifying Site Template
      • React Bootstrap
      • Header and Footer
      • Home Page
      • Findings Page
      • About Page
      • Feedback Page
    • Troubleshooting Pushkin
    • Pushkin Client
    • pushkin-api
      • API Controller Builder
      • Core API
    • Users & Authentication
    • Deployment
      • Deleting AWS
  • Developers
    • Developing with Pushkin
    • Getting Started on Development
    • Overview of Technologies
    • Testing Pushkin with Jest
    • Working with Templates
Powered by GitBook
On this page
  • Card Image Overlays
  • Add a Team Member In About Page

Was this helpful?

  1. Advanced
  2. Modifying Site Template

About Page

The About page is wrapped in a fluid Container component, which is a full-width container, spanning the entire width of the viewport.

Card Image Overlays

The <Card.ImgOverlay> component turns an image into a card background and overlays your card’s text:

<Card className="bg-dark text-white">
  <Card.Img src={require("../assets/images/aboutPage/AboutUs.jpeg")} />
  <Card.ImgOverlay>
    <Card.Title as="h1" style={{marginTop:'12rem'}}>
      Who We Are
    </Card.Title>
    <Card.Text as="h4" className="m-5">
      We do citizen science to learn how the the mind works.
    </Card.Text>
    <Card.Text as="h4">
      We are awesome scientists!
    </Card.Text>
  </Card.ImgOverlay>
</Card>

Add a Team Member In About Page

To add a team member to the About page, open People.js located in components/TeamMember, it should be an array of objects that look like this:

const people = [
  {
    name: 'Team Member Name',
    image: 'Template.png',
    description: 'Enter team member description here.'
  },
  {
    name: 'Team Member Name',
    image: 'Template.png',
    description: 'Enter team member description here.'
  },
  {
    name: 'Team Member Name',
    image: 'Template.png',
    description: 'Enter team member description here.'
  },
]

Each object contains three properties: name, image, and description. Edit the name and description properties in People.js.

To add a profile picture of the team member. Copy the image file into the assets/images/teamMember folder.

Then edit the image property in People.js, making sure the name of the image file and the image property here match, including the extension name, like: bob.jpg.

PreviousFindings PageNextFeedback Page

Last updated 1 year ago

Was this helpful?