Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 0 additions & 33 deletions .eslintrc

This file was deleted.

6 changes: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": ["next", "next/core-web-vitals", "prettier"],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
8 changes: 6 additions & 2 deletions components/Admin/Navbar/index.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
import { useEffect, useState } from 'react';
import LinkTo from '../../utils/LinkTo';
import { Avatar, Col, Menu, Row, Space, Typography } from 'antd';
import { LinkOutlined, FormOutlined, UserOutlined } from '@ant-design/icons';
import { LinkOutlined, FormOutlined, TagsOutlined, UserOutlined } from '@ant-design/icons';

import API from '../../../utils/api';

import styles from './style.module.css';

export const navbar = {
links: {
icon: <LinkOutlined />,
icon: <TagsOutlined />,
title: 'Links'
},
forms: {
icon: <FormOutlined />,
title: 'Forms'
},
urls: {
icon: <LinkOutlined />,
title: 'Redirects'
}
};

Expand Down
5 changes: 4 additions & 1 deletion components/Footer/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Image from 'next/image';
import {
IoLogoFacebook,
IoLogoInstagram,
Expand All @@ -10,6 +11,8 @@ import social from '../../data/social.yml';

import styles from './style.module.css';

import logo from '../../public/cesium.svg';

const logos = {
facebook: IoLogoFacebook,
instagram: IoLogoInstagram,
Expand Down Expand Up @@ -37,7 +40,7 @@ const Footer = () => (
<div className={styles.copyright}>
<a href="https://cesium.di.uminho.pt" target="_blank" rel="noopener noreferrer">
hacked with <IoHeart className={styles.heart} size="1.2em" /> by
<img src="/cesium.svg" alt="CeSIUM's Logo" className={styles.logo} />
<Image width={84} height={24} src={logo} alt="CeSIUM's Logo" />
</a>
</div>
</footer>
Expand Down
4 changes: 0 additions & 4 deletions components/Footer/style.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,3 @@
margin: 0 0.2em;
color: orange;
}

.logo {
height: 1.5em;
}
4 changes: 3 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const withYaml = require('next-plugin-yaml');

module.exports = withYaml();
module.exports = withYaml({
reactStrictMode: true
});
Loading