-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add portfolio template for init command
- Loading branch information
1 parent
2a71e52
commit 147899a
Showing
156 changed files
with
1,986 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
23 changes: 23 additions & 0 deletions
23
packages/cli/test/functional/test_site_templates/test_portfolio/expected/.gitignore
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
_markbind/logs/ | ||
|
||
# Dependency directories | ||
node_modules/ | ||
|
||
# Production | ||
_site/ | ||
|
||
# Env | ||
.env | ||
.env.local | ||
|
||
# IDE configs | ||
.vscode/ | ||
.idea/* | ||
*.iml |
7 changes: 7 additions & 0 deletions
7
packages/cli/test/functional/test_site_templates/test_portfolio/expected/404.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<frontmatter> | ||
title: Page not found | ||
layout: 404.md | ||
</frontmatter> | ||
|
||
-><p style="font-size: 10rem">404</p><- | ||
-><p style="font-size: 1.5rem">File not found<br>Click <a href="/">here</a> to go back to the home page.</p><- |
1 change: 1 addition & 0 deletions
1
...functional/test_site_templates/test_portfolio/expected/_markbind/layouts/404.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div>{{ content }}</div> |
35 changes: 35 additions & 0 deletions
35
...tional/test_site_templates/test_portfolio/expected/_markbind/layouts/default.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<head-bottom> | ||
<link rel="stylesheet" href="{{baseUrl}}/stylesheets/main.css"> | ||
</head-bottom> | ||
|
||
<header sticky> | ||
<navbar type="dark"> | ||
<a slot="brand" href="{{baseUrl}}/index.html" title="Home" class="navbar-brand">Your Name</a> | ||
<li><a href="{{baseUrl}}/index.html#skills" class="nav-link">Skills</a></li> | ||
<li><a href="{{baseUrl}}/index.html#experience" class="nav-link">Experience</a></li> | ||
<dropdown header="Projects" class="nav-link"> | ||
<li><a href="{{baseUrl}}/index.html#project-1" class="dropdown-item">Project 1</a></li> | ||
<li><a href="{{baseUrl}}/index.html#project-2" class="dropdown-item">Project 2</a></li> | ||
<li><a href="{{baseUrl}}/index.html#other-projects" class="dropdown-item">Other projects</a></li> | ||
</dropdown> | ||
<li slot="right"> | ||
<form class="navbar-form"> | ||
<searchbar :data="searchData" placeholder="Search" :on-hit="searchCallback" menu-align-right></searchbar> | ||
</form> | ||
</li> | ||
</navbar> | ||
</header> | ||
|
||
<div id="flex-body"> | ||
<div id="content-wrapper"> | ||
{{ content }} | ||
</div> | ||
<scroll-top-button></scroll-top-button> | ||
</div> | ||
|
||
<footer> | ||
<!-- Support MarkBind by including a link to us on your landing page! --> | ||
<div class="text-center"> | ||
<small>[Generated by {{MarkBind}}]</small> | ||
</div> | ||
</footer> |
5 changes: 5 additions & 0 deletions
5
...t/functional/test_site_templates/test_portfolio/expected/_markbind/variables.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<variable name="name">[NAME]</variable> | ||
<variable name="javascript"><thumbnail src='../contents/assets/JavaScript.svg' size="50"/></variable> | ||
<variable name="typescript"><thumbnail src='../contents/assets/Typescript.svg' size="50"/></variable> | ||
<variable name="vue"><thumbnail src='../contents/assets/Vue.svg' size="50"/></variable> | ||
<variable name="java"><thumbnail src="../contents/assets/java-icon.svg" size="50"/></variable> |
4 changes: 4 additions & 0 deletions
4
...onal/test_site_templates/test_portfolio/expected/contents/assets/JavaScript.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
...e_templates/test_portfolio/expected/contents/assets/Placeholder_view_vector.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
...onal/test_site_templates/test_portfolio/expected/contents/assets/Typescript.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+79.6 KB
...tional/test_site_templates/test_portfolio/expected/contents/assets/UG-template-resume.pdf
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
.../functional/test_site_templates/test_portfolio/expected/contents/assets/Vue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.67 KB
..._site_templates/test_portfolio/expected/contents/assets/default_profile_pic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
...ional/test_site_templates/test_portfolio/expected/contents/assets/java-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+26.7 KB
...t/functional/test_site_templates/test_portfolio/expected/contents/assets/ug_template.docx
Binary file not shown.
24 changes: 24 additions & 0 deletions
24
...t/functional/test_site_templates/test_portfolio/expected/contents/experience.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Experience | ||
|
||
<ul class="nav nav-tabs" role="tablist"> | ||
<li class="nav-item" role="presentation"> | ||
<a class="nav-link active" data-bs-toggle="tab" href="#NUS" aria-selected="false" role="tab" tabindex="-1">NUS</a> | ||
</li> | ||
<li class="nav-item" role="presentation"> | ||
<a class="nav-link" data-bs-toggle="tab" href="#another-company" aria-selected="true" role="tab">Another Company</a> | ||
</li> | ||
</ul> | ||
<div id="myTabContent" class="tab-content" style="margin-top:15px;"> | ||
<div class="tab-pane fade active show" id="NUS" role="tabpanel"> | ||
<h4>Software Engineering Intern @ <md>[NUS](https://nus.edu.sg/)</md></h4> | ||
<h6>May 2024 - Aug 2024</h6> | ||
<p>Some description of your role in the company and the technologies you've used.</p> | ||
{{ vue }} | ||
</div> | ||
<div class="tab-pane fade" id="another-company" role="tabpanel"> | ||
<h4>Another role @ <md>[Another company](https://markbind.org/)</md></h4> | ||
<h6>May 2022 - Aug 2022</h6> | ||
<p>Some description of your role in the company and the technologies you've used.</p> | ||
{{ javascript }} | ||
</div> | ||
</div> |
17 changes: 17 additions & 0 deletions
17
...est/functional/test_site_templates/test_portfolio/expected/contents/project1.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<div class="card mb-3"> | ||
<h3 class="card-header" id="project-1">Example project: iP for CS2103</h3> | ||
<div class="card-body"> | ||
<md>This would be a good place to add images and embeds showcasing your contributions to a project. In this case, an `<iframe>` containing the [RepoSense](https://reposense.org/index.html) report of a student's contributions to their iP is embedded. For more information on embeds, refer to our user guide [here.](https://markbind.org/userGuide/formattingContents.html#embeds)</md> | ||
</div> | ||
<div> | ||
<iframe src="https://nus-cs3281.github.io/2024-dashboard/#/widget/?search=Reposense&sort=groupTitle&sortWithin=title&timeframe=commit&mergegroup=&groupSelect=groupByAuthors&breakdown=false&since=2023-12-01&tabOpen=true&tabType=authorship&tabAuthor=asdfghjkxd&tabRepo=reposense%2Freposense%5Bmaster%5D&authorshipIsMergeGroup=false&authorshipFileTypes=java~md&authorshipIsBinaryFileTypeChecked=false&authorshipIsIgnoredFilesChecked=false&chartGroupIndex=5&chartIndex=0" width="100%"></iframe> | ||
</div> | ||
<div class="card-body"> | ||
<p class="card-text">Some further elaboration of the project can be added here</p> | ||
{{ java }} | ||
</div> | ||
<div class="card-body"> | ||
<a href="https://github.com/MarkBind/markbind" class="btn btn-primary">View on Github</a> | ||
<a href="https://markbind.org/" class="btn btn-primary">View Devpost</a> | ||
</div> | ||
</div> |
16 changes: 16 additions & 0 deletions
16
...est/functional/test_site_templates/test_portfolio/expected/contents/project2.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<div class="card mb-3"> | ||
<h3 class="card-header" id="project-2">Project 2</h3> | ||
<div class="card-body"> | ||
This is another project. | ||
</div> | ||
<pic src="https://markbind.org/images/logo-lightbackground.png" alt="markbind-logo" width="90%" height="200"></pic> | ||
<div class="card-body"> | ||
<p class="card-text">Some further elaboration on the project.</p> | ||
{{javascript}} | ||
{{ vue }} | ||
</div> | ||
<div class="card-body"> | ||
<a href="https://github.com/MarkBind/markbind" class="btn btn-primary">View on Github</a> | ||
<a href="https://markbind.org/" class="btn btn-primary">View Devpost</a> | ||
</div> | ||
</div> |
61 changes: 61 additions & 0 deletions
61
...est/functional/test_site_templates/test_portfolio/expected/contents/projects.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# Projects | ||
|
||
<include src="project1.md"/> | ||
<include src="project2.md"/> | ||
|
||
### Other projects | ||
|
||
<div class="row row-cols-1 row-cols-md-3 g-3"> | ||
<div class="col"> | ||
<div class="card"> | ||
<h4 class="card-header">Project title</h4> | ||
<div class="card-body"> | ||
This is another project. | ||
</div> | ||
<pic src="https://markbind.org/images/logo-lightbackground.png" alt="markbind-logo" width="90%" height="200"></pic> | ||
<div class="card-body"> | ||
<p class="card-text">Some further elaboration on the project.</p> | ||
{{javascript}} | ||
{{ vue }} | ||
</div> | ||
<div class="card-body"> | ||
<a href="https://github.com/MarkBind/markbind" class="btn btn-primary">View on Github</a> | ||
<a href="https://markbind.org/" class="btn btn-primary">View Devpost</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col"> | ||
<div class="card"> | ||
<h4 class="card-header">Project title</h4> | ||
<div class="card-body"> | ||
This is another project. | ||
</div> | ||
<pic src="https://markbind.org/images/logo-lightbackground.png" alt="markbind-logo" width="90%" height="200"></pic> | ||
<div class="card-body"> | ||
<p class="card-text">Some further elaboration on the project.</p> | ||
{{ java }} | ||
</div> | ||
<div class="card-body"> | ||
<a href="https://github.com/MarkBind/markbind" class="btn btn-primary">View on Github</a> | ||
<a href="https://markbind.org/" class="btn btn-primary">View Devpost</a> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col"> | ||
<div class="card"> | ||
<h4 class="card-header">Project title</h4> | ||
<div class="card-body"> | ||
This is another project. | ||
</div> | ||
<pic src="https://markbind.org/images/logo-lightbackground.png" alt="markbind-logo" width="90%" height="200"></pic> | ||
<div class="card-body"> | ||
<p class="card-text">Some further elaboration on the project.</p> | ||
{{ vue }} | ||
</div> | ||
<div class="card-body"> | ||
<a href="https://github.com/MarkBind/markbind" class="btn btn-primary">View on Github</a> | ||
<a href="https://markbind.org/" class="btn btn-primary">View Devpost</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
22 changes: 22 additions & 0 deletions
22
.../test/functional/test_site_templates/test_portfolio/expected/contents/skills.md
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Skills | ||
|
||
<p>This is where you can give a quick overview of the technologies and frameworks you know using our <a href="https://markbind.org/userGuide/components/imagesAndDiagrams.html#thumbnails" target="_blank">thumbnail feature</a> or our <a href="https://markbind.org/userGuide/formattingContents.html#icons" target="_blank">icons</a>.</p> | ||
|
||
<panel header="Example using thumbnails" expanded> | ||
<box type="info">These thumbnails are available as variables to use anywhere in this page!</box> | ||
{{ javascript }} | ||
{{ typescript }} | ||
{{ vue }} | ||
{{ java }} | ||
</panel> | ||
<br/> | ||
<panel header="Example using icons" expanded> | ||
<box type="warning"> | ||
Some icons are not available in the libraries that MarkBind supports! Please ensure that | ||
the desired icons are available before choosing this option. For more information regarding | ||
icons, please refer to <a href="https://markbind.org/userGuide/formattingContents.html#icons" target="_blank">this section of our User Guide.</a> | ||
</box> | ||
<i class="fa-brands fa-square-js fa-2xl"></i> | ||
<i class="fa-brands fa-vuejs fa-2xl"></i> | ||
<i class="fa-brands fa-java fa-2xl"></i> | ||
</panel> |
Oops, something went wrong.