Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021 PET-Informática
Copyright (c) 2024 PET-Informática

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
312 changes: 174 additions & 138 deletions assets/content-model/data.ts

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion components/sections/SectionActivities.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-12 pt-8"
>
<div
v-for="activity in activities"
v-for="activity in sortedActivities"
:key="activity.title"
class="bg-branco overflow-hidden shadow-md rounded-lg w-full h-full flex flex-col flex-1 m-auto"
>
Expand Down Expand Up @@ -59,5 +59,10 @@ export default Vue.extend({
required: true,
},
},
computed: {
sortedActivities(): PetWebsiteActivity[] {
return this.activities.slice().sort((a, b) => a.title.localeCompare(b.title));
},
},
})
</script>
2 changes: 1 addition & 1 deletion components/sections/SectionContact.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<p
class="text-perola-negra text-sm sm:text-md sm:text-center sm:text-linho px-8 pt-4 pb-12 sm:py-8"
>
2021. Feito com ❤ pelo PET-Informática.
2024. Feito com ❤ pelo PET-Informática.
</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/sections/SectionFaq.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="max-w-7xl mx-auto">
<div class="p-8">
<ElementSectionTitle>
<span class="text-laranja-internacional">Perguntas</span> frequentes
Perguntas <span class="text-laranja-internacional">frequentes</span>
</ElementSectionTitle>

<ul class="grid grid-cols sm:grid-cols-2 pt-8 gap-12">
Expand Down
101 changes: 89 additions & 12 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@diracleo/vue-enlargeable-image": "0.0.7",
"@nuxt/content": "^1.11.1",
"@nuxt/typescript-runtime": "^2.0.1",
"axios": "^1.7.2",
"core-js": "^3.9.0",
"nuxt": "^2.15.0"
},
Expand Down