Skip to content

Commit

Permalink
CTA buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
laistdomiciano committed Jul 9, 2024
1 parent 88cd4ed commit 90d5276
Show file tree
Hide file tree
Showing 11 changed files with 78 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/profiles_settings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/portfolio.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified assets/CV.pdf
Binary file not shown.
Binary file added assets/profile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 3 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h2 class="section-title">About Me</h2>
<div class="about-wrapper__image">
<img
class="img-fluid"
src="./assets/profile.jpeg"
src="./assets/profile.png"
alt="Profile Image"
width="450"
height="350"
Expand All @@ -141,10 +141,8 @@ <h2 class="section-title">About Me</h2>
I am eager to apply my skills to innovative software solutions.
</p>
<span class="about-wrapper__cta">
<a href="https://github.com/laistdomiciano" class="cta-btn cta-btn--resume">View My GitHub</a>
</span>
<span class="about-wrapper__cta">
<a href="assets/CV" class="cta-btn cta-btn--resume">Download My CV</a>
<a href="https://github.com/laistdomiciano" class="cta-btn cta-btn--resume">View My GitHub</a>
<a href="/assets/CV.pdf" class="cta-btn cta-btn--resume" download>Download My CV</a>
</span>
</div>
</div>
Expand Down
25 changes: 25 additions & 0 deletions style/sections/_about.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,31 @@
grid-template-columns: 1fr;
}

.about-wrapper__cta a {
display: inline-block;
width: 200px; /* Set a fixed width for the buttons */
text-align: center; /* Center the text inside the buttons */
padding: 10px; /* Adjust padding as needed */
margin-right: 10px; /* Adjust spacing between buttons */
border: 2px solid white; /* Ensure borders are consistent */
}

.about-wrapper__cta a:last-child {
margin-right: 0;
}

.cta-btn--resume {
background-color: #fff; /* Set the background color */
color: #000; /* Set the text color */
border-radius: 5px; /* Add border radius for rounded corners */
text-decoration: none; /* Remove underline from links */
}

.cta-btn--resume:hover {
background-color: #000; /* Set hover background color */
color: #fff; /* Set hover text color */
}

&__image {
display: flex;
height: 100%;
Expand Down

0 comments on commit 90d5276

Please sign in to comment.