This repository has been archived by the owner on Feb 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename meta search page and all code (#1868)
* Rename meta search components * String and component renames * simplify external sources page copy * Delete unused screenshots * Update src/locales/en.json * Update src/locales/en.json * Add snapshots * Update About page snapshots * Update src/locales/en.json Co-authored-by: Dhruv Bhanushali <dhruv_b@live.com> * Remove unused strings; quote feature name * Add snapshots Co-authored-by: Olga Bulat <obulat@gmail.com> Co-authored-by: Dhruv Bhanushali <dhruv_b@live.com>
- Loading branch information
1 parent
04989ae
commit 7997e31
Showing
54 changed files
with
158 additions
and
241 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<template> | ||
<VContentPage> | ||
<h1> | ||
{{ $t('external-sources-page.title') }} | ||
</h1> | ||
|
||
<i18n path="external-sources-page.intro" tag="p"> | ||
<template #openverse>Openverse</template> | ||
<template #link> | ||
<VLink href="/sources">{{ $t('external-sources-page.link') }}</VLink> | ||
</template> | ||
</i18n> | ||
<p>{{ $t('external-sources-page.license', { openverse: 'Openverse' }) }}</p> | ||
<p> | ||
{{ $t('external-sources-page.explanation', { openverse: 'Openverse' }) }} | ||
</p> | ||
<p> | ||
{{ | ||
$t('external-sources-page.relationships', { openverse: 'Openverse' }) | ||
}} | ||
</p> | ||
<h2> | ||
{{ $t('external-sources-page.new.title') }} | ||
</h2> | ||
<i18n path="external-sources-page.new.content" tag="p"> | ||
<template #issue> | ||
<VLink | ||
aria-label="issue" | ||
href="https://github.com/WordPress/openverse-catalog/issues/new?assignees=&labels=%F0%9F%9A%A6+status%3A+awaiting+triage%2C%F0%9F%A7%B9+status%3A+ticket+work+required%2C%E2%98%81%EF%B8%8F+provider%3A+any&template=new_source_suggestion.yml&title=%3CSource+name+here%3E" | ||
>{{ $t('external-sources-page.new.issue') }}</VLink | ||
> | ||
</template> | ||
<template #email> | ||
<VLink aria-label="email" href="mailto:openverse@wordpress.org">{{ | ||
$t('external-sources-page.new.email') | ||
}}</VLink> | ||
</template> | ||
</i18n> | ||
<h2> | ||
{{ $t('external-sources-page.why.title') }} | ||
</h2> | ||
<i18n path="external-sources-page.why.content" tag="p"> | ||
<template #old> | ||
<VLink | ||
aria-label="email" | ||
href="https://oldsearch.creativecommons.org" | ||
>{{ $t('external-sources-page.why.old') }}</VLink | ||
> | ||
</template> | ||
</i18n> | ||
|
||
<p> | ||
{{ $t('external-sources-page.why.new', { openverse: 'Openverse' }) }} | ||
</p> | ||
<i18n path="external-sources-page.why.feedback-suggestions" tag="p"> | ||
<template #feedback> | ||
<VLink | ||
:aria-label="$t('external-sources-page.why.aria-label')" | ||
href="/feedback" | ||
>{{ $t('external-sources-page.why.feedback-link') }}</VLink | ||
> | ||
</template> | ||
</i18n> | ||
</VContentPage> | ||
</template> | ||
|
||
<script> | ||
import { defineComponent } from '@nuxtjs/composition-api' | ||
import VContentPage from '~/components/VContentPage.vue' | ||
import VLink from '~/components/VLink.vue' | ||
export default defineComponent({ | ||
name: 'ExternalSourcesPage', | ||
components: { VContentPage, VLink }, | ||
head() { | ||
return { | ||
title: `${this.$t('external-sources-page.title')} | Openverse`, | ||
} | ||
}, | ||
}) | ||
</script> | ||
|
||
<!-- Add "scoped" attribute to limit CSS to this component only --> | ||
<style scoped> | ||
figure { | ||
@apply mx-auto max-w-full border border-black md:w-[800px]; | ||
} | ||
</style> |
Oops, something went wrong.