Skip to content

Commit

Permalink
Ran prettier, fixed some unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahjibben committed Oct 21, 2024
1 parent a5cf8df commit 9f0b1de
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 21 deletions.
3 changes: 1 addition & 2 deletions app/components/Carousels/CardsCarousel.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Carousel } from '@mantine/carousel';
import { Button, Paper, rem, Text, Title, useMantineTheme } from '@mantine/core';
import { useMediaQuery } from '@mantine/hooks';
import { Button, Paper, rem, Text, Title } from '@mantine/core';
import classes from './CardsCarousel.module.css';

interface CardProps {
Expand Down
7 changes: 1 addition & 6 deletions app/components/Header/Logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ const Logo: React.FC = () => {
variant="transparent"
size="xl"
>
<Image
src="/turtle_icon_transparent.png"
alt="Logo"
width={40}
height={40}
/>
<Image src="/turtle_icon_transparent.png" alt="Logo" width={40} height={40} />
</ActionIcon>
);
};
Expand Down
1 change: 1 addition & 0 deletions app/components/Pages/ThirdPage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// app/components/Pages/ThirdPage

'use client';

import React, { useEffect, useState } from 'react';
Expand Down
5 changes: 1 addition & 4 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ export default function RootLayout({ children }: { children: any }) {
<html lang="en">
<head>
<ColorSchemeScript />
<link
rel="shortcut icon"
href="/turtle_icon_transparent.png"
/>
<link rel="shortcut icon" href="/turtle_icon_transparent.png" />
<meta
name="viewport"
content="minimum-scale=1, initial-scale=1, width=device-width, user-scalable=no"
Expand Down
17 changes: 8 additions & 9 deletions app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,16 @@ export default function HomePage() {

{/* Attach targetRef to the SecondPage container */}
<div ref={targetRef} style={{ padding: '50px 0' }}>
<SecondPage />
</div>

<div style={{ padding: '50px 0' }}>
<ThirdPage />
</div>
<SecondPage />
</div>

<div style={{ padding: '50px 0' }}>
<FourthPage />
</div>
<div style={{ padding: '50px 0' }}>
<ThirdPage />
</div>

<div style={{ padding: '50px 0' }}>
<FourthPage />
</div>

<div>
<FooterComponent />
Expand Down

0 comments on commit 9f0b1de

Please sign in to comment.