Skip to content

Commit

Permalink
Fixin scss
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagovallory committed Dec 19, 2023
1 parent bdf3fd4 commit bc6f174
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 16 deletions.
Binary file added public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 0 additions & 9 deletions public/favicon.svg

This file was deleted.

2 changes: 0 additions & 2 deletions src/app/components/header/header.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import jQuery from 'jquery';

import './header.scss';

type InitFunction = () => void;

const headerModule = ((): { init: InitFunction } => {
Expand Down
2 changes: 0 additions & 2 deletions src/app/components/slider/slider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import jQuery from 'jquery';

import 'slick-carousel';

import './slider.scss';

type SliderOptions = {
dots: boolean;
arrows: boolean;
Expand Down
5 changes: 3 additions & 2 deletions src/components/Head.astro
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
import '../styles/app/main.scss';
interface Props {
title: string;
description?: string;
Expand All @@ -12,7 +13,7 @@ const { title, description } = Astro.props;
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="format-detection" content="telephone=no" />
<link href="/favicon.png" type="image/x-icon" rel="icon" />
<link href="favicon.png" type="image/x-icon" rel="icon" />

<title>{title ? `${title} - Calligo` : 'Calligo'}</title>
<meta name="description" content={description} />
Expand Down Expand Up @@ -40,7 +41,7 @@ const { title, description } = Astro.props;
TODO: Check what other favicon formats and tags are needed
-->
<link rel="apple-touch-icon" href="favicon.svg" />
<link rel="apple-touch-icon" href="favicon.png" />

<!--
CHECK IF THIS ARE STILL NEEDED:
Expand Down
2 changes: 1 addition & 1 deletion src/components/ImgAsset.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ const images = import.meta.glob('../assets/img/*.*');
src={images[`../assets/img/${file}`]() as any}
alt={alt || ''}
class={className}
height={undefined}
style={{ height: 'auto' }}
/>
2 changes: 2 additions & 0 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import DefaultLayout from '../layouts/DefaultLayout.astro';
import ImgAsset from '../components/ImgAsset.astro';
import '../styles/pages/index.scss';
import '../app/components/slider/slider.scss';
import '../app/components/header/header.scss';
---

<DefaultLayout id="home" title="Home">
Expand Down

0 comments on commit bc6f174

Please sign in to comment.