Skip to content

Commit

Permalink
Merge branch 'all-about-aiss' of github.com:ctc-uci/ctc-bootcamp-3-fr…
Browse files Browse the repository at this point in the history
…ontend into all-about-aiss
  • Loading branch information
h0ethan04 committed Nov 19, 2023
2 parents 1e6ad22 + 646cd6f commit d6d96b4
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/views/SingleMemberInfo/SingleMember.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* Container styles */
div {
max-width: 600px;
margin: 0 auto;
padding: 20px;
border: 1px solid #ddd; /* Add border to the container */
border-radius: 8px; /* Optional: Add border-radius for rounded corners */
}

/* Heading styles */
h1 {
color: #333;
}

/* Member information styles */
p {
margin: 10px 0;
color: #555;
border-bottom: 1px solid #ddd; /* Add a bottom border to separate member information */
}

/* Loading message styles */
p.loading {
color: #888;
font-style: italic;
}

2 changes: 2 additions & 0 deletions src/views/SingleMemberInfo/SingleMember.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { useState, useEffect } from 'react';
import axios from 'axios';
import { useParams } from 'react-router-dom'; // Import useParams
import './SingleMember.css';


function SingleMember() {
// Use useParams to get the memberId from the route parameters
Expand Down

0 comments on commit d6d96b4

Please sign in to comment.