Skip to content

Commit 6611f11

Browse files
committed
Add custom styles for project page buttons and update button classes in portfolio
1 parent cfa1c36 commit 6611f11

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

src/.DS_Store

0 Bytes
Binary file not shown.

src/assets/css/styles.min.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,16 @@ button:hover,
152152
box-shadow: 0 10px 25px rgba(95, 106, 242, 0.25);
153153
}
154154

155+
.project-page-button {
156+
background: linear-gradient(135deg, var(--accent), #ff9c66);
157+
color: #fff;
158+
box-shadow: 0 12px 28px rgba(255, 122, 69, 0.28);
159+
}
160+
161+
.project-page-button:hover {
162+
box-shadow: 0 16px 34px rgba(255, 122, 69, 0.36);
163+
}
164+
155165
.ghost-button {
156166
padding: 12px 18px;
157167
border-radius: 12px;

src/portfolio.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ title: Portfolio
5252
{% if project.links %}
5353
<div class="cta-row currently-building-links">
5454
{% if project.projectPage and project.projectPage.enabled %}
55-
<a href="/projects/{{ project.slug }}/"><button class="link-button">Project Page</button></a>
55+
<a href="/projects/{{ project.slug }}/"><button class="link-button project-page-button">Project Page</button></a>
5656
{% endif %}
5757
{% for l in project.links %}
5858
<a href="{{ l.url }}" {% if l.newTab %}target="_blank" rel="noreferrer"{% endif %}>
@@ -99,7 +99,7 @@ title: Portfolio
9999

100100
<div class="cta-row">
101101
{% if project.projectPage and project.projectPage.enabled %}
102-
<a href="/projects/{{ project.slug }}/"><button class="link-button">Project Page</button></a>
102+
<a href="/projects/{{ project.slug }}/"><button class="link-button project-page-button">Project Page</button></a>
103103
{% endif %}
104104
{% if project.links %}
105105
{% for l in project.links %}

0 commit comments

Comments
 (0)