Skip to content

Commit

Permalink
Merge pull request #269 from CivicDataLab/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
PixeledCode authored Dec 1, 2023
2 parents 7cb41bf + 825e015 commit 35a86f5
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion apps/www/app/[locale]/(user)/components/Content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function Content() {

return (
<>
<IconBrandTabler size="80" color="var(--icon)" />
<IconBrandTabler size={320} color="var(--icon)" />
<Text variant="heading4xl" as="h1" alignment="center">
{t('title')}
</Text>
Expand Down
2 changes: 1 addition & 1 deletion apps/www/app/[locale]/dashboard/components/in-progress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Icons } from '@/components/icons';
export function InProgress() {
return (
<div className="flex flex-col h-full items-center justify-center gap-4">
<Icon source={Icons.construction} size="20" />
<Icon source={Icons.construction} size={80} />
<Text variant="headingSm" color="subdued">
This page is currently under construction.
</Text>
Expand Down
2 changes: 1 addition & 1 deletion apps/www/app/[locale]/dashboard/components/main-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function MainNav() {
<Box flex justifyContent="space-between" gap="4" alignItems="center">
<Link href="/">
<Box flex alignItems="center" gap="2">
<Icon source={Icons.logo} size="6" />
<Icon source={Icons.logo} size={24} />
<Text variant="headingLg" as="h1">
OPub
</Text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const NoList = ({
<div className="flex flex-col items-center justify-center p-6">
<Icon
source={Icons.distribution}
size="16"
size={64}
stroke={1}
color="interactive"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ const FileUpload = ({
const uploadedFile = file && (
<div className="flex items-center justify-center h-full py-16">
<div className="flex gap-3 items-center py-2 px-3 rounded-05 border-borderSubdued border-1 border-solid bg-surface">
<Icon source={Icons.check} size="6" color="success" />
<Icon source={Icons.check} size={24} color="success" />

<div className="flex flex-col">
<div className="max-w-[180px]">
Expand All @@ -240,7 +240,7 @@ const FileUpload = ({
</div>
<Button
size="slim"
icon={<Icon source={Icons.delete} size="6" />}
icon={<Icon source={Icons.delete} size={24} />}
plain
accessibilityLabel="delete resource"
onClick={handleFileDelete}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const Header = ({ id, title }: { id: string; title?: string }) => {
<div className="flex gap-4 flex-wrap items-center justify-between">
<div className="flex flex-wrap gap-4 items-center">
<Link href="/dashboard/dataset">
<Icon source={Icons.back} size="8" />
<Icon source={Icons.back} size={32} />
<Text visuallyHidden>Go to dataset listing page</Text>
</Link>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function ActionBar(props: Props) {
const isNavigating = useIsNavigating().isNavigating;

const { width }: Size = useWindowSize();
const iconSize = width && width < 480 ? '5' : '8';
const iconSize = width && width < 480 ? 20 : 32;

const backButton = props.previousPage && props.previousPage?.link && (
<Link href={props.previousPage?.link} className={styles.BackButton}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function Content({ data }: { data?: any }) {
source={Icons.addDataset}
color="interactive"
stroke={1}
size="20"
size={80}
/>
<Text variant="headingSm" color="subdued">
You have not added any datasets yet.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const RadioItem = ({
return (
<RadioCard {...props}>
<div className={styles.RadioItem}>
<Icon source={icon} size="8" />
<Icon source={icon} size={32} />
<div className={styles.RadioContent}>
<Text
variant="headingSm"
Expand Down

1 comment on commit 35a86f5

@vercel
Copy link

@vercel vercel bot commented on 35a86f5 Dec 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

opub-www – ./apps/www

opub-www-civicdatalab.vercel.app
opub-www-git-main-civicdatalab.vercel.app
opub-www.vercel.app

Please sign in to comment.