Skip to content

Commit

Permalink
Add 'willing to contribute?' in footer of /alternatives page
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitrrine committed Aug 2, 2024
1 parent 3f74aeb commit d813dd8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"files.autoSave": "afterDelay",
"files.autoSave": "off",
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
1 change: 1 addition & 0 deletions i18n/lang/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"alternatives": {
"hero": "ALTERNATIVES",
"reason": "Essential has many issues. This page provides alternatives.",
"nudge_for_contributing": "Willing to contribute? Click here for contributing guidelines.",
"texts": {
"modpacks": {
"section_name": "Modpacks",
Expand Down
8 changes: 8 additions & 0 deletions pages/alternatives.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
:data="section"
:title="title"
/>

<!-- Div is here so NuxtLink will act as inline element -->

<div>
<NuxtLink to="/contributing" class="text-lg brightness-75 hover:underline">
{{ $t("alternatives.nudge_for_contributing") }}
</NuxtLink>
</div>
</template>

<script setup lang="ts">
Expand Down

4 comments on commit d813dd8

@KTrain5169
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Nitrrine autosave is turned off now

@Nitrrine
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i see, i accidentally turned it off, i thought my vs code preferences have gone crazy. maybe better leave it like that, so when we're changing code it wont return errors for unfinished code?

@KTrain5169
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eh, I'd personally rather leave it on bc the errors will be more annoying and therefore more impactful so we remember :)

@Nitrrine
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fine, reverted in 8f5bfc7

Please sign in to comment.