Skip to content

Commit

Permalink
Upgrade new theme style
Browse files Browse the repository at this point in the history
  • Loading branch information
briangtn committed Feb 22, 2024
1 parent 7a24128 commit 44fa03e
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
}
],
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.organizeImports": true
"source.fixAll": "explicit",
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[typescriptreact]": {
Expand Down
2 changes: 1 addition & 1 deletion data/blogs/startup-2024.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ key: startup-2024
image: devfest
date: 2024-02-03
content: |-
## C'est parti pour une nouvelle année de folie sous le thème des films !
## C'est parti pour une nouvelle année de folie, venez prendre une dose de frayeur au devfest !
<div style="text-align: center">
<!--img src="/images/logo_extraordinaire_blanc.svg" alt="logo devfest" style="width: 500px; max-width: 100%" /-->
Expand Down
6 changes: 3 additions & 3 deletions locales/en/translation.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"site": {
"description": "The Devfest (i.e Developers Festival), is a technical conference destined to developers. It's meant for students, professionals, or any curious techie",
"theme": "This year's edition will shine light on the movie industry !"
"theme": "This year's edition be scary !"
},
"pages": {
"home": {
Expand Down Expand Up @@ -40,8 +40,8 @@
"seeAll": "See all speakers"
},
"photos": {
"p1": "Some pictures of the 2022 DevFest Nantes",
"p2": "on the Jules Verne theme 🎨",
"p1": "Some pictures of the 2023 DevFest Nantes",
"p2": "on the film theme 🎨",
"button": "See all photos"
}
},
Expand Down
2 changes: 1 addition & 1 deletion locales/fr/translation.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"site": {
"description": "Le DevFest, ou 'Developers Festival', est une conférence technique destinée aux développeuses et développeurs. Elle s'adresse aussi bien aux étudiantes et étudiants, aux professionnels ou tout simplement aux curieuses et curieux technophiles.",
"theme": "Cette année le Devfest Nantes met la lumière sur les films !"
"theme": "Cette année le Devfest Nantes sera un évènement effrayant !"
},
"pages": {
"home": {
Expand Down
4 changes: 4 additions & 0 deletions src/components/commun/jumbo/jumbo.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
font-size: 3rem;
background-size: contain;
background-repeat: no-repeat;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: transparent;
position: relative;
// background: var(--primary);
Expand Down
17 changes: 16 additions & 1 deletion src/components/home/home.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
.jumbo {

.logo-jumbo-home {
.jumbo-home-blood {
width: 100%;
height: 50%;
position: absolute;
left: 0;
top: 0;
flex-grow: 1;
z-index: -1;
img {
height: auto;
width: 100%;
Expand All @@ -12,6 +16,17 @@
}
}

.logo-jumbo-home {
width: 100%;
margin-top: 10%;
img {
height: auto;
width: 75%;
margin: auto;
display: block;
}
}

h1 {
margin: 1rem 0 1rem;
}
Expand Down
5 changes: 4 additions & 1 deletion src/components/home/jumbo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ export const HomeJumbo = () => {

return (
<>
<div className="jumbo-home-blood">
<img src="/images/jumbo-blood.png" alt="" />
</div>
<div className="logo-jumbo-home">
<img
alt="logo"
src="/images/jumbo-image.jpg"
src="/images/logo-long.png"
/>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/layout/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const Footer: React.FC = () => {
<FooterItem size="full">
<div>
<img
src="/images/logo-long-orange.svg"
src="/images/logo-long.png"
alt="logo devfest"
height="50"
width="150"
Expand Down
Binary file added static/images/jumbo-blood.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 44fa03e

Please sign in to comment.