<|start_filename|>src/app/about/about.component.css<|end_filename|>
.course-image {
  max-width: 350px;
  border-radius: 4px;
}


.about {
  padding: 40px;
}

.upload-btn {
    margin-top: 30px;
}

button {
    margin-bottom: 10px;
    display: block;
}


<|start_filename|>functions/scripts/init-admin.js<|end_filename|>


const admin = require('firebase-admin');


const serviceAccountPath = process.argv[2],
    userUid = process.argv[3];

console.log(`Using service account ${serviceAccountPath}.`);
console.log(`Setting user ${userUid} as admin.`);


admin.initializeApp({
    credential: admin.credential.cert(serviceAccountPath)
});


async function initAdmin(adminUid) {

    await admin.auth().setCustomUserClaims(adminUid, {admin:true});

    console.log("User is now an admin.");

}


initAdmin(userUid)
    .then(() => {
        console.log("Exiting.");
        process.exit();
    });


<|start_filename|>src/app/edit-course-dialog/edit-course-dialog.component.css<|end_filename|>


.mat-form-field {
    display: block;
}

.promo {
  margin-bottom: 20px;
}

textarea {
    height: 100px;
    resize: vertical;
}

mat-dialog-actions {
  display: flex;
  justify-content: flex-end;
}
