Skip to content

Commit

Permalink
Merge pull request #161 from WithCandour/dev/3.0
Browse files Browse the repository at this point in the history
3.0.0 - Statamic V4 support
  • Loading branch information
joshuanoyes authored Jun 1, 2023
2 parents 634f48b + b8018e8 commit fcf59fb
Show file tree
Hide file tree
Showing 13 changed files with 124 additions and 94 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.17.0
v18.16.0
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
# Aardvark SEO

![Statamic 3.0+](https://img.shields.io/badge/Statamic-3.0+-FF269E?style=for-the-badge&link=https://statamic.com)
![Releases](https://img.shields.io/github/release/WithCandour/statamic-aardvark-seo?style=for-the-badge&link=https://github.com/WithCandour/statamic-aardvark-seo/releases)

Designed and built from the ground up by a dedicated SEO agency, the Aardvark SEO addon gives you full control that no other SEO plugin does, from managing directs to generating schema.

## Documentation
View the full documentation on the [Statamic Marketplace](https://statamic.com/addons/candour/aardvark-seo/docs).

## Statamic support

| Statamic | Status |
| ----------- | ---------------------- |
| v4 | Active development |
| v3 | Bug and security fixes |

## Contributing

Contributions are welcome! Please create a GitHub issue before submitting a pull request.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "withcandour/aardvark-seo",
"description": "Save time and get your Statamic site to rank better - Candour's SEO addon for Statamic CMS",
"version": "2.0.30",
"version": "3.0.0",
"type": "statamic-addon",
"keywords": [
"Statamic",
Expand Down Expand Up @@ -41,6 +41,7 @@
},
"require": {
"spatie/schema-org": "^3.2",
"statamic/cms": "^4.0",
"whitecube/lingua": "^1.0"
}
}
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"author": "Candour",
"dependencies": {
"cross-env": "^7.0.3",
"laravel-mix": "^6.0.43",
"postcss": "^8.2.4",
"vue": "^2.6.12",
"vue-loader": "^15.9.8",
"vue-template-compiler": "^2.6.12"
"laravel-mix": "^6.0.49",
"postcss": "^8.4.23",
"vue": "^2.7.14",
"vue-loader": "^15.10.1",
"vue-template-compiler": "^2.7.14"
}
}
2 changes: 1 addition & 1 deletion public/js/aardvark-seo.js

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

6 changes: 3 additions & 3 deletions resources/js/components/cp/redirects/manual/Listing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@
</data-list-table>
</div>
</data-list>
<div v-else class="md:pt-8 max-w-2xl mx-auto">
<div v-else class="md:pt-16 max-w-2xl mx-auto">
<div class="w-full md:w-1/2">
<h1 class="mb-4">Redirects</h1>
<p class="text-grey-70 leading-normal mb-4 text-lg antialiased">
<h1 class="mb-8">Redirects</h1>
<p class="text-gray-700 leading-normal mb-8 text-lg antialiased">
Redirects are used to direct users to content which may have been removed or deleted.
</p>
<a :href="this.createUrl" class="btn-primary btn-lg">Create a redirect</a>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/cp/redirects/manual/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@section('content')
<breadcrumbs :crumbs='@json($crumbs)'></breadcrumbs>

<div class="flex items-center mb-3">
<div class="flex items-center mb-6">
<h1 class="flex-1">{{ $title }}</h1>
<div>
<a href="{{ cp_route('aardvark-seo.redirects.manual-redirects.create') }}" class="btn-primary">{{ __('aardvark-seo::redirects.actions.create') }}</a>
Expand Down
12 changes: 6 additions & 6 deletions resources/views/cp/settings/defaults/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
<breadcrumbs :crumbs='@json($crumbs)'></breadcrumbs>
<h1>Content Defaults</h1>

<div class="mt-2">
<div class="mt-4">
@foreach($content_types as $content_type => $content)
<div class="mb-1">
<div class="mb-2">
<h2>{{ $content_type }}</h2>
</div>

<ul class="card p-0 mb-2">
<ul class="card p-0 mb-4">
@foreach($content as $repository)
<li class="flex items-center justify-between py-1 px-2 border-b group">
<a href="{{ cp_route('aardvark-seo.defaults.edit', ['default' => strtolower($content_type) . '_' . $repository['handle']]) }}" class="flex items-baseline">
<li class="flex items-center justify-between py-2 px-4 border-b group">
<a href="{{ cp_route('aardvark-seo.defaults.edit', ['default' => strtolower($content_type) . '_' . $repository['handle']]) }}" class="flex items-end">
<span>{{ $repository['title'] }}</span>
<span class="text-xs ml-1">{{ $repository['handle'] }}</span>
<span class="text-xs ml-2">{{ $repository['handle'] }}</span>
</a>
<strong>{{ $repository['count'] }}</strong>
</li>
Expand Down
Loading

0 comments on commit fcf59fb

Please sign in to comment.