Provided code for students to paste in directly

This commit is contained in:
Julia 2022-09-26 20:49:33 +03:00
Родитель ac8caa7014
Коммит 24688324fd
1 изменённых файлов: 170 добавлений и 12 удалений

Просмотреть файл

@ -9,18 +9,176 @@ _"There is nothing that speaks more dev than having a recruiter ask for your res
## Pre-requisites
1. A GitHub Account
1. An Azure Subscription. 🔊Students, you can sign up for the [free Azure for Students benefit here](https://azure.microsoft.com/en-us/free/students/?WT.mc_id=academic-0000-juliamuiruri)
1. Attended Yuval's session to help you create a respoitory for this project
## Steps
1. Click the green `Use Template Button` at the top of this repository.
That will create this repository in your GitHub Account with the same structure and files.
![Use Template Screenshot](./img/use-this-template.png)
2. With your respository open, click the . button on your keyboard.
This will open github.dev to allow you to edit the code on your browser.
1. With your respository open, click the . button on your keyboard.
This will open github.dev to allow you to edit the project on your browser.
3. Open the index.html file and fill in the required details for you resume.
Add your details then close and go back to the repository on GitHub.com
![Fill resume details](./img/edit-resume-template.png)
4. Log in to [Azure Portal](portal.azure.com) and create a Static Web App
1. Open the `index.html` file in your repository, and paste in the code below. This is the html code responsible for the content on your resume website.
```
<html>
<head>
<link href="style.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<title>Your Name Goes Here!</title>
</head>
<body>
<header id="header">
<!-- resume header with your name and title -->
<h1>Your Name Goes Here!</h1>
<hr>
Your Role!
<hr>
</header>
<main>
<article id="mainLeft">
<section>
<h2>CONTACT</h2>
<!-- contact info including social media -->
<p>
<i class="fa fa-envelope" aria-hidden="true"></i>
<a href="mailto:username@domain.top-level domain">Write your email here</a>
</p>
<p>
<i class="fab fa-github" aria-hidden="true"></i>
<a href="github.com/yourGitHubUsername">Write your username here!</a>
</p>
<p>
<i class="fab fa-linkedin" aria-hidden="true"></i>
<a href="linkedin.com/yourLinkedInUsername">Write your username here!</a>
</p>
</section>
<section>
<h2>SKILLS</h2>
<!-- your skills -->
<ul>
<li>Skill 1!</li>
<li>Skill 2!</li>
<li>Skill 3!</li>
<li>Skill 4!</li>
</ul>
</section>
<section>
<h2>EDUCATION</h2>
<!-- your education -->
<h3>Write your course here!</h3>
<p>
Write your institution here!
</p>
<p>
Start - End Date
</p>
</section>
</article>
<article id="mainRight">
<section>
<h2>ABOUT</h2>
<!-- about you -->
<p>Write a blurb about yourself!</p>
</section>
<section>
<h2>WORK EXPERIENCE</h2>
<!-- your work experience -->
<h3>Job Title</h3>
<p>
Organization Name Goes Here | Start Month – End Month
</p>
<ul>
<li>Task 1 - Write what you did!</li>
<li>Task 2 - Write what you did!</li>
<li>Write the outcomes/impact of your contribution</li>
</ul>
<h3>Job Title 2</h3>
<p>
Organization Name Goes Here | Start Month – End Month
</p>
<ul>
<li>Task 1 - Write what you did!</li>
<li>Task 2 - Write what you did!</li>
<li>Write the outcomes/impact of your contribution</li>
</ul>
</section>
</article>
</main>
</body>
</html>
```
3. Open the style.css file and copy in the code below.
```
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 16px;
max-width: 960px;
margin: auto;
}
h1 {
font-size: 3em;
letter-spacing: .6em;
padding-top: 1em;
padding-bottom: 1em;
}
h2 {
font-size: 1.5em;
padding-bottom: 1em;
}
h3 {
font-size: 1em;
padding-bottom: 1em;
}
main {
display: grid;
grid-template-columns: 40% 60%;
margin-top: 3em;
}
header {
text-align: center;
margin: auto 2em;
}
section {
margin: auto 1em 4em 2em;
}
i {
margin-right: .5em;
}
p {
margin: .2em auto
}
hr {
border: none;
background-color: lightgray;
height: 1px;
}
h1, h2, h3 {
font-weight: 100;
margin-bottom: 0;
}
#mainLeft {
border-right: 1px solid lightgray;
}
```
4. **[Optional]** Add a `codeswing.json` file and paste in the code below. Then install the Codeswing extension on vscode.dev
```
{
"scripts": [],
"styles": []
}
```
5. Log in to [Azure Portal](portal.azure.com) and create a Static Web App
a) _Provide static web app details_
@ -29,9 +187,9 @@ _"There is nothing that speaks more dev than having a recruiter ask for your res
c) _Provide deployment details to configure your Continous Deployment (CD) GitHub Action workflow file_ and **Create**
![create a static web app demo](./img/create-static-web-app-full.gif)
5. Once your static web app is created successfully, Click 'Go to Resource' and then browse
6. Head back to your project on github and observe under the 'GitHub Actions' tab. After the action runs succesfully and you get a green check mark, navigate back to the site and refresh
7. Congratulations!! You have created your resume website and deployed it to Microsoft Azure
6. Once your static web app is created successfully, Click 'Go to Resource' and then browse
7. Head back to your project on github and observe under the 'GitHub Actions' tab. After the action runs succesfully and you get a green check mark, navigate back to the site and refresh
8. Congratulations!! You have created your resume website and deployed it to a Static Web App
See [full workshop](https://github.com/microsoft/workshop-library/blob/main/full/build-resume-website/README.md/?WT.mc_id=academic-70942-juliamuiruri) to learn more