Skip to content

Commit

Permalink
Add "Reset your google Workspace authentication"
Browse files Browse the repository at this point in the history
  • Loading branch information
bafi committed Aug 5, 2024
1 parent 9e2dec9 commit a3761ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions admin/templates/partials/create-collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@
<a class="primary-button" id="pcc-create-site" href="#">
<?php esc_html_e('Create collection', PCC_HANDLE) ?>
</a>
<div class="mb-10">
<a class="secondary-button self-start justify-self-end" id="pcc-disconnect" href="#">
<?php esc_html_e('Reset your Google Workspace authentication', PCC_HANDLE) ?>
</a>
</div>
</div>
<div class="col-span-5 justify-self-end">
<img src="<?php echo esc_url(PCC_PLUGIN_DIR_URL . 'assets/images/collection-image.png') ?>"
Expand Down
5 changes: 4 additions & 1 deletion assets/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
.secondary-button{
@apply h-[2.25rem] flex items-center inline-block text-primary font-semibold border border-solid border-primary text-base rounded-[0.1875rem] py-[0.625rem] px-[0.8125rem] transition-all /*done*/
}
.create-collection-page .secondary-button{
@apply inline
}

.secondary-button:hover,.secondary-button:active,.secondary-button:focus{
@apply duration-500 text-secondary bg-secondary border-secondary outline-0 bg-opacity-10; /*done*/
Expand Down Expand Up @@ -270,4 +273,4 @@
.pcc-post-title-container{

@apply ms-[1rem];
}
}

0 comments on commit a3761ee

Please sign in to comment.