Skip to content

Commit

Permalink
[Minor] fix footer (#4802)
Browse files Browse the repository at this point in the history
### What changes were proposed in this pull request?

Fix copyright and footer name.

### Why are the changes needed?

As the ASF is the collective copyright owner.

Fix: # N/A

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Compiled locally.
  • Loading branch information
justinmclean authored Aug 30, 2024
1 parent c01edab commit 9bcfc9e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class MetalakePageTest extends AbstractWebIT {
private static final String WEB_TITLE = "Gravitino";
private static final String METALAKE_NAME = "metalake_name";
private static final String EDITED_METALAKE_NAME = METALAKE_NAME + "_edited";
private static final String FOOTER_LINK_DATASTRATO = "https://gravitino.apache.org/";
private static final String FOOTER_LINK_GRAVITINO = "https://gravitino.apache.org/";
private static final String FOOTER_LINK_DOCS = "https://gravitino.apache.org/docs/latest/";
private static final String FOOTER_LINK_LICENSE =
"https://github.com/apache/gravitino/blob/main/LICENSE";
Expand Down Expand Up @@ -146,11 +146,11 @@ public void testRefreshPage() {

@Test
@Order(10)
public void testCheckLinkDatastrato() {
public void testCheckLinkGravitino() {
String originalWindowHandle = driver.getWindowHandle();
metalakePage.footerLinkDatastrato.click();
metalakePage.footerLinkGravitino.click();
Assertions.assertTrue(
metalakePage.verifyLinkInNewWindow(originalWindowHandle, FOOTER_LINK_DATASTRATO, false));
metalakePage.verifyLinkInNewWindow(originalWindowHandle, FOOTER_LINK_GRAVITINO, false));
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public class MetalakePage extends AbstractWebIT {
public WebElement metalakePageTitle;

@FindBy(xpath = "//a[@data-refer='footer-link-gravitino']")
public WebElement footerLinkDatastrato;
public WebElement footerLinkGravitino;

@FindBy(xpath = "//a[@data-refer='footer-link-license']")
public WebElement footerLinkLicense;
Expand Down
4 changes: 2 additions & 2 deletions web/src/app/rootLayout/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ const Footer = props => {
<Box className='footer-content-wrapper twc-px-6 twc-w-full twc-py-[0.75rem] [@media(min-width:1440px)]:twc-max-w-[1440px]'>
<Box className={'twc-flex twc-flex-wrap twc-items-center twc-justify-between'}>
<Typography className='twc-mr-2'>
{2023 `}
{2024 `}
<Link
className={'twc-no-underline twc-text-primary-main'}
target='_blank'
href='https://gravitino.apache.org/'
data-refer='footer-link-gravitino'
>
Gravitino
ASF
</Link>
</Typography>
<Box className={'twc-flex twc-flex-wrap twc-items-center [&>:not(:last-child)]:twc-mr-4'}>
Expand Down

0 comments on commit 9bcfc9e

Please sign in to comment.