Skip to content

This website is one of the primary public faces of Computing For All's Pre-Apprenticeship Program. It is focused on our students, conveying their stories and successes to partners and future students.

Notifications You must be signed in to change notification settings

Computing-For-All/DSFA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSFA

This website is the primary public face of Computing For All's Pre-Apprenticeship Program, conveying the stories and successes of our past students to partners and future students.

Deployment

This GitHub repo is deployed via GitHub Pages and served from dsfastudents.org. Refer to this doc for details on the DNS configuration and more.

The deployment branch is the deployed site and will take a few minutes to update once pushed to Github. If images appear to work in development code, but not online, then you may want to check case sensitivity, preferred formatting is .jpg not .JPG.

If you wish to pre-check changes, make a personal fork of this repo, and deploy from there.

Trello board

This website has a Trello board with supplementary documentation. If you are working on this site, you know who to ask for access.

Adding a student profile

  1. Copy and fill out a template profile page, found at profiles/__template_with_todos.html
  2. Place it in the profiles folder.
  3. Name the copy in the format of firstnamelastname.html.
  4. Add the following files
    • A headshot/primary profile picture
      • profile/images/pic-firstnamelastname.jpg
    • A background/secondary profile picture
      • profile/images/pic-firstnamelastname-bg.jpg
  5. The profile page's projects section will have blank projects. Follow the steps in the Adding a student project instructions to complete these.
  6. Add the student's profile data to js/profile-data.js:
/* profileData Schema
{
    'currentYear': [ 
        {
            name: "",
            introduction: "",
            url: "", // This must match the student's profile html file name
        },
    ],
}
*/

// Sample: 
let profileData = {
    '2098': [
       // Existing data from a past year 
    ],
    '2099': [
        {
            // Existing data from a past student
        },
        {
            name: "Testy McTesterson",
            introduction: "I am a new test student",
            url:"testymctesterson",
        },
    ]
}

Adding a student project

  1. Add a thumbnail image for the project to projects/thumbnails/.
  2. Fill in the project info into the appropriate section of the student's profile page profiles/firstnamelastname.html. Using the thumbnail image name where needed.
  3. Add project info to project-data.js, as demonstrated in the code block below.
/* Project Data Schema:
[
  {
    title: "",
    description: "",
    language: "",

    // The following names must match the names of the students' profile HTML files 

    names: [],

    // The following URL should lead to the project hosted on the course's game development platform (ex: Scratch, Tynker, etc) or it's web host platform (ex: GitHub Pages)
    // Some older student projects are hosted on this website and found in the projects folder, but new projects should be hosted on the aformentioned platforms. 

    url: "", 

    // The following name needs to match an image file in the /projects/thumbnails folder.

    imageName: "", 

    // The following designates which type of project it is, so it can be filtered using buttons on projects/index.html

    filter: "",
  },
]

Sample data: */
let gameData = [
  {
    // Existing data from past student projects
  },
  {
    title: "Test Project title",
    description: "Test project description",
    language: "HTML, CSS",
    names: ["testymctesterson"],
    url: "www.google.com",
    imageName: "testproject",
    filter: "web",
  },
]

About

This website is one of the primary public faces of Computing For All's Pre-Apprenticeship Program. It is focused on our students, conveying their stories and successes to partners and future students.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published