Skip to content

Commit

Permalink
feat: add header
Browse files Browse the repository at this point in the history
  • Loading branch information
bonjourmauko committed Jul 30, 2024
1 parent 2d94f65 commit ac8ab93
Show file tree
Hide file tree
Showing 17 changed files with 104 additions and 50 deletions.
2 changes: 1 addition & 1 deletion CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
redte.ch
maisonquiroga.art
2 changes: 1 addition & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig } from 'astro/config'
import tailwind from '@astrojs/tailwind'

export default defineConfig({
site: 'https://redte.ch',
site: 'https://maisonquiroga.art',
compressHTML: true,
integrations: [tailwind()]
})
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@bonjourmauko/redtech",
"name": "@redtech/maisonquiroga",
"version": "0.1.0",
"private": true,
"scripts": {
Expand Down
Binary file added public/favicon.ico
Binary file not shown.
29 changes: 29 additions & 0 deletions public/icon.svg
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/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.
4 changes: 2 additions & 2 deletions src/components/Logo.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
const { class: className, ...rest } = Astro.props
const { class: className, src, ...rest } = Astro.props
---

<div class={ className }>
<img class="w-48 h-48" { ...rest } />
<img src={ src } { ...rest } class="w-20 h-20" alt="Logo"/>
</div>
22 changes: 16 additions & 6 deletions src/layouts/Head.astro
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
---
import "../styles/global.css"
const title = "Maison Quiroga"
const description = "" +
"Roberto Quiroga Valdovinos. " +
"Artiste peintre. " +
"Œuvres et contact : @maisonquiroga (Instagram). " +
"Exposition permanente : Lautaro Rosas 588 Cerro Alegre, Valparaíso, Chili."
---

<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>Red Innovation</title>
<meta name="description" content="Public tech for a better future">
<meta name="author" content="Mauko Quiroga-Alvarado" />
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<title>{title}</title>
<meta name="description" content={description}>
<meta name="author" content="Roberto Quiroga Valdovinos" />
<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
</head>
6 changes: 2 additions & 4 deletions src/layouts/Home.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
import Head from "./Head.astro"
---

<html lang="en">
<head>
<Head />
</head>
<html lang="fr">
<Head />

<body>
<main>
Expand Down
42 changes: 27 additions & 15 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,38 @@ import Home from "../layouts/Home.astro"
/>

<Hero class="hero">
<h1>
Public tech for a better future
<h1 class="block md:hidden">
RGQV
</h1>

<h2>
Building the present of European digital public infrastructure
<h1 class="hidden md:block lg:hidden">
Roberto Quiroga
</h1>

<h1 class="hidden lg:block 3xl:hidden">
Roberto Quiroga Valdovinos
</h1>

<h1 class="hidden 3xl:block">
Roberto Gerardo Quiroga Valdovinos
</h1>

<h2 class="block sm:hidden">
peintre.
</h2>

<p>
<b>
We enable governments & companies to generate AI solutions by
ensuring compliance with EU rules & guidelines.
</b>
<h2 class="hidden sm:block md:hidden">
artiste peintre.
</h2>

Providing an edge in the global AI market by positioning compliance
as part of your value proposition.
<h2 class="hidden md:block lg:hidden">
artiste peintre. <span>valparaíso.</span>
</h2>

<h2 class="hidden lg:block">
artiste peintre. <span>valparaíso, chili.</span>
</h2>

Consolidating the EU’s humanist approach to AI by enabling
compliance by principle and design - rather than an expensive
afterthought.
</p>
<p></p>
</Hero>
</Home>
2 changes: 1 addition & 1 deletion src/styles/_base.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
html {
@apply bg-neutral !important;
@apply bg-white !important;
@apply text-primary !important;
}

Expand Down
10 changes: 5 additions & 5 deletions src/styles/_font.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,33 @@
font-family: 'AkzidenzGrotesk';
font-style: normal;
font-weight: 300;
src: url('/public/fonts/AkzidenzGrotesk-300.otf') format('opentype');
src: url('/fonts/AkzidenzGrotesk-300.otf') format('opentype');
}

@font-face {
font-family: 'AkzidenzGrotesk';
font-style: normal;
font-weight: 400;
src: url('/public/fonts/AkzidenzGrotesk-400.otf') format('opentype');
src: url('/fonts/AkzidenzGrotesk-400.otf') format('opentype');
}

@font-face {
font-family: 'AkzidenzGrotesk';
font-style: normal;
font-weight: 500;
src: url('/public/fonts/AkzidenzGrotesk-500.otf') format('opentype');
src: url('/fonts/AkzidenzGrotesk-500.otf') format('opentype');
}

@font-face {
font-family: 'AkzidenzGrotesk';
font-style: normal;
font-weight: 700;
src: url('/public/fonts/AkzidenzGrotesk-700.otf') format('opentype');
src: url('/fonts/AkzidenzGrotesk-700.otf') format('opentype');
}

@font-face {
font-family: 'AkzidenzGrotesk';
font-style: normal;
font-weight: 900;
src: url('/public/fonts/AkzidenzGrotesk-900.otf') format('opentype');
src: url('/fonts/AkzidenzGrotesk-900.otf') format('opentype');
}
2 changes: 1 addition & 1 deletion src/styles/_hero.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.hero {
@apply bg-white;
@apply pt-32 pr-16 pb-16 pl-16;
@apply p-8;
}
4 changes: 2 additions & 2 deletions src/styles/_logo.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.logo {
@apply -mb-24;
@apply pt-16 pr-16 pl-16;
@apply -mb-28;
@apply pt-8 pr-8 pl-8;
}
12 changes: 9 additions & 3 deletions src/styles/_text.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
h1 {
@apply mb-4 !important;
@apply ml-16 !important;
@apply pl-8 !important;
@apply text-5xl !important;
@apply font-black !important;
}

h2 {
@apply mb-2 !important;
@apply text-2xl !important;
@apply ml-16 !important;
@apply pl-8 !important;
@apply text-4xl !important;
@apply font-bold !important;
@apply text-secondary !important;
}

h2 span {
@apply text-gray-300 !important;
}

p {
@apply text-lg !important;
@apply font-normal !important;
Expand Down
5 changes: 2 additions & 3 deletions tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ module.exports = {
theme: {
extend: {
colors: {
white: '#e2e7e9',
neutral: '#dee3e5',
white: '#ffffff',
primary: '#000000',
secondary: '#e52043'
secondary: '#db0019'
},
fontFamily: {
sans: ['AkzidenzGrotesk', ...defaultTheme.fontFamily.sans]
Expand Down

0 comments on commit ac8ab93

Please sign in to comment.