Skip to content

Commit

Permalink
feat: update logo
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdibha committed Jan 20, 2024
1 parent 4e9b52d commit ee8f734
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 3 deletions.
Binary file added public/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/favicon.ico
Binary file not shown.
Binary file added public/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions public/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-384x384.png",
"sizes": "384x384",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
10 changes: 9 additions & 1 deletion src/components/header/header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"use client";

import React from "react";
import Image from "next/image";
import Link from "next/link";
import { usePathname } from "next/navigation";
import { Button } from "@/components/ui/button";
Expand All @@ -20,7 +21,14 @@ export const Header = () => {
href="/"
className="flex w-[200px] items-center space-x-2 duration-150 hover:opacity-80"
>
<span className="inline-block font-bold">{siteConfig.global.name}</span>
<Image
src={siteConfig.global.logo}
alt={siteConfig.global.name}
width={200}
height={200}
className="object-contain h-6"
/>
{/* <span className="inline-block font-bold">{siteConfig.global.name}</span> */}
</Link>
<Nav items={siteConfig.header.nav.links} />
<div className="flex w-[200px] justify-end">
Expand Down
4 changes: 2 additions & 2 deletions src/config/site-config.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export const siteConfig = {
global: {
url: "https://vapi.tn",
name: "vapi.tn",
name: "VAPI",
logo: "/images/logo.png",
title: "vapi.tn",
title: "Vapi",
description: "Première marketplace de vente de cigarettes électroniques en Tunisie.",
keywords: [],
authors: [
Expand Down

0 comments on commit ee8f734

Please sign in to comment.