This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const fetch = async () => { | |
| const result = ''; | |
| return result; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import axios from "axios"; | |
| export const fetch = async () => | |
| await axios.get("https://api.spacexdata.com/v4/launches/latest"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const mockedResponse: AxiosResponse = { | |
| data: { | |
| name: "Henry", | |
| }, | |
| status: 200, | |
| statusText: "OK", | |
| headers: {}, | |
| config: {}, | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .grid-container { | |
| display: grid; | |
| padding: 0 0; | |
| } | |
| .container-column-2 { | |
| grid-template-columns: 50% 50%; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .cv-name { | |
| color: #40739e; | |
| font-family: "Tinos", serif; | |
| font-size: 35px; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link rel="stylesheet" type="text/css" href="css/grid.css" /> | |
| <link rel="stylesheet" type="text/css" href="css/header.css" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <link href="https://fonts.googleapis.com/css2?family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="grid-container container-column-2"> | |
| <div> | |
| <div class="cv-name">John Doe</div> | |
| </div> | |
| <div> | |
| <ul> | |
| <li>john.doe@gmail.com</li> | |
| <li>linkedlin url</li> | |
| <li>+44 7890 123456</li> | |
| </ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .contacts { | |
| list-style: none; | |
| float: right; | |
| margin: 0 0; | |
| font-size: 10px; | |
| } | |
| .contact-item { | |
| font-size: 8px; | |
| font-family: "Saira Extra Condensed", sans-serif; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <ul class="contacts"> | |
| <li><span class="contact-item">john.doe@gmail.com</span></li> | |
| <li><span class="contact-item">linkedlin url</span></li> | |
| <li><span class="contact-item">+44 7890 123456</span></li> | |
| </ul> |