Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Merge pull request #23 from hurtigruten/fixes
Browse files Browse the repository at this point in the history
Fixes
  • Loading branch information
zaklaberg authored Sep 23, 2022
2 parents 27c3ca8 + 3a6dff1 commit cab89c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/deeplink/CabinOptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const CabinSelector = ({
useState<Contentful.Ship.TCabinCategory | null>(null);

return (
<div>
<div className="w-full">
{cabinsByShip.map((ship) => (
<Accordion
key={ship.name}
Expand All @@ -42,7 +42,7 @@ const CabinSelector = ({
</div>
}
>
<div className="flex w-full my-4 ml-16 gap-x-4">
<div className="flex w-full my-4 gap-x-4">
{ship.cabinCategories.map((cc) => (
<CabinCategoryButton
isSelected={
Expand Down
3 changes: 1 addition & 2 deletions components/deeplink/DeepLinkViewer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useEffect, useState } from "react";
import { Deeplink } from "../../util/deeplink";
import Icon from "../Icon";
import IconButton from "../IconButton";
import { ClipboardLine } from "../icons/Document";
import { ButtonModes } from "../inputs/Button";
Expand All @@ -26,7 +25,7 @@ const DeepLinkViewer = ({ deeplink }: { deeplink: Deeplink | null }) => {
return <h2>No deeplink supplied.</h2>;
}

const baseUrl = `http://localhost:3000/${deeplink.locale}/expeditions/dl/`;
const baseUrl = `http://www.hurtigruten.com/${deeplink.locale}/expeditions/dl/`;

return (
<div className="w-[400px] flex gap-2 items-center">
Expand Down

0 comments on commit cab89c1

Please sign in to comment.