Skip to content

Commit

Permalink
[OPG] Emphasize / Style Detail Link
Browse files Browse the repository at this point in the history
  • Loading branch information
amenk committed Jul 22, 2024
1 parent 0c45318 commit f6c9ae0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/components/FeaturePanel/FeatureOpenPlaceGuideLink.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React, { useEffect, useState } from 'react';
import styled from 'styled-components';
import { Button } from '@mui/material';
import { t } from '../../services/intl';
import { fetchJson } from '../../services/fetch';
import { useFeatureContext } from '../utils/FeatureContext';
Expand Down Expand Up @@ -43,11 +44,11 @@ export const FeatureOpenPlaceGuideLink = () => {
<>
{instances.map((instance) => (
<>
<a href={instance.url}>
<Button variant="contained" href={instance.url}>
{t('featurepanel.more_in_openplaceguide', {
instanceName: instance.name,
})}
</a>
</Button>
<Spacer />
</>
))}
Expand Down
4 changes: 2 additions & 2 deletions src/components/FeaturePanel/FeaturePanelInner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,15 @@ export const FeaturePanelInner = () => {
<ImageSlider />

<PanelSidePadding>
<FeatureOpenPlaceGuideLink />

<Properties showTags={showTagsTable} key={getKey(feature)} />

<MemberFeatures />
{advanced && <Members />}

<PublicTransport tags={tags} />

<FeatureOpenPlaceGuideLink />

{editEnabled && <EditButton />}
<EditDialog />
</PanelSidePadding>
Expand Down

0 comments on commit f6c9ae0

Please sign in to comment.