Skip to content

Commit

Permalink
Sass, removed local files
Browse files Browse the repository at this point in the history
  • Loading branch information
blacksmithop committed Apr 19, 2022
1 parent b1e1705 commit 198589b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 13 deletions.
26 changes: 14 additions & 12 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -121,31 +121,33 @@
</style>

<!--Load from disk-->
<link rel="stylesheet" href="./css/bootstrap/bootstrap.min.css" />
<!--Fontawesome-->
<link href="./css/fontawesome/all.css" rel="stylesheet">
<link rel="stylesheet" href="./css/compiled/bootstrap.css" />
<link rel="stylesheet" href="./css/compiled/font-awesome.css" />

</head>

<body class="light">
<!--navbar-->
<nav class="navbar position-relative navbar-expand-md navbar-dark bg-dark text-light">
<div class="container-fluid">
<a class="navbar-brand" href="./">Portfolio</a>
<a class="navbar-brand" href="javascript:;" target="_parent">Portfolio</a>
<div class="navbar-toggler collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</div>
<div class="navbar-collapse collapse" id="navbarCollapse">
<ul class="navbar-nav me-auto mb-2 mb-md-0" style="cursor: pointer;">
<li class="nav-item" data-bs-toggle="collapse" data-bs-target="#flush-collapseAbout" aria-expanded="true" aria-controls="flush-collapseAbout">
<a class="nav-link icon home text-light" title="A little about me" data-bs-toggle="tooltip" data-trigger="hover" data-bs-placement="bottom" data-bs-custom-class="fs-6"> About
<a class="nav-link text-light" title="A little about me" data-bs-toggle="tooltip" data-trigger="hover" data-bs-placement="bottom" data-bs-custom-class="fs-6">
<i class="fa-solid fa-address-card"></i> About
</a>
</li>
<li class="nav-item" data-bs-toggle="collapse" data-bs-target="#flush-collapseProjects" aria-expanded="true" aria-controls="flush-collapseProjects">
<a class="nav-link icon keyboard text-light" title="Projects I have done" data-bs-toggle="tooltip" data-trigger="hover" data-bs-placement="bottom" data-bs-custom-class="fs-6"> Projects
<a class="nav-link text-light" title="Projects I have done" data-bs-toggle="tooltip" data-trigger="hover" data-bs-placement="bottom" data-bs-custom-class="fs-6">
<i class="fa-solid fa-diagram-project"></i> Projects
</a>
</li>
<li class="nav-item" data-bs-toggle="collapse" data-bs-target="#flush-collapseStack" aria-expanded="true" aria-controls="flush-collapseStack">
<a class="nav-link icon stack text-light" title="Techonologies I have used" data-bs-toggle="tooltip" data-trigger="hover" data-bs-placement="bottom" data-bs-custom-class="fs-6"> Stack</a>
<a class="nav-link text-light" title="Techonologies I have used" data-bs-toggle="tooltip" data-trigger="hover" data-bs-placement="bottom" data-bs-custom-class="fs-6">
<i class="fa-solid fa-laptop-code"></i> Stack</a>
</li>
<li class="nav-item">
<div class="darkmode" title="Toggle dark / light mode" data-bs-toggle="tooltip" data-trigger="hover" data-bs-placement="bottom">
Expand Down Expand Up @@ -299,8 +301,8 @@ <h5 class="card-title"></h5>
<div id="resumeToast" class="toast bg-black text-white w-100 h-25" role="alert" aria-live="assertive" aria-atomic="true" style="border-style: solid;border-radius: 25px;">
<div class="toast-body fs-6">
<div class="btn-group">
<a href="./assets/pdf/Resume_AbhinavKM.pdf" rel="external" target="_blank" type="button" class="btn text-white icon see"> View</a>
<a href="./assets/pdf/Resume_AbhinavKM.pdf" download="Resume_AbhinavKM.pdf" type="button" target="_blank" type="button" class="btn text-white icon resume"> Download</a>
<a href="./assets/pdf/Resume_AbhinavKM.pdf" rel="external" target="_blank" type="button" class="btn text-white"><i class="fa-solid fa-eye"></i> View</a>
<a href="./assets/pdf/Resume_AbhinavKM.pdf" download="Resume_AbhinavKM.pdf" type="button" target="_blank" type="button" class="btn text-white"><i class="fa-solid fa-cloud-arrow-down"></i> Download</a>
<div type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></div>
</div>
</div>
Expand All @@ -309,10 +311,10 @@ <h5 class="card-title"></h5>
<ul class="nav justify-content-center border-bottom">
<li class="nav-item"><a href="https://github.com/blacksmithop/Portfolio" rel="author" target="_blank" class="nav-link link-light fs-6">Source</a></li>
<li class="nav-item"><a class="nav-link link-light fs-6">Contact</a></li>
<li class="nav-item"><a class="nav-link link-light fs-6" href="#" title="Click to see" id="resumeToastBtn">Resume</a>
<li class="nav-item"><a class="nav-link link-light fs-6" href="javascript:;" target="_parent" id="resumeToastBtn">Resume</a>
</li>
</ul>
<p class="icon copyright text-center nav-link link-light fs-5"> Abhinav</p>
<p class="text-center nav-link link-light fs-5"><i class="fa-solid fa-copyright"></i> Abhinav</p>
</footer>
<script src="./js/bootstrap/bootstrap.bundle.min.js"></script>
<script src="./js/custom/index.js" crossorigin="anonymous"></script>
Expand Down
8 changes: 7 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
#### CI/CD
- [x] Built from `main` (./public) to `gh-pages` by [action](https://github.com/blacksmithop/Portfolio/actions/workflows/publish-from-public.yml)

#### SaSS
- [x] No more bulky css files! Compile only what you use.
- [ ] Purge unused classes
> Source files are not included, get them from [Fontawesomse](https://fontawesome.com/download) and [Bootstrap](https://getbootstrap.com/docs/4.0/getting-started/download/)
#### Website:
##### :tophat: `<head>` ```Libraries, meta, ogp & custom css/js```
- [x] Favicon, meta description, crawlers etc.
Expand Down Expand Up @@ -83,7 +88,8 @@
* Dynamically added cards
* Moved render blocking tags to the bottom
* Dynamic modal creation (wip)

* Pug and Sass (WIP)

---
## Pointers
1) Keep it simple, keep it fast.
Expand Down

0 comments on commit 198589b

Please sign in to comment.