Skip to content

Commit

Permalink
Change back link text
Browse files Browse the repository at this point in the history
  • Loading branch information
inaki committed Mar 8, 2024
1 parent 67fd163 commit fc10870
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/client/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default {
</script>

<style lang="scss">
@import '../scss/custom.scss';
@import '@/scss/custom.scss';
#app {
-webkit-font-smoothing: antialiased;
Expand Down
2 changes: 1 addition & 1 deletion packages/client/src/components/SearchFilter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default {
</script>
<style lang="scss">
@import '../../scss/colors-semantic-tokens.scss';
@import '@/scss/colors-semantic-tokens.scss';
.inactiveLink {
pointer-events: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,7 @@ $interactive-active: $raw-blue-50;
// TEXT
$text-primary: $raw-gray-700;
$text-secondary: $raw-gray-600;
$text-placeholder: $raw-gray-500;
$text-placeholder: $raw-gray-500;

// LINKS
$link-back: $raw-gray-500;
File renamed without changes.
File renamed without changes.
9 changes: 5 additions & 4 deletions packages/client/src/views/GrantDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="grant-details-container">
<div class="grant-details-back-link">
<router-link v-if="isFirstPageLoad" :to="{ name: 'grants' }">Browse Grants</router-link>
<a href="#" @click="$router.back()" v-else>Back to Results</a>
<a href="#" @click="$router.back()" v-else>Back</a>
</div>
<!-- Left page column: headline -->
<h2 class="grant-details-headline m-0">{{ selectedGrant.title }}</h2>
Expand Down Expand Up @@ -444,7 +444,8 @@ export default {
};
</script>
<style lang="css">
<style lang="scss">
@import '@/scss/colors-semantic-tokens.scss';
.grant-details-container {
padding-right: 80px;
Expand All @@ -463,9 +464,9 @@ export default {
margin-top: 24px;
font-size: 14px;
font-weight: 700;
color: #6D7278;
color: $link-back;
a {
color: #6D7278;
color: $link-back;
cursor: pointer;
&::hover {
text-decoration: underline;
Expand Down

0 comments on commit fc10870

Please sign in to comment.